0

I am wanting to see and edit the proxy settings that are found in the internet options of windows. I have tried:

netsh winhttp show proxy

but that returns nothing when there is a proxy in the internet options in the control panel.

If I use

reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | findstr ProxyServer AutoConfigURL

Then it will spit out the current proxy and port in the internet options which is what I need. Is there a way to return and/or add exceptions to the proxy? In the internet options when clicking "Advanced" you can enter exceptions separated by semicolons (;). Is there a way to do this through the command line? Thank you for any help!

1 Answers1

0

On my computer, proxy exceptions are stored in a value named "ProxyOverride" in the same directory.

You can get it with this command :

reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /V ProxyOverride

You can use the RED ADD command to add this value.

It's a REG_SZ value. The syntax of the value is :

exception1;exception2;exception3

If you can't find this value, try to add it from the GUI and find where it is by searching the exception added in the regedit.

S. Brottes
  • 1,289