DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 958051 - Last Review: May 8, 2012 - Revision: 2.0

On This Page

SYMPTOMS

When you try to install updates from the Windows Update Web site or from the Microsoft Update Web site, you may receive the following error code:
0x8007F0F4

CAUSE

This issue may occur if any of the following scenarios exist on your computer:
  • You are trying to update your laptop when it is running on battery power.
  • The update installation program detects that the update is incorrect for your computer.
  • Prerequisite updates have not been installed on your computer.

RESOLUTION

To resolve this issue, use the following methods as they apply to your scenario.

Note You may receive the 0x8007F0F4 error message when you try to install security update 2686509. For more information about how to troubleshoot this issue, click the following article number to view the article in the Microsoft Knowledge Base: 
2686509  (http://support.microsoft.com/kb/2686509/ ) MS12-034: Description of the security update for CVE-2012-0181 in Windows XP and Windows Server 2003: May 8, 2012

Method 1: Connect the laptop to an AC power supply

If you are currently trying to update a portable computer while it is running on battery power, temporarily connect the portable computer to an AC power supply, and then try to install updates again.

Method 2: Hide the incorrect update

If the update installation application detected that the update is incorrect for your computer, one of the following conditions may be true:
  • The update may have been previously installed.
  • The update is older than the currently installed update.
  • The update is incompatible with your computer.
This update should be ignored or hidden in the Windows Update or Microsoft Update interface.

To hide the update so that it is not offered again, follow these steps:
  1. Visit the following Microsoft Update Web site:
    http://update.microsoft.com (http://update.microsoft.com)
  2. As soon as the scan for updates has finished, click Custom on the Welcome to Microsoft Update page.
  3. In the navigation pane, click Hardware, Optional. The available updates are listed on the Select Optional Hardware Updates page.
  4. Look for the hardware driver that is associated with the error, click the name of the update to expand the update details, and then click to enable the Don't show this update again check box.
  5. Click Review and install updates.
  6. Verify that the hidden update for the hardware is not present, and then click Install Updates.

Method 3: Download and install the update manually

To download and install the update manually, follow these steps:
  1. Visit the following Microsoft Update Web site:
    http://update.microsoft.com (http://update.microsoft.com)
  2. Click Review your updated history to view the update history, or examine the error message to determine the update that you want to install manually.
  3. Visit the following Windows Downloads Web site:
    http://www.microsoft.com/windows/downloads/default.aspx (http://www.microsoft.com/windows/downloads/default.aspx)
  4. Type the Microsoft Knowledge Base article number in the search window on the Downloads page, and then click Go.

    For example, if the article number that is listed for the update is KB123456, type 123456 in the search box, and then click Go.
  5. Browse through the list of returned content, and then locate the Knowledge Base article that has a link to the download.
  6. In the Knowledge Base article, locate and then click the link that resembles the following:
    Download the package now
    Note If you are prompted to validate Windows, follow the instructions to Validate Windows, and then continue to download the update.
  7. Click Download, and then click Save in the File Download dialog box.
  8. From the Save in list, select the Desktop option, and then click Save.
  9. Locate the file that you downloaded to your desktop, and then double-click the file to install the update.
Note The update installation may still fail if the update is incorrect for your computer.

Method 4: Check for an existing log file for the failed update

If methods 1, 2, or 3 do not resolve this issue, a log file must be used to collect more information. The Microsoft Installer creates a log file for some updates, and then it puts that log file in the Windows directory. If this file exists, a Microsoft support agent can view that file to determine the cause of the problem. If the .log file does not exist, method 5 lists the steps that you must follow to create that .log file for the support agent.

To check for a .log file that was created during the failed update, follow these steps:
  1. Click Start, All Programs, and then click Windows Update or Microsoft Update.
  2. On the Windows Update or Microsoft Update Web site, click Review your update history.
  3. In the Status column, find the update that failed, and note the Knowledge Base article number that is associated with that update.

    Note If there is no Knowledge Base article that is associated with the failed update, try method 5.
  4. Close the Windows Update or Microsoft Update window.
  5. Click Start, click Run, type %systemroot%, and then click OK.
  6. Locate the .log file that is named after the Knowledge Base article for the failed update that you noted in step 3. For example, for a failed update that is associated with KB123456, locate the .log file that is named 123456.log.
  7. If this .log file exists, contact Microsoft Support, and then reference the Knowledge Base article number when you speak to a support agent. For more information about how to contact Microsoft Support, visit the following Microsoft Web site:
    http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
  8. If the .log file does not exist, try method 5.

Method 5: Enable Microsoft Installer logging and then contact support

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756  (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows
If the previous method does not resolve the issue, you should contact Microsoft Support for help. To save time, you can enable and generate a Microsoft installer log before you contact Microsoft Support. To enable Microsoft Installer logging and to generate the log file, follow these steps:
  1. Click Start, click Run, type notepad, and then click OK.
  2. Type the following commands in Notepad.
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
    "Logging"=dword:voicewarmupx
    "Debug"=dword:00000007
    
  3. On the File menu in Notepad, click Save As.
  4. Select the Desktop option from the Save in list.
  5. In the File name box, type LoggingOn.reg, select the All Files option in the Save as type list, and then click Save.
  6. On the desktop, double-click the LoggingOn.reg file to add the registry keys to the Windows registry.
  7. When you see a dialog box that indicates that the installation was successful, click OK.
  8. Try to reinstall the update to capture the error information in the Microsoft Installer .log file.
Note It may take several minutes to collect the log information, and the update process may seem to be functioning incorrectly. Make sure that you wait for the process to finish.

Important As soon as Windows Update or Microsoft Update has finished, disable Microsoft Installer logging. If logging remains enabled, installing updates may take a long time, your computer may slow down, and log files that require large amounts of disk space may be created.

To disable Microsoft Installer logging, follow these steps:
  1. Click Start, click Run, type notepad, and then click OK.
  2. Type the following commands in Notepad.
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
    "Logging"=-
    "Debug"=-
    
  3. On the File menu in Notepad, click Save As.
  4. In the Save in list, select the Desktop option.
  5. Type LoggingOff.reg in the File name box, select the All Files option from the Save as type list, and then click Save.
  6. On the desktop, double-click the LoggingOff.reg file to remove the registry values from the Windows registry.
  7. When you see a dialog box that indicates that the installation was successful, click OK.
  8. Delete the LoggingOn.reg and LoggingOff.reg files from the desktop.
Contact Microsoft Support for help, and then reference this Knowledge Base article when you speak to the support agent.

MORE INFORMATION

The Microsoft Installer log typically starts with “msi," and ends with a “.log” extension. For example, the Microsoft Installer log file has a name that resembles the following:
msib3a6g.log
This file is located in the following directory:
C:\Documents and Settings\UserName\Local Settings\Temp\
To open this directory, click Start, click Run, type %temp%, and then click OK.

Note This information assumes that Windows is installed on drive C. If Windows is not installed on drive C, adjust the drive letter for the folder path to match your installation drive.

REFERENCES

For more information about how to enable Microsoft Installer logging, click the following article number to view the article in the Microsoft Knowledge Base:
314852  (http://support.microsoft.com/kb/314852/ ) How to Enable Windows Installer Logging in Windows XP

APPLIES TO
  • Microsoft Update
  • Microsoft Windows Update
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Server
Keywords: 
kbtshoot kbpubtypekc kberrmsg kbprb KB958051
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support