Microsoft Defender for Endpoint
Endpoint protection

Configure device proxy connectivity to the Defender for Endpoint service

In brief

The article now lists both required Group Policy settings by name, identifies the WinHTTP proxy command’s scope, and explains that resetting it removes the proxy and returns to direct connectivity.

What Defender admins need to know

Administrators can more accurately configure and reset proxy settings using the updated instructions.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Configure device proxy connectivity to the Defender for Endpoint service

The static proxy settings are configurable through group policy (GP). Configure both Group Policy settings: Configure Authenticated Proxy usage for the Connected User Experience and Telemetry Service and Configure connected user experiences and telemetry. These Group Policy settings are available in Administrative Templates.

  • Administrative Templates > Windows Components > Data Collection and Preview Builds > Configure Authenticated Proxy usage for the Connected User Experience and Telemetry Service.

For resiliency purposes and the real-time nature of cloud-delivered protection, Microsoft Defender Antivirus caches the last known working proxy. Ensure your proxy solution does not perform SSL inspection, as that breaks the secure cloud connection.

Microsoft Defender Antivirus doesn't use the static proxy to connect to Windows Update or Microsoft Update for downloading updates. Instead, it uses a system-wide proxy if configured to use Windows Update, or the configured internal update source according to the Microsoft Defender Antivirus protection update fallback order.

If necessary, you can use Administrative Templates > Windows Components > Microsoft Defender Antivirus > Define proxy auto-config (.pac) for connecting to the network. If you need to set up advanced configurations with multiple proxies, use Administrative Templates > Windows Components > Microsoft Defender Antivirus > Define addresses to bypass proxy server and prevent Microsoft Defender Antivirus from using a proxy server for those destinations.

Use netsh to configure a system-wide static proxy.

  1. Open an elevated command line:

    1. Go to Start and type cmd.
    2. Right-click Command prompt and select Run as administrator.
  2. To configure the system-wide WinHTTP proxy, enter the following command and press Enter:

    netsh winhttp set proxy <proxy>:<port>
    
    For example: `netsh winhttp set proxy 10.0.0.6:8080`
    
  3. To remove the current WinHTTP proxy configuration and return to direct connectivity, enter the following command and press Enter:

    netsh winhttp reset proxy