ghacks Technology News

Fixing Windows Update Error 0x80072ee2

A friend’s computer running Windows 7 had been recently infected with the rootkit TDSS which resulted in redirects in all web browsers to affiliate sites. The problem is commonly known as Google redirects and the issue had been fixed back then.

My friend contacted me again after the cleanup asking for help because Windows Update was not working anymore. Whenever Windows Update was used it would run for a long time and display the error 0x80072ee2 in the end.

A quick research on the Internet revealed that this error message was related to connection problems to the Windows Update servers.

Suggested fixes included:

  • Checking the firewall to make sure that the Windows Update servers were not blocked.
  • Checking the hosts file to make sure the Windows Update servers were not redirected
  • Testing the connection to the Windows Update servers by downloading this file from there.
  • Running the ipconfig /flushdns command in the command line.
  • Adding Windows Update servers to the trusted zone in Internet Explorer
  • Adding Windows Update servers to the proxy server exception list in Internet Explorer
  • Changing the router’s mtu settings

None of these suggestions helped solve the connection problem. Error 0x80072ee2 was displayed after all attempts.

The first thing that one should do when encountering Windows Update errors is to look at the Windowsupdate.log file in the Windows folder. This contains a log that lists all connection attempts, status reports and error messages that are encountered when trying to connect to Windows Update.

My friend’s Windowsupdate.log contained a reference to a proxy server. This was strange because no proxy server was used to connect to the Internet and no proxy server was configured in Internet Explorer.

Turns out that Windows Update uses its own proxy server that is set in the Windows Registry. Here are the steps on how to change the proxy server used to connect to Windows Update (solution for Windows Vista and Windows 7).

Open an elevated command line from the start menu. Locate the command prompt under Accessories in the Windows start menu, right-click it and select Run as administrator.

Enter [netsh], then [winhttp] in the command line so that the screen looks like this afterwards.

Now enter the command [import proxy source=ie]. This will import the proxy settings of Internet Explorer which means either direct access to the Internet without proxy if no server is configured or the proxy server that is used to connect to the Internet.

This should have resolved the connection problems to Windows Update if a proxy server was the problem. Winhttp can also be used to set a specific proxy server by using the [set proxy address] command. A restart of the computer might be needed before the changes are taken into account (or killing the explorer.exe process and reloading it).

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Firefox Update Error – AUS: Update XML File Malformed (200)
Windows Update Error services not running
Fixing a Common Windows Phone Update Issue
Enhance Firefox’s Unable To Connect Error Page
Lookup Windows Error Codes Offline



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Sunday January 24, 2010 -
Tags:, ,


Responses so far:

  1. Tom says:

    Until Windows XP you can get the same result executing
    “proxycfg -u”
    with an administrator account which has entered the correct proxy settings.
    The command seems not to exist under W7 anymore …

  2. Mark says:

    That fixed it! I had the same problem after installing windows 7. Thanks!

  3. Sahil says:

    plz help me guysss.

    i cant update windows security essential
    it gives Result code = 0x80072EE2

    i cant able tp update internet explore.

    while updateing windows defender its gives error of 80072efd.
    i have windows 7 home premium 64 bit.

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us