Bart's Weblog

Just a blog…

Proxycfg on Vista/2008 and later

Posted by bartvdw on 1313/0303/2011

Those who use the proxycfg utility will find out that as from Vista/2008 it no longer exists. It has been incorporated in the netsh utility instead. Below a short overview:

  • proxycfg -u = netsh winhttp import proxy ie
  • proxycfg -d = netsh winhttp reset proxy
  • proxycfg -p = netsh winhttp set proxy proxy-server="PROXY.COM:8080" bypass-list="SERVER.COM"

To show current proxy: netsh winhttp show proxy

Brief list op commands:

  • dump           – Displays a configuration script.
  • import         – Imports WinHTTP proxy settings. (equiv of proxycfg -u)
  • reset          – Resets WinHTTP settings. (equiv of proxycfg -d)
  • set            – Configures WinHTTP settings.
  • show           – Displays currents settings.

 

Netsh.exe and ProxyCfg.exe Proxy Configuration Tools
http://msdn.microsoft.com/en-us/library/aa384069%28VS.85%29.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: