How Do I Change the Windows7 LAN Proxy Config from the Command Line
- by david.barkhuizen
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.