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

3 lines
348 B
Python

opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update","/v","AUOptions","/t","REG_DWORD","/d","1","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update","/v","IncludeRecommendedUpdates","/t","REG_DWORD","/d","0","/f"])