Windows Updates Fail with Error: 6704 and 0x80071a30 including /RestoreHealth

  • Thread starter Thread starter SAC WolfO'Rourc
  • Start date Start date
S

SAC WolfO'Rourc

Guest
Windows 8.1 current as of June 2020

All my windows updates are failing. It doesn't matter how I try them. My computer crashed on a power outage last week. It seems to have corrupted WUS itself so even /RestoreHealth fails. Can someone figure out from the errors the components affected so that I can maybe replace them directly?



Automatic update fails.

MSU update fails.

Dism /online /add-package fails. (including after successful /remove-package)

DISM /Online /Cleanup-Image /RestoreHealth fails.


This includes applying the servicing stack update which is 4.75MB. C: has 5GB free. The main error is always 0x80071a30, DISM also reports Error: 6704 but that seems to mean the same thing.

Here are the other error messages

WindowsUpdate.log

2020-07-17 15:44:16:874 1136 1480 EP FATAL: EP: Failed to obtain element node, error = 0x80245002
2020-07-17 15:44:16:874 1136 1480 EP FATAL: Failed to obtain 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL, error = 0x80245002

dism.log
2020-07-17 16:36:11, Error DISM DISM Package Manager: PID=4292 TID=5516 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80071a30)

2020-07-17 16:36:11, Error DISM DISM Package Manager: PID=4292 TID=5516 Failed processing package changes - CDISMPackageManager::ProcessChanges(hr:0x80071a30)
2020-07-17 16:36:11, Error DISM DISM Package Manager: PID=4292 TID=5516 Failed while processing command add-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80071a30)
2020-07-17 16:36:11, Info DISM DISM Package Manager: PID=4292 TID=5516 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2020-07-17 16:36:11, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80071A30

CBS.log

2020-07-17 16:35:39, Info CBS Not able to add file to extract: update.ses [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-07-17 16:35:43, Info CBS Failed setting restore point [HRESULT = 0x80070422 - ERROR_SERVICE_DISABLED]
2020-07-17 16:35:43, Info CBS Exec: Begin: nested restore point - failed, ignoring and continuing. [HRESULT = 0x80070422 - ERROR_SERVICE_DISABLED]
2020-07-17 16:35:47, Error CSI 00000048@2020/7/17:23:35:47.561 (F) base\wcp\componentstore\transaction_support.cpp(555): Error c0190015 [Error,Facility=FACILITY_TRANSACTION,Code=21 (0x0015)] originated in function ComponentStoreImpl::TransactionContext::Commit expression: (*g_pfnCommitTransaction)(m_TxHandle, 1)
[gle=0x80004005]
2020-07-17 16:35:47, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-07-17 16:35:47, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-07-17 16:35:47, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-07-17 16:35:47, Info CBS Succesfully flushed NtfsLog.etl
2020-07-17 16:36:09, Error CSI 00000049 (F) c0190015 [Error,Facility=FACILITY_TRANSACTION,Code=21 (0x0015)] #35871# from ApplyTransactionPOQsToSil(...)[gle=0xd0190015]
2020-07-17 16:36:09, Error CSI 0000004a (F) c0190015 [Error,Facility=FACILITY_TRANSACTION,Code=21 (0x0015)] #35841# from Windows::COM::CComponentStore::ApplyTransactionNow(...)[gle=0xd0190015]
2020-07-17 16:36:09, Error CSI 0000004b (F) HRESULT_FROM_WIN32(6704) #35833# from Windows::COM::CPendingTransaction::IStorePendingTransaction_Apply(...)[gle=0x80071a30]
2020-07-17 16:36:09, Error CSI 0000004c (F) HRESULT_FROM_WIN32(6704) #32635# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_Commit(Flags = 38 (0x00000026), pSink = NULL, disp = 0, coldpatching = FALSE)[gle=0x80071a30]
2020-07-17 16:36:09, Error CSI 0000004d (F) HRESULT_FROM_WIN32(6704) #32634# 26457002 us from Windows::ServicingAPI::CCSITransaction_ICSITransaction::Commit(flags = 0x00000026, pSink = NULL, disp = 0)
[gle=0x80071a30]
2020-07-17 16:36:09, Error CBS Exec: Failed to commit CSI transaction to resolve execution chain. [HRESULT = 0x80071a30 - ERROR_TRANSACTION_ALREADY_ABORTED]
2020-07-17 16:36:09, Info CBS Failed to resolve execution chain. [HRESULT = 0x80071a30 - ERROR_TRANSACTION_ALREADY_ABORTED]
2020-07-17 16:36:09, Error CBS Failed to process single phase execution. [HRESULT = 0x80071a30 - ERROR_TRANSACTION_ALREADY_ABORTED]
2020-07-17 16:36:09, Info CBS WER: Generating failure report for package: Package_for_KB4566425~31bf3856ad364e35~x86~~6.3.1.1, status: 0x80071a30, failure source: Resolve, start state: Absent, target state: Installed, client id: DISM Package Manager Provider
2020-07-17 16:36:09, Info CBS Not able to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-07-17 16:36:09, Info CBS Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-07-17 16:36:09, Info CBS Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-07-17 16:36:10, Info CBS SQM: Reporting package change completion for package: Package_for_KB4566425~31bf3856ad364e35~x86~~6.3.1.1, current: Absent, original: Absent, target: Installed, status: 0x80071a30, failure source: Resolve, failure details: "(null)", client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 1823, first merged sequence: 1823, pending decision: InteractiveInstallFailed, primitive execution context: Interactive
2020-07-17 16:36:10, Info CBS SQM: resolve time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2020-07-17 16:36:10, Info CBS SQM: stage time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2020-07-17 16:36:10, Info CBS SQM: execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2020-07-17 16:36:10, Info CBS SQM: Win SAT assessment state is invalid.
2020-07-17 16:36:10, Info CBS SQM: average disk throughput datapoint is invalid [HRESULT = 0x80004005 - E_FAIL]
2020-07-17 16:36:10, Info CBS Exec: Processing complete. Session: 30825618_4206409198, Package: Package_for_KB4566425~31bf3856ad364e35~x86~~6.3.1.1 [HRESULT = 0x80071a30 - ERROR_TRANSACTION_ALREADY_ABORTED]
2020-07-17 16:36:11, Error CBS Failed to perform operation. [HRESULT = 0x80071a30 - ERROR_TRANSACTION_ALREADY_ABORTED]
2020-07-17 16:36:11, Info CBS Session: 30825618_4206409198 finalized. Reboot required: no [HRESULT = 0x80071a30 - ERROR_TRANSACTION_ALREADY_ABORTED]

This is what I've done so far.

CHKDSK /R /F /offlinescanandfix on all volumes

SFC /Scannow (Windows Resource Protection found corrupt files but was unable to fix some)

DISM /online /Cleanup-Image /StartComponentCleanup (failed with same Error: 6704 It is too late to perform the requested operation, since the Transaction has already been aborted.)

DISM /Online /Cleanup-Image /RestoreHealth (failed with same Error: 6704 It is too late to perform the requested operation, since the Transaction has already been aborted.)

Windows Update Troubleshooter hangs even after a reboot.

Disk Cleanup including dumping the Shadow Copy

Turned off System Restore

Renaming SoftwareDistribution

Renaming Catroot2

Clean Boot

Diagnostic Startup

Checked that BITS and WUS are enabled

Continue reading...
 
Back
Top