How to Unset the proxy from Windows command prompt permanently?
12,202
To delete variables in the current cmd
instance, do this:
set http_proxy=
set https_proxy=
or (even better):
set "http_proxy="
set "https_proxy="
To delete variables for future cmd
instances, do this:
setx http_proxy ""
setx https_proxy ""
Related videos on Youtube
![Arunkumar Arjunan](https://lh3.googleusercontent.com/-rr5Zty8Go38/AAAAAAAAAAI/AAAAAAAAAAA/ACHi3rdvcm7kg3-SS-KKRaDBLO8ZNYfm7Q/mo/photo.jpg?sz=256)
Author by
Arunkumar Arjunan
Updated on September 18, 2022Comments
-
Arunkumar Arjunan almost 2 years
I have set the proxy in my Windsows 7 cmd using the below commands
C:\> setx HTTP_PROXY http://username:[email protected]:1234 C:\> set HTTPS_PROXY=http://username:[email protected]:5678
Now I'm trying to remove it by using the below commands,
set http_proxy= set https_proxy=
This works only in the current command prompt session, when I open new cmd my old proxy urls are set again, I have to use set http_proxy= again to remove it. How to remove this proxy settings permanently?
-
aschipfl about 5 years
setx HTTP_PROXY ""
? -
Arunkumar Arjunan about 5 yearsThanks this worked!.. I was trying with setx HTTP_PROXY="" which caused a syntax error.
-