opus-nt/mods/[hell]/disable bing in search/modscript.py
2021-12-26 19:54:10 +01:00

7 lines
553 B
Python

for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
opusnt.runReg(["add",user + "\\SOFTWARE\\Policies\\Microsoft\\Windows\\Explorer","/v","DisableSearchBoxSuggestions","/t","REG_DWORD","/d","0x00000001","/f"])
opusnt.runReg(["add",user + "\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Search","/v","BingSearchEnabled","/t","REG_DWORD","/d","0x00000000","/f"])
opusnt.runReg(["add",user + "\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Search","/v","CortanaConsent","/t","REG_DWORD","/d","0x00000000","/f"])