Skip to content
PC Moment
PC Repairs

WinHTTP Web Proxy Auto-Discovery Service: What It Does and Why to Keep It On

The WinHTTP Web Proxy Auto-Discovery Service finds proxy settings for Windows components such as Windows Update. Here's what it does and how to check or reset the proxy.

By PC MomentUpdated 5 min read

Illustration of Command Prompt running netsh winhttp show proxy with direct access

The WinHTTP Web Proxy Auto-Discovery Service (WinHttpAutoProxySvc) lets Windows find your network’s proxy settings automatically. Windows components that use WinHTTP, including the Windows Update client, depend on it. Microsoft’s recommendation is clear: don’t disable it. If something can’t get online, check and reset the WinHTTP proxy with netsh winhttp instead.

This guide applies to Windows 10 and Windows 11. It explains what the service does, how to check the proxy it works with, and what to do about WPAD security concerns.

What does the WinHTTP Web Proxy Auto-Discovery Service do?

WinHTTP (Windows HTTP Services) is the HTTP client stack in Windows. Microsoft’s service description says it “provides developers with a Win32 API and COM Automation component for sending HTTP requests and receiving responses”, and that it supports “auto-discovering a proxy configuration via its implementation of the Web Proxy Auto-Discovery (WPAD) protocol.”

WPAD, often called autoproxy, is the same method web browsers use to detect proxy settings. Microsoft’s WinHTTP documentation describes three steps:

  1. Windows uses DHCP and/or DNS to discover the URL of a Proxy Auto-Configuration (PAC) file on the local network.
  2. The PAC file is downloaded and optionally cached. It’s a script that returns one or more proxy servers for a given address.
  3. For each HTTP request, the PAC script’s FindProxyForURL(url, host) function decides which proxy to use, or whether to connect directly.

On a home network without a proxy, there’s usually nothing to discover, and connections go direct.

Service facts

SettingValue (per Microsoft)
Display nameWinHTTP Web Proxy Auto-Discovery Service
Service nameWinHttpAutoProxySvc
InstallationAlways installed
Startup typeManual
RecommendationDo not disable

Why you should keep it enabled

Microsoft’s guidance on Windows services explains why: “Anything that uses the network stack can have a functional dependency on this service. Many organizations rely on this to configure their internal networks’ HTTP proxy routing. Without it, internally-originating HTTP connections to the Internet will all fail.”

One example: the Windows Update client needs WinHTTP to scan for updates. When it runs as a system service, it can only find a proxy that was set with netsh or published through WPAD in DNS or DHCP. If proxy discovery breaks on a network that needs a proxy, update scans fail. If you’re chasing an update error, see our guide to Windows Update error 0x80070005 as well.

Important: Unlike some services people turn off to save resources, such as Service Host: SysMain (SuperFetch), this one isn’t a performance tweak. Disabling it can cut a PC off from the internet on networks that use automatic proxy settings.

How to check the service

Open PowerShell and run:

Get-Service -Name WinHttpAutoProxySvc

This shows whether the service is running and its display name. Because its startup type is Manual, Windows starts it when something needs it.

How to check and reset the WinHTTP proxy

WinHTTP has its own proxy setting, separate from the one you see in Settings. These netsh winhttp commands manage it. Run them in an elevated Command Prompt, which you need for the commands that change settings.

CommandWhat it does
netsh winhttp show proxyShows the current WinHTTP proxy server and bypass list
netsh winhttp show advproxyShows advanced proxy settings, if any were set
netsh winhttp reset proxySets the WinHTTP proxy back to DIRECT (no proxy)
netsh winhttp reset autoproxyResets the autodiscovery service’s settings and cache
netsh winhttp import proxy source=ieCopies the proxy settings from the Windows (Internet Explorer) settings
netsh winhttp set proxy proxy-server="proxy.example.com:8080"Sets a fixed proxy server

Step 1: See what WinHTTP is using

netsh winhttp show proxy

If it lists a proxy server you don’t recognize on a home PC, or one your company no longer uses, that’s a likely cause of connection failures in Windows components.

