How to Set Up a Proxy on Windows 10 and 11 (Step-by-Step)

How to Set Up a Proxy on Windows 10 and 11 (Step-by-Step)

Configuring a proxy server on Windows is one of the most common tasks for professionals who need to route their internet traffic through a dedicated IP address. Whether you are managing multiple accounts, conducting market research, or accessing geo-restricted content, knowing how to properly set up a proxy on Windows 10 and Windows 11 is essential.

This guide walks you through every method available on Windows, from the built-in Settings app to PowerShell commands and environment variables. By the end, you will be able to configure HTTP, HTTPS, and SOCKS5 proxies with confidence.

Why You Need a Proxy on Windows

A proxy server acts as an intermediary between your computer and the internet. Instead of connecting directly to a website, your traffic passes through the proxy server first, which masks your real IP address.

Common reasons to use a proxy on Windows include:

  • Web scraping and data collection for business intelligence. For more on this use case, see our guide to web scraping with proxies.
  • Managing multiple social media or e-commerce accounts without triggering bans
  • Accessing geo-restricted content by routing traffic through a specific country
  • Testing websites from different geographic locations
  • Improving privacy by hiding your real IP address

If you are new to the concept, our article on what a mobile proxy is provides a solid foundation.

Method 1: Configure a Proxy Using Windows Settings

This is the simplest method and works on both Windows 10 and Windows 11. It configures a system-wide proxy that most applications will respect.

Step 1: Open Proxy Settings

On Windows 11:

  1. Press Win + I to open Settings.
  2. Click Network & Internet in the left sidebar.
  3. Scroll down and click Proxy.

On Windows 10:

  1. Press Win + I to open Settings.
  2. Click Network & Internet.
  3. Click Proxy in the left sidebar.

Step 2: Configure Manual Proxy Setup

  1. Scroll down to the Manual proxy setup section.
  2. Click Set up (Windows 11) or toggle Use a proxy server to On (Windows 10).
  3. Enter the following details:
  • Proxy IP address: Enter the IP address provided by your proxy provider (e.g., proxy.example.com)
  • Port: Enter the port number (e.g., 8080)
  1. Optionally, add addresses you want to bypass the proxy for in the No proxy for field. Use semicolons to separate entries (e.g., localhost;127.0.0.1;*.local).
  2. Check Don’t use the proxy server for local (intranet) addresses if you want to keep local network traffic direct.
  3. Click Save.

Step 3: Verify the Configuration

Open your browser and navigate to a site like whatismyipaddress.com. The IP address displayed should match your proxy server’s IP, not your real one.

Method 2: Configure a Proxy Using Internet Options (Legacy Method)

This method uses the Internet Options control panel, which is still available in both Windows 10 and 11.

Step 1: Open Internet Options

  1. Press Win + R to open the Run dialog.
  2. Type inetcpl.cpl and press Enter.

Step 2: Configure LAN Settings

  1. Click the Connections tab.
  2. Click the LAN settings button at the bottom.
  3. Under Proxy server, check Use a proxy server for your LAN.
  4. Enter the Address and Port of your proxy server.
  5. Click Advanced to configure different proxies for HTTP, HTTPS (Secure), FTP, and SOCKS protocols separately.

Step 3: Configure Protocol-Specific Proxies

In the Advanced dialog, you can specify different proxy servers for each protocol:

ProtocolAddressPort
HTTPproxy.example.com8080
Secure (HTTPS)proxy.example.com8443
FTPproxy.example.com2121
SOCKSproxy.example.com1080

This level of control is particularly useful when you need to route different types of traffic through different proxies.

  1. Click OK on all dialogs to save.

Method 3: Configure a Proxy Using PowerShell

For system administrators and power users, PowerShell provides a scriptable way to configure proxy settings.

Set System Proxy via Registry

# Enable proxy
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -Value 1

# Set proxy address and port
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyServer -Value 'proxy.example.com:8080'

# Set proxy bypass list
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyOverride -Value 'localhost;127.0.0.1;*.local'

