opus-nt/mods/[all-nu]/disable wpbt/modscript.py

4 lines
267 B
Python
Raw Normal View History

2023-03-02 16:26:41 +00:00
for key in opusnt.regQueryKeys(opusnt.regTmpPath + "system"):
if key.lower().startswith(opusnt.regTmpPath.lower() + "system\\controlset"):
opusnt.runReg(["add",key+ "\\Control\\Session Manager","/v","DisableWpbtExecution","/t","REG_DWORD","/d","0x00000001","/f"])