Disable Zone Checking for All Users

email me

To disable zone checking, give it the value 1.

Solution 1
REG ADD “HKCU\Environment” /V SEE_MASK_NOZONECHECKS /T REG_SZ /D 1 /F

REG ADD “HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment” /V SEE_MASK_NOZONECHECKS /T REG_SZ /D 1 /F


Solution 2

reg add “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment” /v SEE_MASK_NOZONECHECKS /d 1

reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1” /v “Flags” /t REG_DWORD /d 219 /f


Apply a reg key: link

Save the below in notepad, named YourRegFile.reg
Double-click reg file

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Security]
“DisableSecuritySettingsCheck”=dword:00000001

 

If IE displays an error page with a yellow information bar

• Run “gpedit.msc”
• Under “Computer Configuration”
• Select “Administrative Templates”
• “Windows Components”
• “Internet Explorer”
• Change “Turn off the Security Settings Check feature” to “Enabled”

 

VBScript Snippet: link

IEZoneChecks(“ENABLE”)’Turns off zone check
Put run here
IEZoneChecks(“DISABLE”)’reenables zone check
Sub IEZoneChecks(doThis)
‘Prevents “Open File – Security Warning” dialog box from displaying on Windows XP SP2 and above
‘Reference: Microsoft KB article 889815
Dim env : Set env = wshShell.Environment(“PROCESS”)
If uCase(doThis) = “DISABLE” Then
‘Ensure variable exists before attempting to remove it
env(“SEE_MASK_NOZONECHECKS”) = 0
env.Remove(“SEE_MASK_NOZONECHECKS”)
ElseIf doThis = “ENABLE” Then
env(“SEE_MASK_NOZONECHECKS”) = 1
End If
End Sub

 

Enable Zone Checking

REG Delete “HKCU\Environment” /V SEE_MASK_NOZONECHECKS /F

REG ADD “HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment” /V SEE_MASK_NOZONECHECKS /T REG_SZ /D 0 /F

 

References

http://support.microsoft.com/kb/889815
http://www.visualbasicscript.com/SEE_MASK_NOZONECHECKS-m63039.aspx