Add mod: disable superfetch and prefetch
This commit is contained in:
parent
a6f27b775c
commit
d47db65950
5
mods/[all]/disable superfetch and prefetch/modscript.py
Normal file
5
mods/[all]/disable superfetch and prefetch/modscript.py
Normal 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"])
|
Loading…
Reference in New Issue
Block a user