大网数据广告活动
网络与域名解析

How to disable HTTP proxy features

· 52CE 我爱测

Describes how to disable specific features of Windows HTTP proxies.

This article describes how to disable specific features of Windows HTTP proxies.

Applies to:   Windows Server 2022, all editions, Windows 11, all editions

How to disable an authentication protocol

HTTP proxies can use any of several different authentication protocols. Some of these protocols are considered to be not secure. You should support such protocols only if you have to provide backward compatibility with earlier versions of Windows.

Starting in Windows Server 2022 and Windows 11, you can disable individual authentication protocols. To disable protocols, configure the value of the following registry subkey:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\DisableProxyAuthenticationSchemes

The following table lists the hexadecimal values that correspond to each of the protocols that you can disable.

Authentication method to disable DWORD value
Basic 0x00000001
Digest 0x00000002
NTLM 0x00000004
Kerberos 0x00000008
Negotiate 0x00000010

How to disable authentication over loopback interfaces

Windows can authenticate over a loopback interface. This is similar to any other network interface. However, if you want to limit the sign-in interface to only known and trusted services, you might want to disable the loopback authentication capability.

Starting in Windows Server 2022 and Windows 11, you can disable loopback authentication by setting the DWORD value of DisableProxyAuthenticationSchemes to 0x00000100 (Local Service).

How to disable WPAD

Windows uses Web Proxy Auto-Discovery protocol (WPAD) to discover Proxy Auto-Config (PAC) files from the local network. If you prefer to manage endpoints directly, you can disable WPAD.

Starting in Windows Server 2019 and Windows 10, version 1809, you can disable WPAD by setting a DWORD value for the following registry subkey to 1:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp\DisableWpad

After you disable WPAD, you must manually configure all proxies. The registry key stops WPAD detection for all proxy detection calls made through the Windows HTTP Services (WinHTTP) application programming interface (API). Even with this registry key set, applications can still resolve the name "WPAD" by calling Domain Name System (DNS) directly. For example, running nslookup WPAD still resolves the name by using DNS.

Important: In addition to setting the registry key, WPAD should also be disabled in the Windows Settings UI, because third-party apps and Internet browsers may rely on these settings for Proxy Auto-Discovery.

How to disable proxy sorting

In Windows Server and Windows client, when multiple proxies are configured, the system sorts them based on their response time. If you want to disable this feature, you can do so by setting a DWORD value for the following registry subkey to 1:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHTTP\DisableProxySort

After you disable proxy sorting, you'll need to restart the WinHTTP Web Proxy Auto-Discovery Service (WinHttpAutoProxySvc) service for the change to take effect. Once restarted, the system uses the order in which the proxies were configured, without sorting them by response time.

If first proxy in list is unavailable, there will be a delay while the service determines that proxy is unreachable and moves to next proxy. To avoid this delay, ensure that all configured proxies are reachable or enable proxy sorting again.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。