opus-nt/mods/[all-based]/disable windows update/modscript.py

3 lines
366 B
Python
Raw Normal View History

2021-03-19 02:44:27 +00:00
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update","/v","AUOptions","/t","REG_DWORD","/d","0x00000001","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update","/v","IncludeRecommendedUpdates","/t","REG_DWORD","/d","0x00000000","/f"])