Installing cumulative updates gives error 0x800F0841

Copper Contributor

Hello,

 

We have some Windows 2016 servers where we have som problems to install cumulative updates, have tried both with January and February (not tried with March and cannot do it until the update has been tested in test enviornment)

The installation goes fine, the machine reboots and then it takes about 1 1/2 hour and then the machine reboots, working on updates and logs in - but update has not been installed.

 

Error in the event log:

Source: Microsoft-Windows-WindowsUpdateClient
Date: 2023-03-21 11:36:49
Event ID: 20
Task Category: Windows Update Agent
Level: Error
Keywords: Failure,Installation
User: SYSTEM
Computer: Servername
Description:
Installation Failure: Windows failed to install the following update with error 0x800F0841: Security Update for Windows (KB5022289).

Looking in the CBS log I see the following errors:

First error in the CBSlog - the package it fails on differs

 

2023-03-20 15:44:51, Info CBS Exec: Install package: Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13, Update: 5022838-11470_neutral
2023-03-20 15:44:51, Info CBS Exec: Installing Package: Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13, Update: 5022838-11470_neutral, InstallDeployment: amd64_9ec781f61016ccabb249df32b6034f86_31bf3856ad364e35_10.0.14393.351_none_afee0f6dbad20842
2023-03-20 15:44:52, Info CSI 00000ed9 Performing 1 operations as follows:
(0) AddCat: flags: 1 catfile: @0x1fbad6ee970
2023-03-20 15:44:52, Info CBS Exec: Install package: Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13, Update: 5022838-11471_neutral
2023-03-20 15:44:52, Info CBS Exec: Installing Package: Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13, Update: 5022838-11471_neutral, InstallDeployment: amd64_c5d6b8775e79846ea33d3c840783dc10_31bf3856ad364e35_10.0.14393.4169_none_4e907457ef66d2fe
2023-03-20 15:44:57, Error CSI 00000eda (F) STATUS_TOO_LATE #201664927# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey(flg = (AllowKeyNotFound|AllowAccessDenied), key = {provider=NULL, handle=0, name= ("null")}, da = (STANDARD_RIGHTS_READ|KEY_WOW64_64KEY), oa = @0xd7e7d7e350->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[17]'\Registry\Machine'; a:(OBJ_CASE_INSENSITIVE)}, disp = Unmapped disposition: 3889684776)[gle=0xd0000189]
2023-03-20 15:44:57, Error CSI 00000edb@2023/3/20:14:44:57.929 (F) onecore\base\wcp\sil\merged\ntu\ntsystem.cpp(5238): Error STATUS_TOO_LATE originated in function Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey expression: (null)
[gle=0x80004005]
2023-03-20 15:44:57, Info CONX aepic: TRACE,AmipVerifyCachePermissionsCorrect,2107,RegLoadKey failed [19]

2023-03-20 15:44:57, Info CONX aepic: TRACE,AmiStoreInitialize,700,AmipVerifyCachePermissionsCorrect could not fix existing cache. Creating a new one: C:\Windows\AppCompat\Programs\Amcache.hve.tmp

2023-03-20 15:44:57, Info CONX aepic: TRACE,AmiStoreInitialize,701,Commandline is: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14393.5771_none_7ee250a22208ec93\TiWorker.exe -Embedding

2023-03-20 15:44:57, Error CONX aepic: ERROR,AmipCreateNewCacheFile,110,RegCreateKeyEx failed [19]

2023-03-20 15:44:57, Error CONX aepic: ERROR,AmiStoreInitialize,716,AmipCreateNewCacheFile [19]

2023-03-20 15:44:57, Info CONX aepic: TRACE,AmiProviderInit,93,Failed to initialize store [19]

2023-03-20 15:44:57, Info CONX aepic: TRACE,AmipVerifyCachePermissionsCorrect,2107,RegLoadKey failed [19]

2023-03-20 15:44:57, Info CONX aepic: TRACE,AmiStoreInitialize,700,AmipVerifyCachePermissionsCorrect could not fix existing cache. Creating a new one: C:\Windows\AppCompat\Programs\Amcache.hve.tmp

 

Followed by

 

2023-03-20 15:44:57, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230313170436.log to WER report.

