diff --git a/mods/[all]/disable superfetch and prefetch/modscript.py b/mods/[all]/disable superfetch and prefetch/modscript.py new file mode 100644 index 0000000..246bf78 --- /dev/null +++ b/mods/[all]/disable superfetch and prefetch/modscript.py @@ -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"]) \ No newline at end of file