Monday, December 31, 2012

Proxy configuration from CMD line

How to set the proxy for the server from the CMD line.

Windows 2003

  1. Open a CMD prompt
  2. Type: proxycfg -p proxy.fqdn.com:8080, *.microsoft.com
    • Everything after the comma is for anything you want in the bypass proxy list.
  3. Hit ENTER
Windows 2008
  1. Open a CMD prompt, type:
    • NetSH
    • WinHTTP
    • Set Proxy proxy-server="PROXY.COM:8080" bypass-list="SERVER.COM"
    • Show Proxy

No comments:

Post a Comment