add DSEreset.bat

This commit is contained in:
Josh Lay 2020-07-26 23:38:39 -04:00
parent e636412b53
commit 7bd40d21ac

12
DSEreset.bat Normal file
View file

@ -0,0 +1,12 @@
:: 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