Created
May 14, 2019 10:35
-
-
Save psyke83/d5954276a405e5274b362ceb0a1cd692 to your computer and use it in GitHub Desktop.
2200g switchable graphics fix
This file contains hidden or 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 | |
SETLOCAL | |
SET Integrated_GPU="PCI\VEN_1002&DEV_15DD&SUBSYS_15DD1002&REV_C8" | |
SET Dedicated_GPU_PCIERoot="@PCI\VEN_1022&DEV_15D3&SUBSYS_14531022&REV_00\3&11583659&0&09" | |
pushd "%~dp0" | |
devcon disable %Dedicated_GPU_PCIERoot% | |
devcon disable %Integrated_GPU% | |
devcon enable %Integrated_GPU% | |
devcon enable %Dedicated_GPU_PCIERoot% | |
popd | |
ENDLOCAL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment