-
Notifications
You must be signed in to change notification settings - Fork 0
Install Guide EN
Ayerdi edited this page Aug 7, 2026
·
10 revisions
Switch your Windows audio output when you power your Logitech PRO X 2 Lightspeed on or off.
| Requirement | Detail |
|---|---|
| Windows | 10/11 x64 |
| Logitech G HUB | Installed, open and recognizing the PRO X 2 |
| Internet | Only during install (downloads svcl.exe from NirSoft) |
| PowerShell | 5.1 or newer |
Note: no admin rights should be required.
Open PowerShell and paste:
powershell.exe -ExecutionPolicy Bypass -Command "irm https://raw.githubusercontent.com/Ayerdi/PROX2-AutoSwitch/main/install.ps1 | iex"It downloads the latest version, verifies its SHA-256 against the published checksum and runs the full installer automatically.
- Install Logitech G HUB and confirm it detects the PRO X 2.
- Download the ZIP of the latest version from GitHub Releases.
- Extract the whole ZIP to a normal folder. Don't run from inside the ZIP.
- If Windows blocked the downloaded scripts:
Get-ChildItem . -Filter *.ps1 | Unblock-File- Run:
powershell.exe -ExecutionPolicy Bypass -File ".\Instalar-PROX2-AutoSwitch.ps1"- Downloads SoundVolumeCommandLine from NirSoft and verifies its SHA-256 before running it.
- Connects to G HUB (
ws://localhost:9010) and locates the PRO X 2. - Asks you to select the headset and the alternative output as defaults.
- Captures the real Item IDs of your current Windows and actually tests both switches.
- Copies the runtime, creates an invisible autostart entry (
wscript.exe) and starts AutoSwitch.
- Windows audio
Item IDs are not reused across installs. Don't copyconfig.jsonfrom another machine. - The
dev000000XXfrom G HUB isn't persisted either: the runtime keeps theextendedDisplayNameand discovers thedeviceIdat startup.
%LOCALAPPDATA%\PROX2AutoSwitch\
Autostart: %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\PRO X 2 AutoSwitch.lnk
The shortcut runs
wscript.exe→ hidden PowerShell. No console stays visible at login.
Español
English