Add mod: disable third party apps

This commit is contained in:
Fierelier 2023-03-05 17:06:28 +01:00
parent ab5f5ce037
commit a53f99dcae
3 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1 @@
Disables a bunch of interfaces relating to extra apps being downloaded at random.

View File

@ -0,0 +1,8 @@
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Windows\\CloudContent","/v","DisableWindowsConsumerFeatures","/t","REG_DWORD","/d","1","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\PolicyManager\\current\\device\\Start","/t","REG_SZ","/d",'{\\"pinnedList\\": [{}]}',"/f"])
for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
opusnt.runReg(["add",user + "\\Software\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager","/v","OemPreInstalledAppsEnabled","/t","REG_DWORD","/d","0","/f"])
opusnt.runReg(["add",user + "\\Software\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager","/v","PreInstalledAppsEnabled","/t","REG_DWORD","/d","0","/f"])
opusnt.runReg(["add",user + "\\Software\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager","/v","SilentInstalledAppsEnabled","/t","REG_DWORD","/d","0","/f"])

View File

@ -0,0 +1 @@
performance