opus-nt/mods/[nu-only]/defer feature updates by 365 days/modscript.py

4 lines
490 B
Python
Raw Normal View History

# 1607 and up
# see: https://docs.microsoft.com/en-us/windows/deployment/update/waas-configure-wufb#configure-when-devices-receive-feature-updates
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows\\WindowsUpdate","/v","DeferFeatureUpdates","/t","REG_DWORD","/d","0x00000001","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows\\WindowsUpdate","/v","DeferFeatureUpdatesPeriodInDays","/t","REG_DWORD","/d","0x0000016D","/f"])