Windows Proxy Settings: How to Set Up a Proxy in Windows 11 and 10

Windows proxy settings are in Settings > Network & internet > Proxy. What you set there is used by browsers like Chrome and Edge and by many other apps — but not by everything. Command-line tools, many developer tools and some background services ignore it. This guide covers the standard setup, how to deal with a proxy that needs a username and password, and how to reach the apps the setting misses.

New to proxies? See what a proxy server is first.

What you need before you start

  • Proxy address — a host name or IP address, for example proxy.example.com.
  • Port — a number, for example 8080.
  • Login method — either a username and password, or an IP allow-list where you register your own public address with the provider. For the allow-list, you need your public address, not the one ipconfig shows — see public vs private IP address.
  • Protocol — the Windows proxy box expects an HTTP proxy. If you only have SOCKS5 details, set the proxy inside the individual app instead (see HTTP vs SOCKS5).

Manual setup in Windows 11 and 10

Windows 11

  1. Open Settings (press Win + I).
  2. Go to Network & internet > Proxy.
  3. Under Manual proxy setup, click Set up next to “Use a proxy server”.
  4. Turn on Use a proxy server.
  5. Enter the Proxy IP address and Port.
  6. Tick Don’t use the proxy server for local (intranet) addresses if you use printers or company systems on your local network.
  7. Click Save.

Windows 10

  1. Open Settings > Network & Internet > Proxy.
  2. Scroll to Manual proxy setup and turn on Use a proxy server.
  3. Enter the Address and Port.
  4. Click Save.

The change applies straight away to apps that follow the system setting. Browsers that were already open may need a restart.

Using a setup script instead

Some companies and providers give you a setup script address (a PAC file — a small file that tells Windows which sites go through the proxy and which do not). In that case:

  1. Go to Settings > Network & internet > Proxy.
  2. Next to Use setup script, click Set up.
  3. Turn it on, paste the script address, and click Save.

Leave Automatically detect settings on only if your network administrator uses it. At home it usually does nothing; on some networks it can quietly pick up a proxy you did not expect.

Excluding addresses from the proxy

In the manual setup window there is a box for addresses that should not use the proxy. Separate entries with semicolons, and use * as a wildcard:

*.local;192.168.*;intranet.example.com

Typical entries are your local network, your company’s internal sites, and anything that must use your own connection — for example a service that only accepts your office address.

Username and password

The Windows proxy window has no fields for a username and password. What happens next depends on the app:

  • Browsers (Chrome, Edge) usually pop up a sign-in box the first time they use the proxy. Enter your proxy username and password there.
  • Many other apps simply fail, often with a 407 Proxy Authentication Required error, because they cannot ask you for the password.

Two ways around this:

  1. IP allow-list. If your provider supports it, register your public address and the proxy will not ask for a password at all. This is the smoothest option for system-wide use — but it only works while your public address stays the same.
  2. Set the proxy inside the app where the app supports a username and password, rather than relying on the system setting.

Which apps follow the Windows setting

App or tool Uses the Windows proxy setting?
Chrome, Edge Yes
Firefox Only if set to “Use system proxy settings” (its own setting)
Many desktop apps Often, but not always — check the app’s own network settings
curl, Python, Node.js, Git No — they read environment variables or their own config
Windows services and some system components No — they use a separate setting (WinHTTP)

That is why “the proxy works in Chrome but my script still uses my own address” is so common. It is not a fault; the script never looked at the Windows setting.

Command-line tools and PowerShell

For the current PowerShell window only

$env:HTTP_PROXY  = "http://user:pass@proxy-host:port"
$env:HTTPS_PROXY = "http://user:pass@proxy-host:port"

Tools started from that window — curl.exe, Python, Git and others — will now use the proxy. Close the window and it is gone.

Permanently for your user account

setx HTTPS_PROXY "http://user:pass@proxy-host:port"

This takes effect in newly opened windows. Be careful: it stores the password in plain text in your user environment. To remove it later, open Settings, search for environment variables, and delete the entry.

For Windows services (WinHTTP)

Some system components use a separate proxy setting. To see it, and to copy your Settings proxy into it, run these in an administrator terminal:

netsh winhttp show proxy
netsh winhttp import proxy source=ie

To clear it again: netsh winhttp reset proxy. Only change this if you know a service needs it.

Checking that it works

  1. In your browser, open https://api.ipify.org. You should see the proxy’s address, not your own.
  2. In PowerShell, after setting the variables above, run:
    curl.exe https://api.ipify.org

    It should show the same proxy address.

  3. Open a page you actually care about and check the currency and language match the location you chose.

For a fuller check, see how to test proxy quality.

Turning the proxy off

Go back to Settings > Network & internet > Proxy, click Edit (or Set up) under Manual proxy setup, and turn off Use a proxy server. If you also set environment variables or WinHTTP, remove those too, or some tools will keep using the proxy.

Troubleshooting

  • “No internet” or “Can’t connect to the proxy server” in the browser — check the address and port for typos, and that you entered an HTTP proxy, not a SOCKS5 one.
  • 407 Proxy Authentication Required — wrong username or password, or your current public address is not on the allow-list.
  • Browser uses the proxy, script does not — set the environment variables shown above.
  • Proxy keeps coming back after you turn it off — check “Automatically detect settings”, any setup script, and whether a VPN app or company policy is setting it.
  • Local printers or company sites stop working — add them to the exceptions box and tick the local-addresses option.
  • Right address, wrong content — match your browser language and Windows time zone to the proxy location.

Using YiluProxy on Windows

All five YiluProxy lines provide the host, port and login details used above, over HTTP or SOCKS5: rotating residential, static residential, rotating datacenter, static datacenter and mobile. There is also a Windows client for managing your proxies. For browser-only setups, see how to set up a proxy in Chrome. On a Mac instead? See Mac proxy settings.

A proxy changes where requests come from; it does not change any website’s rules. Use it on publicly visible pages and your own accounts and assets.

FAQ

Q1. Where are the proxy settings in Windows 11?

A. Settings > Network & internet > Proxy. Use “Manual proxy setup” for an address and port, or “Use setup script” for a script address.

Q2. Can I enter a proxy username and password in Windows settings?

A. No. Browsers will usually ask for them when needed. For other apps, use an IP allow-list or set the proxy inside the app.

Q3. Does the Windows proxy apply to every app?

A. No. Browsers and many apps follow it, but command-line tools, many developer tools and Windows services do not. Use environment variables or the app’s own settings for those.

Q4. Can I set a SOCKS5 proxy in Windows settings?

A. The Windows proxy box is meant for HTTP proxies. For SOCKS5, set the proxy in the app itself, for example with a Chrome command-line flag or in your script.


Test first, then buy

Set up a trial proxy on Windows with the steps above and check it against your own target pages.

Start a free trial

(Menu names are based on current Windows 11 and Windows 10 versions and may differ slightly after updates. Written October 2026.)

Scroll to Top