Windows 7 SP1 fails to install

Service Pack 1 for Microsoft Windows (KB976932) fails to install on a 32 bit Windows 7 Enterprise edition with an error message 0x800f0826. This is an important update and a successful installation of SP1 is much desired, however, this was not the case for many users. In this procedure I am going to show you the steps I took to find what was causing this failure and the workaround I used to overcome the unknown error – 0x800f0826 while installing SP1 on a virtual machine.

Before proceeding further, I recommend you to optimize system performance using eBoostr’s intelligent buffer design which ensures that only the applications you need are accelerated. The Ultimate Speed Boost for Windows!

My first attempt was to install SP1 from Windows Update but after I encountered the first couple of errors I decided to downloading it from Microsoft Download Center. In both scenarios that is, using Windows Update or downloaded file, the installation failed at 9% and upon reboot gave an unknown error message 0x800f0826

After following Microsoft recommendations which are found below, I decided to troubleshoot by first looking into the Service Pack installation log file – %SystemDrive%\Windows\Logs\CBS\CBS.log  as to determine which step was bringing the process to a halt:

Stage: 1 out of 1. Percent progress: 9.
2011-03-04 10:56:44, Info CBS INSTALL index: 84, phase: 2, result 0, inf: volume.inf
2011-03-04 10:56:44, Info CBS INSTALL index: 85, phase: 2, result 0, inf: sbp2.inf
2011-03-04 10:56:44, Info CBS INSTALL index: 86, phase: 2, result 5, inf: cdrom.inf
2011-03-04 10:56:44, Info CBS DriverUpdateInstallUpdates failed [HRESULT = 0x80070005 - E_ACCESSDENIED]
2011-03-04 10:56:44, ErrorCBS Doqe: Failed installing driver updates [HRESULT = 0x80070005 - E_ACCESSDENIED]
2011-03-04 10:56:44, Info CBS Perf: Doqe: Install ended.
2011-03-04 10:56:44, Info CBS Failed installing driver updates [HRESULT = 0x80070005 - E_ACCESSDENIED]
2011-03-04 10:56:44, ErrorCBS Startup: Failed while processing non-critical driver operations queue. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2011-03-04 10:56:44, Info CBS Startup: Rolling back KTM, because drivers failed.

As you can see from the log file the installation process failed cdrom driver updates and rolled back. I verified that the cdrom had the latest version of driver as recommended by Microsoft. Since, all devices had the latest versions of drivers, I continued by uninstalling the cdrom device temporarily from the system and try to re-install SP1. This failed as well hence, I decided to go through the list of installed applications that may be related to storage devices such as third-party CD/DVD mount drives and virtual CD/DVD add-ons that are common in virtualized environments. In fact, in my virtualized setup, guest add-ons for the CD/DVD virtual device were stopping the SP1 installation process, denying access to cdrom components.

The workaround in this case was to uninstall the Virtual Machine add-ons supplied by the host virtualization software before installing SP1 and re-installing them back after SP1 was done. I am showing all troubleshooting steps as to indicate how I managed to get a clue of the problem area and pin down the component causing the problem. However, note that this issue may be related to this particular setup as the same SP1 installed flawlessly on a similar setup with a 64 bit version of Windows 7! Therefore, I recommend that the SP1 installation log file should be thoroughly examined for error messages before starting any troubleshooting tasks.

Failure to a successful installation of SP1, MS recommendations some steps which unfortunately did not solve my problem, however, going through each recommended step gives you additional knowledge and a headstart when troubleshooting similar problems.

Microsoft recommends the following actions before applying SP1:

  1. Stop all antivirus and antimalware programs temporarily (do a complete scan for malware and viruses before disabling them)
  2. Uninstall beta versions of SP1 if present
  3. Installing the service pack from the Microsoft Download Center will require slightly more hard disk space than installing the service pack from Windows Update. If you have insufficient hard disk space to install the service pack, you will be prompted to free up additional hard disk space.
  4. Install Windows Update KB2454826 if it is not already installed
  5. Update device drivers with the latest versions, especially if you have the Intel integrated graphics device drivers Igdkmd32.sys and Igdkmd64.sys versions 8.15.10.2104 through 8.15.10.2141
  6. Run the Windows Update troubleshooter – Open the Windows Update troubleshooter by clicking the Start button, and then clicking Control Panel. In the search box, type troubleshooter, and then click Troubleshooting. Under System and Security, click Fix problems with Windows Update.
  7. Run the System Update Readiness Tool - The System Update Readiness Tool can help fix problems that might prevent Windows updates and service packs from installing.
Share