Step 2: Reset the proxy to direct access

Important: On a work or school PC, IT may have set the WinHTTP proxy deliberately. Ask before you reset it.

netsh winhttp reset proxy

This removes any configured WinHTTP proxy so connections go direct.

Step 3: Set the correct proxy, if your network needs one

If your network uses a fixed proxy, set it with the server name and port your administrator gives you:

netsh winhttp set proxy proxy-server="proxy.example.com:8080" bypass-list="*.example.com"

Replace both values with your own. The bypass list holds addresses that should connect directly, separated by semicolons.

Step 4: Clear the autodiscovery cache

If the network’s proxy setup changed, reset the autodiscovery state:

netsh winhttp reset autoproxy

Then restart the PC and try again.

Check the proxy in Windows Settings

Apps and browsers usually follow the proxy in Settings, which is separate from WinHTTP. On Windows 11 and Windows 10:

  1. Go to Settings > Network & internet > Proxy.
  2. Under Automatic proxy setup, Automatically detect settings controls WPAD detection for this setting.
  3. Use setup script points to a PAC file address, if your network provides one.
  4. Under Manual proxy setup, Use a proxy server holds a fixed proxy.

If a home PC has a setup script or manual proxy you didn’t add, turn it off. Then run netsh winhttp show proxy again to compare.

If the problem is that Wi-Fi itself won’t connect, start with our guide to Wi-Fi not working on a laptop.

The WPAD security note

WPAD has a history of vulnerabilities. In security bulletin MS16-077 (June 2016), Microsoft fixed elevation of privilege flaws where an attacker on the local network could respond to NetBIOS name requests for WPAD. Microsoft also notes that the WPAD specification never went past the Internet-Draft stage.

What to do about it:

  • Keep Windows updated. That’s how the WPAD fixes were delivered.
  • Don’t disable the service as a security measure. Microsoft recommends against it.
  • For managed networks that don’t use WPAD, Microsoft documents a supported way to switch off WPAD detection: on Windows 10 version 1809 and later, a DisableWpad registry value of 1 under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp. After that, every proxy must be configured manually, and Microsoft says to also turn off auto-detection in Settings.

Important: Editing the registry can break things if done wrong. Back up the key first, and on work PCs leave this to IT, usually through Group Policy or device management.

If it still doesn’t work

  • Compare both proxy settings. Run netsh winhttp show proxy and check Settings > Network & internet > Proxy. A mismatch explains why a browser works but Windows Update or a Microsoft app doesn’t.
  • Restart after changes, then test again.
  • Ask IT for the PAC file address or proxy server on company networks. WPAD on corporate networks is configured in DHCP or DNS, which you can’t fix from the PC.
  • Look at the bigger picture. If other problems come with the network issue, browse our PC repair guides or contact your network administrator.

Frequently asked questions

What does the WinHTTP Web Proxy Auto-Discovery Service do?

It's the Windows service WinHttpAutoProxySvc. It implements the Web Proxy Auto-Discovery (WPAD) protocol for WinHTTP, so Windows components and apps that use WinHTTP can find the network's proxy settings automatically.

Should I disable the WinHTTP Web Proxy Auto-Discovery Service?

No. Microsoft's service guidance says do not disable it, because anything that uses the network stack can depend on it, and in networks that use automatic proxy settings internet connections from the PC can fail without it.

How do I see the WinHTTP proxy settings?

Open Command Prompt and run netsh winhttp show proxy. It shows the proxy server WinHTTP uses and its bypass list, or that it connects directly.

How do I reset the WinHTTP proxy?

In an elevated Command Prompt, run netsh winhttp reset proxy. It sets the WinHTTP proxy back to direct access. On a work PC, check with IT first, since they may have set the proxy on purpose.

Is WPAD a security risk?

WPAD has had vulnerabilities, such as the ones Microsoft fixed in security bulletin MS16-077 in 2016. Keep Windows updated. Organizations that don't use WPAD can turn off proxy auto-detection with Microsoft's DisableWpad setting instead of disabling the service.

Related guides