3
1
Whenever I connect to a corporate VPN it always sets a proxy server. It is necessary for corporate WiFi but this proxy is inaccessible from internet.
This means that whenever I connect from home WiFi I cannot open any page except internal network.
The solution is to click on Start, Control Panel, Network and Internet, Internet options, Connection, Local network setting and switch off proxy checkbox there. This procedure is annoying.
I would like to have some bat script that turns it off. Could you help me?
Possible duplicate of How do I change the Windows7 LAN proxy config from the command line?
– pun – 2015-10-16T15:41:23.620It really looks like duplicate. Unfortunatelly running netsh winhttp show proxy returns same result regardless of the proxy checkbox state. Weird. – Leos Literak – 2015-10-16T15:58:50.703
This is a better duplicate, but requires the combination of two of the answers: How can I change the system proxy from the command line?. I've done this below in my answer.
– DavidPostill – 2015-10-16T16:34:11.093