Expand "disable file open warnings"

This commit is contained in:
Fierelier 2022-06-24 20:18:10 +02:00
parent 9a311215bd
commit fae0863f7e
1 changed files with 7 additions and 1 deletions

View File

@ -1 +1,7 @@
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Attachments","/v","SaveZoneInformation","/t","REG_DWORD","/d","1","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Policies\\Microsoft\\Internet Explorer\\Security","/v","DisableSecuritySettingsCheck","/t","REG_DWORD","/d","0x00000001","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Attachments","/v","SaveZoneInformation","/t","REG_DWORD","/d","0x00000001","/f"])
opusnt.runReg(["add",opusnt.regTmpPath + "software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings","/v","1806","/t","REG_DWORD","/d","0x00000000","/f"])
for reg in regs:
if not reg.startswith("user-"): continue
user = opusnt.regTmpPath + reg
opusnt.runReg(["add",user + "\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings","/v","1806","/t","REG_DWORD","/d","0x00000000","/f"])