How Do I Change the Windows7 LAN Proxy Config from the Command Line
Posted
by
david.barkhuizen
on Server Fault
See other posts from Server Fault
or by david.barkhuizen
Published on 2010-10-08T12:48:33Z
Indexed on
2010/12/26
12:55 UTC
Read the original article
Hit count: 296
In Windows7, Is it possible to define/change the proxy config from the command line ?
So, using the gui, I would go:
Start > Control Panel > Network and Internet > Internet Options > Connections > LAN Settings
and then - enable/disable the proxy - define IP:port of proxy server
But I would like to rather do this from the command line (so that I can run the command from a batch-file with a shortcut key - enabling me to switch proxy configs using a short-cut, rather than having to wade through the MS wizard).
I've looked at using netsh.exe to change the settings for WinHTTP, but this seems to be thr wrong thing to do, as the WinHTTP setting do not appear to be related to the LAN settings.
Much appreciated folks.
© Server Fault or respective owner