Answer the question
In order to leave comments, you need to log in
How to quickly enable/disable proxy in browsers, skype, etc.?
Often you have to switch between Internet networks. One network works through a proxy, the other - without a proxy.
How can you quickly disable / enable proxies in all programs at once, so that you do not have to go into the settings of Skype, Chrome, FileZilla, etc. every time?
Answer the question
In order to leave comments, you need to log in
The setting itself is stored in the ProxyEnabled setting under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings. A value of 1 enables the proxy server, and a value of 0 disables it. In such cases, it's easier to create a command line script to quickly enable/disable the proxy server.
eppon file. cmd (enable proxy):
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
iepoff. cmd (disable proxy):
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
There is a special utility from Microsoft, but if the proxy is manually configured in the program, this will not help.
C:\WINDOWS\system32>proxycfg.exe /?
Default Proxy Configuration Tool Microsoft (R) WinHTTP
(C) Microsoft Corporation. All rights reserved.
Usage:
proxycfg -? : view help
proxycfg : view current WinHTTP proxy settings
proxycfg [-d] [-p <servername> [<bypass list>]]
-d : set direct access
-p : set proxy server and optional bypass list
proxycfg -u : import settings proxy from current
manually configured Microsoft Internet Explorer settings (in HKCU)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question