+ Post New Thread
Results 1 to 8 of 8
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 ...
  1. #1

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346

    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!

  2. #2
    mrcrazy04's Avatar
    Join Date
    Nov 2006
    Location
    Bedfordshire/Cheltenham, UK
    Posts
    261
    Thank Post
    2
    Thanked 11 Times in 11 Posts
    Rep Power
    18

    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.

  3. #3
    StewartKnight's Avatar
    Join Date
    Jun 2005
    Posts
    1,587
    Thank Post
    2
    Thanked 27 Times in 21 Posts
    Rep Power
    31

    Re: Proxy Server Advice

    or setup a home and a domain profile

  4. #4

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,249
    Thank Post
    1,061
    Thanked 1,070 Times in 626 Posts
    Rep Power
    741

    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')

  5. #5
    Iain's Avatar
    Join Date
    Oct 2006
    Location
    Warwickshire
    Posts
    197
    Thank Post
    28
    Thanked 98 Times in 56 Posts
    Rep Power
    36

    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

  6. #6
    wickit's Avatar
    Join Date
    May 2007
    Location
    Sitting down
    Posts
    144
    Thank Post
    3
    Thanked 3 Times in 3 Posts
    Rep Power
    16

    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

  7. #7

    Join Date
    Feb 2007
    Location
    Norfolk
    Posts
    137
    Thank Post
    2
    Thanked 9 Times in 9 Posts
    Rep Power
    17

    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

  8. #8

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,345
    Thank Post
    242
    Thanked 1,602 Times in 1,278 Posts
    Rep Power
    346

    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:
+ Post New Thread

Similar Threads

  1. proxy server script
    By chrbb in forum How do you do....it?
    Replies: 2
    Last Post: 7th March 2007, 11:57 PM
  2. Server Advice - Please
    By lols in forum Hardware
    Replies: 14
    Last Post: 20th June 2006, 07:49 PM
  3. Make IIS use a proxy server
    By fooby in forum Web Development
    Replies: 6
    Last Post: 13th February 2006, 04:30 PM
  4. Sage Payroll and Proxy Server
    By pete in forum Windows
    Replies: 11
    Last Post: 10th February 2006, 02:40 PM
  5. cachepilot/proxy server
    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
  •