2023-03-20 15:44:57, Info CBS Added C:\Windows\Logs\CBS\CbsPersist_20230313114316.cab to WER report.
2023-03-20 15:44:57, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-03-20 15:44:57, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-03-20 15:44:57, Info CBS Failed to open regkey configuration. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to query Consent Key. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Error CSI 00000edc (F) STATUS_TOO_LATE #201664926# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey(flg = (AllowKeyNotFound), key = {provider=NULL, handle=0, name= ("null")}, da = (STANDARD_RIGHTS_READ|KEY_WOW64_64KEY), oa = @0xd7e7d7e350->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[17]'\Registry\Machine'; a:(OBJ_CASE_INSENSITIVE)}, disp = Unmapped disposition: 3889685640)[gle=0xd0000189]
2023-03-20 15:44:57, Error CSI 00000edd@2023/3/20:14:44:57.983 (F) onecore\base\wcp\sil\merged\ntu\ntsystem.cpp(5238): Error STATUS_TOO_LATE originated in function Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey expression: (null)
[gle=0x80004005]


Followed by:

2023-03-20 15:44:57, Info CBS Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-03-20 15:44:57, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-03-20 15:44:57, Info CBS Failed to open regkey configuration. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to query Consent Key. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Error CSI 00000ede (F) STATUS_TOO_LATE #201664925# from Windows::Rtl::SystemImplementation::CBufferedRegistryProvider::SysOpenKey(flg = 0, key = {provider=NULL, handle=0, name= ("null")}, da = (KEY_ALL_ACCESS), oa = @0xd7e7d7e930->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[28]'\Registry\Machine\COMPONENTS'; a:(OBJ_CASE_INSENSITIVE)}, disp = Unmapped disposition: 3889686880)[gle=0xd0000189]
2023-03-20 15:44:57, Error CSI 00000edf (F) STATUS_TOO_LATE #201664924# from Windows::Rtl::SystemImplementation::CSystemIsolationLayer_IRtlSystemIsolationLayerTearoff::OpenRegistryKey(flags = (OpenForBackupIntent), da = (KEY_ALL_ACCESS), kn = [l:28]'\Registry\Machine\COMPONENTS', key = NULL, disp = Invalid)[gle=0xd0000189]
2023-03-20 15:44:57, Error CSI 00000ee0 (F) HRESULT_FROM_WIN32(19) #201621477# from Windows::COM::CComponentStore::InternalTransact(...)[gle=0x80070013]
2023-03-20 15:44:57, Error CSI 00000ee1 (F) HRESULT_FROM_WIN32(19) #201621476# from Windows::ServicingAPI::CCSITransaction::AddCatalog(Flags = 1, CatalogPath = '\\?\C:\Windows\Servicing\Packages\Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13.cat')[gle=0x80070013]
2023-03-20 15:44:57, Error CSI 00000ee2 (F) HRESULT_FROM_WIN32(19) #201621475# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_InstallDeployment(Flags = 0, a = c5d6b8775e79846ea33d3c840783dc10, version 10.0.14393.4169, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}, cb = (null), s = (null), rid = 'Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13.5022838-11471_neutral', rah = '2', manpath = (null), catpath = '\\?\C:\Windows\Servicing\Packages\Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13.cat', disp = 0)[gle=0x80070013]
2023-03-20 15:44:57, Error CBS Failed to verify if catalog file \\?\C:\Windows\Servicing\Packages\Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13.cat is valid. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to verify manifest against catalog, mark store as corrupt. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to open online package store: . [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to get key for store object type: 1 [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to get root of package store. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to begin deployment installation for Update: 5022838-11471_neutral [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to execute item[0] in Package: Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13, Update: 5022838-11471_neutral [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to execute execution update. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to open online package store: Packages\Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to get key for store object type: 2 [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to get out of package store package: Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13 [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to find in store package: Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13 [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to execute execution package: Package_5871_for_KB5022838~31bf3856ad364e35~amd64~~10.0.1.13 [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-03-20 15:44:57, Info CBS Failed to prepare execution [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]

 

DISM scanhealth or analyzescomponentstore etc  and SFC scannow etc reports no errors

Resetting WU components - no change

WSUS install and manual install same error

 

Any ideas ?

 

Thank you very much in advance

 

//Micke

 

 

 

0 Replies