-
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.
- Windows 10/11 x64
- Logitech G HUB installed, open and recognizing the PRO X 2
- Internet connection during install (downloads
svcl.exefrom NirSoft) - PowerShell 5.1 or newer
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 and runs the full installer.
- 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 copy config.json from another machine. The dev000000XX from G HUB isn't persisted either: the runtime keeps the extendedDisplayName and discovers the deviceId at startup.
%LOCALAPPDATA%\PROX2AutoSwitch\
Autostart: %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\PRO X 2 AutoSwitch.lnk (runs wscript.exe, so no console stays visible).
Español
English