Verify Current Proxy Settings

Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | Select-Object ProxyServer, ProxyEnable, ProxyOverride

Disable the Proxy

Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -Value 0

Method 4: Set Environment Variables for Command-Line Tools

Many command-line tools (such as curl, wget, and package managers) use environment variables to determine proxy settings.

Temporary (Current Session Only)

$env:HTTP_PROXY = "http://username:password@proxy.example.com:8080"
$env:HTTPS_PROXY = "http://username:password@proxy.example.com:8080"
$env:NO_PROXY = "localhost,127.0.0.1,.local"

Permanent (Persists Across Sessions)

[System.Environment]::SetEnvironmentVariable("HTTP_PROXY", "http://username:password@proxy.example.com:8080", "User")
[System.Environment]::SetEnvironmentVariable("HTTPS_PROXY", "http://username:password@proxy.example.com:8080", "User")

Method 5: Using a PAC (Proxy Auto-Configuration) File

PAC files allow you to define rules for when and how to use proxies. This is useful in enterprise environments or when you need conditional proxy routing.

Step 1: Create a PAC File

Create a file called proxy.pac with the following content:

function FindProxyForURL(url, host) {
    // Direct connection for local addresses
    if (isPlainHostName(host) || host === "localhost" || host === "127.0.0.1") {
        return "DIRECT";
    }
    // Use proxy for everything else
    return "PROXY proxy.example.com:8080";
}

Step 2: Configure Windows to Use the PAC File

  1. Open Settings > Network & Internet > Proxy.
  2. Under Automatic proxy setup, toggle Use setup script to On.
  3. Enter the URL to your PAC file (e.g., http://yourserver.com/proxy.pac or file:///C:/proxy.pac).
  4. Click Save.

How to Configure Proxy Authentication on Windows

If your proxy requires a username and password, the approach depends on the method you are using:

For browser-based proxies: Most browsers will prompt you to enter credentials when they first connect to the authenticated proxy.

For system-level or CLI proxies: Include credentials in the proxy URL format:

http://username:password@proxy.example.com:8080

For enterprise environments: Use Windows Integrated Authentication (Kerberos/NTLM) if your proxy supports it.

Troubleshooting Common Windows Proxy Issues

Proxy Not Working After Configuration

  1. Clear browser cache — Old DNS entries or cached pages can make it seem like the proxy is not working.
  2. Restart your browser — Some browsers require a restart to pick up new system proxy settings.
  3. Check firewall rules — Windows Defender Firewall may block outgoing connections to the proxy port.

Applications Ignoring the System Proxy

Not all applications respect Windows system proxy settings. Applications like Python scripts, Node.js, and Java programs often require their own proxy configuration. Check the application’s documentation for proxy settings.

Slow Connection Through Proxy

If your connection is noticeably slower through a proxy, consider upgrading to a high-quality mobile proxy that offers better performance and reliability compared to free or shared proxies.

Authentication Failures

Double-check your username and password. Special characters in passwords may need to be URL-encoded. For example, p@ssword becomes p%40ssword in a URL.

Best Practices for Windows Proxy Configuration

  1. Use HTTPS proxies whenever possible to encrypt traffic between your computer and the proxy server.
  2. Avoid free proxies — They are often slow, unreliable, and may log your data.
  3. Regularly rotate your proxy IP if you are performing tasks that require anonymity.
  4. Configure bypass rules for local network resources to avoid routing internal traffic through the proxy.
  5. Test your configuration after setup by checking your visible IP address.

For technical terms referenced in this guide, our proxy glossary provides clear definitions.

Conclusion

Setting up a proxy on Windows 10 or Windows 11 is straightforward once you know which method suits your needs. The built-in Settings app works for most users, while PowerShell and environment variables give advanced users the flexibility to automate proxy configuration across multiple machines. Whichever method you choose, verify your setup by checking your public IP address through the proxy to confirm it is working correctly.


Related Reading

Scroll to Top