Windows Thread, Proxy Server Advice in Technical; Hello all,
I administer a few 2003 Server networks using XP clients. All sites use a proxy server. I have ...
-
21st September 2007, 01:20 PM #1 Proxy Server Advice
Hello all,
I administer a few 2003 Server networks using XP clients. All sites use a proxy server. I have configured proxy settings in group policy which work just fine, however here's a problem I am unable to resolve:
User brings laptop into school, logs onto the network (so proxy settings are dynamically pulled down when they logon). This works ok, they can surf the web.
User turns laptop off and goes home. Turns laptop on, logs on locally. Home wireless network (for example) working ok but cannot connect to the web - reason, because IE has "remembered" proxy settings from being connected to the domain.
I can tell users to go to Internet Options etc etc... to turn proxy settings off, but is there an automated way? I'm thinking along the lines of in Group Policy I can configure XP SP2's Firewall when a computer is connected to the domain or is away from the domain (and this is what I need for proxy settings). I'm open to all suggestions, many thanks!
-
-
IDG Tech News
-
21st September 2007, 01:31 PM #2 Re: Proxy Server Advice
How about a Logoff script to change ProxyEnable to 0 in the registry, defined in Group Policy?
So when they logoff on the network, it removes the proxy settings which were set when they log on.
-
-
21st September 2007, 01:59 PM #3 Re: Proxy Server Advice
or setup a home and a domain profile
-
-
21st September 2007, 02:10 PM #4 Re: Proxy Server Advice
AutoIT script - ( will need compile it and possible add a RunAsSet if the user does not have admin writes... sorry Rights. )
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Win dows\CurrentVersion\Internet Settings", "Proxyenable", "REG_DWORD", "0")
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Win dows\CurrentVersion\Internet Settings", "ProxyOverride", "REG_SZ", "intranet")
Run('C:\Program Files\Internet Explorer\iexplore.exe')
-
-
21st September 2007, 02:25 PM #5 Re: Proxy Server Advice
How about using a proxy automatic configuation script? When in school the browser will pick up the proxy setting, and when away from school the script will not be accessible, so the browser will use a direct connection.
Iain
-
-
21st September 2007, 02:28 PM #6 Re: Proxy Server Advice
Easy fix for this is to setup a Proxy PAC file on your DHCP server
This way you can setup up your Group policy to setup IE to use 'Automatically detect settings'
This is how i do it on our network.
here is a link to some usefull info
http://www.freeproxy.ru/en/free_proxy/faq/wpad.htm
Hope that heps
-
-
21st September 2007, 02:34 PM #7
- Rep Power
- 12
Re: Proxy Server Advice
Or use Firefox with the SwitchProxy Addon https://addons.mozilla.org/en-US/firefox/addon/125
I use this in 7 sites and its just a case of right-clicking in the bottom right of the screen and selecting the proxy. Its very easy to just set a "Home" and "School" one.
Craig
-
-
22nd September 2007, 03:04 PM #8 Re: Proxy Server Advice
Thanks for all the superb suggestions, much appreciated. In the end from your solutions I developed this automated solution -
Searching for "ProxyEnable" (thanks mrcrazy04) there are two overall. You need the one under HKEY_LOCAL_MACHINE. Export that and place it in the Netlogon share, then create a new script so it runs the reg file silently. Place the script in Windows Settings > Logoff scripts in AD and it's job done!
Proxy settings are now successfully turned off when any user logs off, but are re-applied if logging on to the domain by group policy. The only other policy tweak I had to make was to turn off "Disable changing proxy settings" otherwise the script doesn't work successfully. This should save me a lot of bother of users unable to connect to their broadband at home.
Thanks again
-
SHARE:
Similar Threads
-
By chrbb in forum How do you do....it?
Replies: 2
Last Post: 7th March 2007, 11:57 PM
-
By lols in forum Hardware
Replies: 14
Last Post: 20th June 2006, 06:49 PM
-
By fooby in forum Web Development
Replies: 6
Last Post: 13th February 2006, 04:30 PM
-
Replies: 11
Last Post: 10th February 2006, 02:40 PM
-
By ptrainor1 in forum Windows
Replies: 12
Last Post: 10th February 2006, 09:15 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules