2021-03-20 23:28:25 +00:00
|
|
|
for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"):
|
|
|
|
if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"):
|
2023-03-05 16:46:31 +00:00
|
|
|
opusnt.runReg(["add",key+ "\\Control\\Power","/v","HibernateEnabled","/t","REG_DWORD","/d","0","/f"])
|
|
|
|
opusnt.runReg(["add",key+ "\\Control\\Power","/v","HiberFileSizePercent","/t","REG_DWORD","/d","0","/f"])
|