If you had a GPO applying a proxy option, but you no longer use a proxy, by disabling that option in a GPO it wont remove the tick option in Internet Explorer. So run this script on user logon (with a GPO), copy and paste on a notepad and save with .vbs extension.
Place the script on your DC netlogon or a available share.
Option Explicit
dim strRegPath
dim user
dim password
dim sh
dim oWshShell
dim message
strRegPath = "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\"
Set oWshShell = CreateObject("WScript.Shell")
set sh = createobject("wscript.shell")
Call oWshShell.RegWrite(strRegPath & "ProxyEnable", "00000000", "REG_DWORD")
Set oWshShell = Nothing
Set sh = Nothing
No comments:
Post a Comment