Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Retrieve Intranet security zone settings for Run script code on Web pages (Zone 1)Content of Retrieve Intranet security zone settings for Run script code on Web pages (Zone 1).vbsMD5 Hash: E1C3F3B019E2F7FE62C702F2E470AB48 |
||
On Error Resume Next
HKEY_CURRENT_USER = &H80000001 strComputer = "." Set objReg = GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv") strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1" ValueName = "1400" objReg.GetDWORDValue HKEY_CURRENT_USER, strKeyPath, ValueName, dwValue If IsNull(strValue) Then Wscript.Echo "Run script code on Web pages (Zone 1): The value is either Null or could not be found in the registry." Else Wscript.Echo "Run script code on Web pages (Zone 1): ", dwValue End If | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |