opus-nt/mods/[hell]/disable automatic updates/modscript.py
2021-11-15 22:05:18 +01:00

3 lines
323 B
Python

opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU","/v","NoAutoUpdate","/t","REG_DWORD","/d","0x00000001","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU","/v","AUOptions","/t","REG_DWORD","/d","0x00000002","/f"])