This is an old revision of the document!
Table of Contents
Yes. In a Windows Active Directory domain, you can use Group Policy to turn off proxy settings on domain-joined computers. The exact method depends on whether you want to disable only the manual proxy server, or also disable automatic proxy detection and setup scripts.
Given your environment with a Windows Server 2016 domain controller and Windows 10/11 clients, I would recommend explicitly setting all three Windows proxy options to Off:
- Automatically detect settings: Off
- Use setup script: Off
- Use a proxy server: Off
Microsoft confirms that Windows stores these proxy settings under the current user's Internet Settings registry area, while WPAD can additionally be disabled at the computer level. Microsoft Learn1)
Recommended approach for your AD domain
In Group Policy Management, create a GPO such as:
Disable Windows Proxy Settings
Then edit it and go to:
User Configuration
└── Preferences
└── Windows Settings
└── Registry
Create these registry preference items:
| Hive | Key Path | Value Name | Type | Value |
|---|---|---|---|---|
| HKEY_CURRENT_USER | Software\Microsoft\Windows\CurrentVersion\Internet Settings | ProxyEnable | REG_DWORD | 0 |
| HKEY_CURRENT_USER | Software\Microsoft\Windows\CurrentVersion\Internet Settings | AutoDetect | REG_DWORD | 0 |
| HKEY_CURRENT_USER | Software\Microsoft\Windows\CurrentVersion\Internet Settings | AutoConfigURL | REG_SZ | *(empty)* |
This produces the equivalent of:
Settings
└── Network & Internet
└── Proxy
├── Automatically detect settings: Off
├── Use setup script: Off
└── Use a proxy server: Off
Prevent users from turning the proxy back on
You can also configure:
User Configuration
└── Policies
└── Administrative Templates
└── Windows Components
└── Internet Explorer
└── Prevent changing proxy settings
Set this policy to Enabled. This prevents users from manually changing the proxy configuration. The underlying policy uses the `Proxy` value under the Internet Explorer Control Panel policy registry location. Insider Threat Matrix™2)
One important distinction for your environment
Windows actually has two major proxy systems, which can make this topic a small networking hydra 🐉:
WinINET proxy
Used by:
- Windows user settings
- Edge/Chrome in many configurations
- Applications using Windows Internet APIs
WinHTTP proxy
Used by:
- Windows services
- Some system components
- Server applications
You can check the WinHTTP proxy on a computer with:
netsh winhttp show proxy
Microsoft documents this command for examining the current WinHTTP proxy configuration. Microsoft Support3)
If your objective is “make sure all domain computers have no proxy configured, and users cannot enable one,” I would use a slightly more comprehensive GPO that handles WinINET, WPAD, automatic configuration scripts, and WinHTTP. For your small AD environment, I can give you the exact GPMC configuration I would recommend, including every registry preference and policy setting.
