Print | Rate this content

Microsoft Windows Server 2008 R2 - Error "Code 80072EE2 Windows Update encountered an unknown error."


Two identical servers DL380 G7 with Windows 2008 R2 SP1 installed.

One of them was able to run Windows update to download and install updates but the other one always got the error 80072EE2 and never had been able to check for updates.

Windows could not search for new updates
An error occurred while checking for new updates for your computer
Error(s) found:
Code 80072EE2 Windows Update encountered an unknown error.

Checks in both servers following KB836941:

  • Configured the proxy server correctly in Internet Explorer.

  • Had a correct name resolution.

  • Added the windows update trusted sites.

    • http://*

    • https://*


  • Had Windows Firewall disabled and no third party firewall installed, etc.

Also checked for viruses or worms without luck as Windows Update is one of the affected services by the Conficker.

Windows Update log didn't logged valuable information, only error 80072EE2, so user enabled maximum logging for Windows update - %windir%\Windowsupdate.log - following KB902093.

Value name: Flags
Value type: REG_DWORD
Value data: 00000007

Value name: Level
Value type: REG_DWORD
Value data: 00000004

After forcing Windows Update, checked and reviewed the log, user noticed the recurrent errors invoking proxy server, seemed like the WU service was not able to retrieve the proxy data and Autoproxy tried direct connection using NULL proxy:

Content of %windir%\Windowsupdate.log:

2012-03-05 20:06:48:637 940 1dc0 Misc WinHttpGetProxyForUrl failed with 0x80072f94. Continuing with NULL autoproxy list
2012-03-05 20:07:04:312 7796 1f1c Misc =========== Logging initialized (build: 7.5.7601.17514, tz: +0100) ===========
2012-03-05 20:07:04:312 7796 1f1c Misc = Process: C:\Windows\system32\mmc.exe
2012-03-05 20:07:04:312 7796 1f1c Misc = Module: C:\Windows\system32\wuapi.dll
2012-03-05 20:07:04:312 7796 1f1c Service Registering proxy/stubs.
2012-03-05 20:07:04:312 940 e00 Agent WU client succeeds CClientCallRecorder::EnumerateService
2012-03-05 20:07:21:436 940 1dc0 Misc WARNING: Send failed with hr = 80072ee2.
2012-03-05 20:07:21:436 940 1dc0 Misc WARNING: SendRequest failed with hr = 80072ee2. Proxy List used: <(null)> Bypass List used : <(null)> Auth Schemes used : <>


After trying lot of things, due to NULL proxy messages, user set the WINHTTP proxy server for Windows Update which is empty by default:

  1. Check the current configuration (empty by default).


    netsh winhttp show proxy


    Current WinHTTP proxy settings:
    Direct access (no proxy server).

  2. Set a valid proxy server to reach internet:


    netsh winhttp set proxy proxy-server="http=myproxy:port;https=mysproxy:port" bypass-list="*.intranet;192.168.*"


    Current WinHTTP proxy settings:
    Proxy Server(s) : http=myproxy:port;https=mysproxy:port
    Bypass List : *.intranet;192.168.*

  3. Restart the Windows update and force a new check for updates.

NOTE: If the above procedure does not solve the issue you can also reset the windows update components following KB971058. Click here to access Non-HPE site .



One or more of the links above will take you outside the Hewlett-Packard Enterprise Web site, HPE does not control and is not responsible for information outside of the HPE Web site.

Legal Disclaimer: Products sold prior to the November 1, 2015 separation of Hewlett-Packard Company into Hewlett Packard Enterprise Company and HP Inc. may have older product names and model numbers that differ from current models.

Provide feedback

Please rate the information on this page to help us improve our content. Thank you!
Document title: Microsoft Windows Server 2008 R2 - Error "Code 80072EE2 Windows Update encountered an unknown error."
Document ID: emr_na-c03237287-2
How helpful was this document?
How can we improve this document?
Note: Only English language comments can be accepted at this time.
Please wait while we process your request.