The 0x80072EE7 error code may occur if the client computer cannot find the correct IP address when it tries to resolve a URL for the Windows Update Web site or for the Microsoft Update Web site. This error may occur if the Hosts file contains a static IP address.
To resolve this error, examine the Hosts file. (This file may also be named Hosts.sam.) Make sure that the file does not list any static IP entries for the Windows Update Web site or for the Microsoft Update Web site.
The Hosts file is located in the C:\Windows\system32\drivers\etc folder. To view the Hosts file, you may have to associate the file with Notepad. To do this, follow these steps:
- Right-click the Hosts file.
- Click Open With, and then select Notepad from the list of programs.
If the Hosts file contains a static IP address that is associated with Windows Update or with Microsoft Update, comment the entry by adding the # sign at the beginning of the entry. You can also delete the whole line and save changes to the Hosts file.
Programs, such as Web accelerators, DNS accelerators, DNS caching utilities, and Spyblockers, can add static IP entries for the Windows Update Web site or for the Microsoft Update Web site to your Hosts file. This scenario can cause Windows Update or Microsoft Update to fail.