opus-nt/mods/[all]/embedded - enable page file/modscript.py
2021-03-21 00:28:25 +01:00

4 lines
286 B
Python

for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"):
if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"):
opusnt.runReg(["add",key+ "\\Control\\Session Manager\\Memory Management","/v","PagingFiles","/t","REG_MULTI_SZ","/d","?:\\pagefile.sys","/f"])