Created
July 20, 2019 20:45
-
-
Save krizajb/e6274ceba77fe174b7f5a48c0d5eb970 to your computer and use it in GitHub Desktop.
Restarts HWiNFO instance end re-disables dGPU
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b) | |
start /min cmd /c taskkill /f /im HWiNFO64.exe | |
start /min /wait cmd /c D:\Documents\Qord\dell-xps\devcon.exe enable "PCI\VEN_10DE&DEV_1C8C&SUBSYS_087C1028&REV_A1" | |
start /min /wait cmd /c D:\Documents\Qord\dell-xps\devcon.exe disable "PCI\VEN_10DE&DEV_1C8C&SUBSYS_087C1028&REV_A1" | |
start /min cmd /c "C:\Program Files\HWiNFO64\HWiNFO64.exe" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment