How to Set a Proxy With Netsh

Written by eric love
  • Share
  • Tweet
  • Share
  • Email

Netsh is a command-line utility released by Microsoft for Windows computers. It lets you alter the network configuration of a system your account has administrative access to, using the command line. Although the Netsh tool has been available for some time, the Windows 7 and Windows 2008 Server versions of the utility have been enhanced to support new features and commands. One such feature is the winhttp context option, which allows you to modify the system's HTTP settings, such as its proxy server.

Skill level:

Other People Are Reading


  1. 1

    Log into the Windows 7 or Windows 2008 Server computer with an administrative account.

  2. 2

    Open the Start menu by clicking the Windows logo on the taskbar and then type "Command Prompt" (all typing without the quotation marks).

  3. 3

    Press and hold "Ctrl" and "Shift" and "Enter" on the keyboard. You will be asked to confirm running the application with administrator privileges. Click "Yes."

  4. 4

    Type "netsh winhttp set proxy proxy-server=<address> bypass-list=<partial match>" and replace <address> with the Internet Protocol or hostname and port of your proxy server. A typical such address is "" Replace <partial match> with a partial matching list of domains for which the proxy server is not used. For example, if your local domain is "," you could allow all "" addresses to be accessed without using the proxy by entering "*"

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.