Fix "disable file open warnings" not working, hopefully
This commit is contained in:
parent
cdb9bf3f85
commit
0f37274307
@ -1,2 +0,0 @@
|
||||
@echo off
|
||||
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\policies\Attachments" /v "SaveZoneInformation" /t REG_DWORD /d "1" /f
|
@ -1,4 +1 @@
|
||||
for reg in regs:
|
||||
if not reg.startswith("user-"): continue
|
||||
user = opusnt.regTmpPath + reg
|
||||
opusnt.runReg(["add",user + "\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Attachments","/v","SaveZoneInformation","/t","REG_DWORD","/d","1","/f"])
|
||||
opusnt.runReg(["add",opusnt.regTmpPath + "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Attachments","/v","SaveZoneInformation","/t","REG_DWORD","/d","1","/f"])
|
||||
|
Loading…
Reference in New Issue
Block a user