0

ProxyCFG for Vista / Windows 7 / Server 2008

At my place of work we have a proxy server to access the internet. This is fine until applications want to update automatically on the internet, because there is a proxy server and the OS has not been configured to use it applications believe there is no connection. To solve this we use the “proxycfg” command to import the settings from IE.

On XP this is how we do it;

  1. Click Start
  2. Click Run
  3. Type CMD and hit Enter
  4. Type
    proxycfg
  5. If it displays a message saying “no proxy server” then we need to import one, if it displays the proxy server details (ip etc) then check they are correct and if so the issue with your connection is down to something else.
  6. To import the proxy details type
    proxycfg -u
  7. now reboot and your applications should be able to update/connect.

I have used this method for ages or i’d use this method in a batch file, however when we made the move to Windows 7 I found that the command “procycfg” is depreciated. After a quick hunt on the internet I stumbled on the command “netsh – winhttp”  which does the same job. Heres how to use it.

On Vista, Server 2008 or Windows 7;

  1. Click Start
  2. Type CMD then right-click “run as administrator”
  3. Type
    netsh
  4. Type
    winhttp
  5. Type
    show proxy
  6. If it displays a message saying “no proxy server” then we need to import one, if it displays the proxy server details (ip etc) then check they are correct and if so the issue with your connection is down to something else.
  7. To import the proxy details type
    import proxy source=ie
  8. now reboot and your applications should be able to update/connect.

CygnusH33L

Leave a Reply

Your email address will not be published. Required fields are marked *