Setting Up Proxy Using WinHTTP in Windows

January 11, 2026

Summary

WinHTTP (Windows HTTP Services) allows you to configure proxy settings for applications that use the WinHTTP API. This is useful when you need to route HTTP traffic through a proxy server. Here’s a simple guide on how to manage proxy settings using the netsh winhttp command.

1. Check Current Proxy Settings

To view your current WinHTTP proxy configuration, use:

netsh winhttp show proxy

2. Set Proxy Server

To configure a proxy server, use the following syntax:

netsh winhttp set proxy [proxy-server] [bypass-list]

For example, to set a proxy server at 10.10.2.107 and bypass it for google.com:

netsh winhttp set proxy 10.10.2.107 google.com

3. Reset Proxy Settings

This will clear all proxy settings and configure WinHTTP to connect directly to the internet.

netsh winhttp reset proxy