A
A
Alexander-K2014-10-08 20:46:48
Computer networks
Alexander-K, 2014-10-08 20:46:48

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

2 answer(s)
E
Elena, 2014-10-08
@Alexander-K

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

O
OvLab, 2014-10-08
@OvLab

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 question

Ask a Question

731 491 924 answers to any question