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"])