VFIO/DSEreset.bat

12 lines
499 B
Batchfile
Raw Permalink Normal View History

2020-07-27 03:38:39 +00:00
:: 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