How can I change the WinHTTP proxy settings?

If you configure Datto RMM to work with a proxy server, you may experience unpredictable behavior if you do not also configure the WinHTTP proxy settings on the managed endpoint.

Datto RMM interacts with the Windows Update Agent (WUA) API and relies on the WinHTTP proxy settings managed by Windows. These proxy settings are not enabled by default, as Windows Updates normally run within a user session where the proxy settings are inherited from Internet Explorer. Refer to How the Windows Update client determines which proxy server to use to connect to the Windows Update Web site from Microsoft for more information.

When the Datto RMM Agent calls the Windows Updates utility, it does not have access to the user-specific proxy settings from Internet Explorer. As a result, the Windows Update program will not be able to access the internet to update its list of missing or installed patches.

When this happens, you may notice that the list of missing and installed patches for the endpoint compiled by the Datto RMM Agent does not match the local Windows Updates list. In some cases, the Agent may not list any patches at all.

This article explains how to change WinHTTP proxy settings manually by using the Windows Command Prompt. It also provides a walk-through for deploying these actions through a ComStore component.