VFIO/DSEreset.bat
2020-07-26 23:38:39 -04:00

12 lines
No EOL
499 B
Batchfile

:: disable driver signature enforcement
:: relies on https://github.com/Mattiwatti/EfiGuard
C:\Users\e\FreeSLI-dist\tools\EfiDSEFix.exe -d
:: let it soak
TIMEOUT /T 2
:: reset the devices, load the unsigned drivers
C:\Users\e\FreeSLI-dist\tools\devcon.exe disable "PCI\VEN_10DE&DEV_1E87&SUBSYS_21833842"
C:\Users\e\FreeSLI-dist\tools\devcon.exe enable "PCI\VEN_10DE&DEV_1E87&SUBSYS_21833842"
:: re-enable driver signature enforcement
TIMEOUT /T 2
C:\Users\e\FreeSLI-dist\tools\EfiDSEFix.exe -e
PAUSE