Right on. I also did an in place upgrade (or what some others call a repair installation), and SP1 installed after the 1-2 hours it took to redo the installation. Pain in the butt, but it worked. I'm surprised no one from the Microsoft support team has posted this as a possible solution on these forums--I've only seen it mentioned by community members like NickMoul.
Win 7 SP1 fails with E_FAIL 0x80004005
Hi, I can't get Windows 7 Service Pack 1 to install. I'm running Ultimate. I''m installing via Windows Update. I've got internet access. I've tried multiple times, but I always get an E_FAIL 0x80004005. I looked in the CBS.log and find (around the error) this:
2011-02-23 17:49:23, Info CBS TrustedInstaller service starts successfully.
2011-02-23 17:49:23, Info CBS SQM: Initializing online with Windows opt-in: False
2011-02-23 17:49:23, Info CBS SQM: Cleaning up report files older than 10 days.
2011-02-23 17:49:23, Info CBS SQM: Requesting upload of all unsent reports.
2011-02-23 17:49:23, Info CBS SQM: Failed to start upload with file pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
2011-02-23 17:49:23, Info CBS SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
2011-02-23 17:49:23, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6
2011-02-23 17:49:23, Info CBS SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
2011-02-23 17:49:23, Info CBS No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.
2011-02-23 17:49:23, Info CBS NonStart: Checking to ensure startup processing was not required.
2011-02-23 17:49:23, Info CSI 00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDisposition = @0x55fb5c
2011-02-23 17:49:23, Info CSI 00000005 Creating NT transaction (seq 1), objectname [6]"(null)"
2011-02-23 17:49:23, Info CSI 00000006 Created NT transaction (seq 1) result 0x00000000, handle @0x1c4
2011-02-23 17:49:23, Info CSI 00000007@2011/2/23:16:49:23.537 CSI perf trace:
CSIPERF:TXCOMMIT;11544
Any ideas on how to fix it would be appreciated.
Regards,
Mike
Windows for home | Previous Windows versions | Windows update
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
After trying everything, I performed an in place upgrade, using a DVD I had of my version of Windows 7. Don't forget to write down your activation code before you do it.
After inplace upgrade SP1 installed with no issues. I have no idea what was wrong, but W7 performs same as before.
MS needs to sort this out with a Fix-It link.
Only clue was that the inplace upgrade notified me that dot NET 4 was e corrupted and needed a reinstall which it downloaded and reinstalled. Hope that help someone.
Best of luck.
Support? What support?
54 additional answers
Sort by: Newest
-
Anonymous
2011-09-21T21:12:35+00:00 Repair worked with no loss of programs or settings for me. Best of luck!!
-
Anonymous
2011-09-21T20:31:53+00:00 I have been dealing with this issue now for 7 months! (Ouch). I have tried during 3 different spurts to get this SP to go thru with no success. Like others mentioned, I completely removed my anti-virus and tried the other steps MS outlines (Troubleshooter / Readiness Tool). If I try a in place WIN installation or repair installation, will I have to re-install all my programs?
-
Anonymous
2011-07-17T21:19:54+00:00 I'm not able to install SP1 either -- here's what my CBS.log looks like:
2011-07-17 22:01:02, Info CBS Starting the TrustedInstaller main loop.
2011-07-17 22:01:03, Info CBS TrustedInstaller service starts successfully.
2011-07-17 22:01:03, Info CBS SQM: Initializing online with Windows opt-in: False
2011-07-17 22:01:03, Info CBS SQM: Cleaning up report files older than 10 days.
2011-07-17 22:01:03, Info CBS SQM: Requesting upload of all unsent reports.
2011-07-17 22:01:03, Info CBS SQM: Failed to start upload with file pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:01:03, Info CBS SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:01:03, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6
2011-07-17 22:01:03, Info CBS SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:01:03, Info CBS No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.
2011-07-17 22:01:03, Info CBS NonStart: Checking to ensure startup processing was not required.
2011-07-17 22:01:03, Info CSI 00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDisposition = @0xf2f9c0
2011-07-17 22:01:03, Info CSI 00000005 Creating NT transaction (seq 1), objectname [6]"(null)"
2011-07-17 22:01:03, Info CSI 00000006 Created NT transaction (seq 1) result 0x00000000, handle @0x1f0
2011-07-17 22:01:03, Info CSI 00000007@2011/7/17:20:01:03.163 CSI perf trace: CSIPERF:TXCOMMIT;1786
2011-07-17 22:27:42, Error CBS Failed. Attempted to uninstall a version of a non-driver component that is not installed, version: 0X600011db04001, component: x86_microsoft-windows-mail-core-dll_31bf3856ad364e35_6.1.7600.16385_none_585517a9869db81d, owner: Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~6.1.7600.16385.Microsoft-Windows-Client-Features-Update [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:42, Info CBS Failed to mergecomponent [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:42, Info CBS ComponentAnalyzerUninstallDeployment: Failed on update: Microsoft-Windows-Client-Features-Update [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:42, Info CBS Failed to execute item[0] in Package: Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~6.1.7600.16385, Update: Microsoft-Windows-Client-Features-Update [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:42, Info CBS Failed to execute execution update. [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:42, Info CBS Failed to execute execution package: Microsoft-Windows-Client-Features-Package~31bf3856ad364e35~amd64~~6.1.7600.16385 [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:42, Info CBS Failed to prepare execution [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:42, Info CSI 0000000e@2011/7/17:20:27:42.372 CSI Transaction @0x36f4c60 destroyed
2011-07-17 22:27:42, Info CBS Perf: InstallUninstallChain complete.
2011-07-17 22:27:42, Info CBS Failed to execute execution chain. [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:42, Error CBS Failed to process single phase execution. [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:42, Info CBS WER: Generating failure report for package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, status: 0x80004005, failure source: Execute, start state: Partially Installed, target state: Installed, client id: SP Coordinater Engine
2011-07-17 22:27:42, Info CBS Failed to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2011-07-17 22:27:42, Info CBS Failed to add %windir%\winsxs\pending.xml to WER report because it is missing. Continuing without it...
2011-07-17 22:27:42, Info CBS Failed to add %windir%\winsxs\pending.xml.bad to WER report because it is missing. Continuing without it...
2011-07-17 22:27:43, Info CBS Reboot mark refs: 0
2011-07-17 22:27:43, Info CBS SQM: Reporting package change for package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, current: Partially Installed, pending: Default, start: Partially Installed, applicable: Installed, target: Installed, limit: Installed, hotpatch status: DisabledBecauseNoHotpatchPackagesInitiated, status: 0x0, failure source: Execute, reboot required: False, client id: SP Coordinater Engine, initiated offline: False, execution sequence: 452, first merged sequence: 452
2011-07-17 22:27:43, Info CBS SQM: Upload requested for report: PackageChangeBegin_Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, session id: 101457923, sample type: Standard
2011-07-17 22:27:43, Info CBS SQM: Ignoring upload request because the sample type is not enabled: Standard
2011-07-17 22:27:43, Info CBS SQM: Reporting package change completion for package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, current: Partially Installed, original: Partially Installed, target: Installed, status: 0x80004005, failure source: Execute, failure details: "(null)", client id: SP Coordinater Engine, initiated offline: False, execution sequence: 452, first merged sequence: 452
2011-07-17 22:27:43, Info CBS SQM: execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2011-07-17 22:27:44, Info CBS SQM: Upload requested for report: PackageChangeEnd_Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514, session id: 101457924, sample type: Standard
2011-07-17 22:27:44, Info CBS SQM: Ignoring upload request because the sample type is not enabled: Standard
2011-07-17 22:27:44, Info CBS Enabling LKG boot option
2011-07-17 22:27:44, Info CBS Restored system sleep block state: 0x80000000
2011-07-17 22:27:44, Info CBS SPI: Error callback - 0x80004005
2011-07-17 22:27:44, Info CBS Exec: Processing complete. Session: 30164156_1522172115, Package: Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514 [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:44, Error CBS Failed to perform operation. [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:44, Info CBS Session: 30164156_1522172115 finalized. Reboot required: no [HRESULT = 0x80004005 - E_FAIL]
2011-07-17 22:27:44, Error CBS SPI: (CSPICbsClient::Finalize:737)Failed to finalize session hr=0x80004005
2011-07-17 22:27:44, Error CBS SPI: (CSPICbsClient::ChangeState:519)Failed to finalize CBS session to install package hr=0x80004005
2011-07-17 22:27:44, Error CBS SPI: (CSPCInstallTask::Execute:1010)Failed to install package with identity Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514 hr=0x80004005
2011-07-17 22:27:44, Info CBS SPI: Reporting Failed package event
2011-07-17 22:27:44, Error CBS Cannot finalize a session that has been finalized. [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2011-07-17 22:27:44, Info CBS Session: 30164156_1522172115 finalized. Reboot required: no [HRESULT = 0x800f0842 - CBS_E_SESSION_FINALIZED]
2011-07-17 22:27:44, Error CBS SPI: (CSPICbsClient::Finalize:737)Failed to finalize session hr=0x800f0842
2011-07-17 22:33:45, Info CBS SPI: Deleting directory: C:\41e747aa065e4f6aca26\33b86864b302afb90c4eda94\8f4025faed35b8499d6fb1ccfcc1eddb. ret=0
2011-07-17 22:33:46, Error CBS SPI: (CSPInstall::Install:1583)Failed executing Install task hr=0x80004005
2011-07-17 22:33:46, Info CBS SPI: Ending SP Installation
2011-07-17 22:33:46, Error CBS SPI: (PerformSPInstallation:833)Failed to install SP using UI hr=0x80004005
2011-07-17 22:33:46, Error CBS SPI: (wmain:1105)Failed to perform SP installation hr=0x80004005
2011-07-17 22:33:46, Info CBS SPI: Reporting Failed event.