[gptalk] Re: Proxy Setting Sticking

  • From: Francois.J.Perreault@xxxxxxxxxxxxxxxxxx
  • To: gptalk@xxxxxxxxxxxxx
  • Date: Thu, 18 Dec 2008 13:19:32 -0500

Not sure if it's related, but we've come into a situation once where we 
moved to new proxies; even though the hostnames remained the same, the IP 
addresses did change, yet most IE users continued using the old proxies, 
despite the GPO being correctly configured, and the proxy.pac reflecting 
this also.

It turned out that IE was caching some information; we had to add this vbs 
(at user/logon) to ensure that the workstations would switch over to other 
proxies: 

--
On Error Resume Next 

Const HKEY_CURRENT_USER = &H80000001 

strComputer = "."
strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Internet 
Settings\Connections" 

Set objRegistry = GetObject("winmgmts:\\" & _
    strComputer & "\root\default:StdRegProv") 

DeleteSubkeys HKEY_CURRENT_USER, strKeypath 

Sub DeleteSubkeys(HKEY_CURRENT_USER, strKeyPath) 
    objRegistry.EnumKey HKEY_CURRENT_USER, strKeyPath, arrSubkeys 

    If IsArray(arrSubkeys) Then 
        For Each strSubkey In arrSubkeys 
            DeleteSubkeys HKEY_CURRENT_USER, strKeyPath & "\" & strSubkey 
        Next 
    End If 

    objRegistry.DeleteKey HKEY_CURRENT_USER, strKeyPath 
End Sub
--

Frank.



From:
TAZAMAL HUSSAIN <tazamal_hussain@xxxxxxxxxxx>
To:
<gptalk@xxxxxxxxxxxxx>
Date:
2008-12-18 12:43 PM
Subject:
[gptalk] Proxy Setting Sticking
Sent by:
gptalk-bounce@xxxxxxxxxxxxx



Hi Guys,
 
HAs anyone come across setting IE Proxy Settings via Group Policy and the 
setting sticking when the policy is removed or setting is blanked out?
 
TazH

Other related posts: