opus-nt/mods/[hell]/disable silent app install/modscript.py

7 lines
445 B
Python
Raw Normal View History

2021-05-19 18:57:26 +00:00
opusnt.runReg(["add",opusnt.regTmpPath+ "software\\Policies\\Microsoft\\Windows\\CloudContent","/v","DisableWindowsConsumerFeatures","/t","REG_DWORD","/d","0x00000001","/f"])
2021-05-19 12:21:45 +00:00
for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
opusnt.runReg(["add",user + "\\Software\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager","/v","SilentInstalledAppsEnabled","/t","REG_DWORD","/d","0x00000000","/f"])