Add mod: disable superfetch and prefetch

This commit is contained in:
Fierelier 2022-01-01 19:27:55 +01:00
parent a6f27b775c
commit d47db65950

View File

@ -0,0 +1,5 @@
for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"):
if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"):
opusnt.runReg(["add",key+ "\\services\\SysMain","/v","Start","/t","REG_DWORD","/d","0x00000004","/f"])
opusnt.runReg(["add",key+ "\\Control\\Session Manager\\Memory Management\\PrefetchParameters","/v","EnablePrefetcher","/t","REG_DWORD","/d","0x00000000","/f"])
opusnt.runReg(["add",key+ "\\Control\\WMI\\Autologger\\ReadyBoot","/v","Start","/t","REG_DWORD","/d","0x00000000","/f"])