opus-nt/mods/[hell]/disable bing in search/modscript.py

7 lines
553 B
Python
Raw Normal View History

2021-12-26 18:54:10 +00:00
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"])