Remove proxy settings from the windows command prompt

ant_1618 picture ant_1618 · May 22, 2015 · Viewed 85.6k times · Source

I had set proxy settings in cmd when I was in a proxy network as follows:

set http_proxy=http://username:pass@hostname:port

set https_proxy=https://username:pass@hostname:port

Now that I am on a normal network I want to unset the proxy settings in the command prompt.Is there any direct command that would let me unset the http_proxy and https_proxy environment variables directly for the command line rather that navigating through the GUI to delete them?

Answer

user5589186 picture user5589186 · Nov 21, 2015

try,

set http_proxy=
set https_proxy=