How to Change the Internet Explorer Proxy Settings From a Command Prompt

Updated July 20, 2017

Administrators can use the Netsh command to view and set the Windows proxy settings, which are normally configured in Internet Explorer's Internet Options dialogue. The Netsh command replaces the ProxyCfg command used in Windows XP and earlier versions of Windows. You can set a proxy, unset the proxy or view the current proxy settings by running this command in an elevated command prompt window. You can also add a list of addresses which Internet Explorer and other Windows applications will bypass the proxy for and access directly.

Click "Start" > "All Programs" > "Accessories," right-click "Command Prompt" and click "Run as Administrator."

Click "Yes" to the User Account Control Prompt which appears.

Type "Netsh winhttp set proxy address:port" (without quotes) into the command prompt window, replacing "address:port" with the proxy server's address and port number. For example, if you want to use the proxy server running on port 1234 at, type "Netsh winhttp set proxy"

Press "Enter."


You can add "bypass-list=""" to the end of the "set proxy" command, replacing "" with an address of list of addresses. Windows will access these websites directly without using the proxy. Disable the proxy by typing "Netsh winhttp reset proxy" (without quotes). View the current proxy settings by typing "Netsh winhttp show proxy" (without quotes).

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Chris Hoffman is a technology writer and all-around tech geek who writes for PC World, MakeUseOf, and How-To Geek. He's been using Windows since Windows 3.1 was released in 1992.