[SOLVED] Windows 2012 Standard Error 0x800f0805 - Role and Feature Refresh Failed

KeepiTSimple

Member
Joined
Dec 28, 2021
Posts
6
Hi,

This is driving me insane. I have tried everything that I can think about and still the same issue.

ErrorSRV : Role and feature refresh failed with the following error: The request to list features available on the specified server failed.
Unable to obtain the feature list.
The specified package is not valid Windows package. Error: 0x800f0805
08/11/2022 13:06:30

Done SFC, DISM and still the same error - Where would you like to start? you'll probably want the logs - The CBS log is almost 10mb so you probably want me to trim that one down, but guided by you to try and put this one to bed.

thanks
 
this is driving me insane - so I did a bit more digging rebooted the server and had procmon running. The lines in the DISM.log have an error which point to not being able to load a package

2022-11-12 14:55:31, Info DISM API: PID=5152 TID=5196 Enter DismGetFeaturesExInternal - DismGetFeaturesExInternal
2022-11-12 14:55:31, Info DISM API: PID=5152 TID=5196 Input parameters: Session: 3, Identifier: @Foundation, PackageIdentifier: 1 - DismGetFeaturesExInternal
2022-11-12 14:55:31, Info DISM API: PID=5152 TID=5196 Successfully enqueued command object - CCommandThread::EnqueueCommandObject
2022-11-12 14:55:31, Info DISM API: PID=5152 TID=5368 ExecuteLoop: CommandQueue signaled - CCommandThread::ExecuteLoop
2022-11-12 14:55:31, Info DISM API: PID=5152 TID=5368 Successfully dequeued command object - CCommandThread::DequeueCommandObject
2022-11-12 14:55:31, Info DISM DISM Provider Store: PID=3268 TID=5820 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
2022-11-12 14:55:31, Info DISM DISM Provider Store: PID=3268 TID=5820 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider
2022-11-12 14:55:31, Info DISM DISM Provider Store: PID=3268 TID=5820 Loading Provider from location C:\Windows\TEMP\FF5B3E8B-19C5-41E5-B2FF-48481DDF6D31\CbsProvider.dll - CDISMProviderStore::Internal_GetProvider
2022-11-12 14:55:31, Info DISM DISM Provider Store: PID=3268 TID=5820 Connecting to the provider located at C:\Windows\TEMP\FF5B3E8B-19C5-41E5-B2FF-48481DDF6D31\CbsProvider.dll. - CDISMProviderStore::Internal_LoadProvider
2022-11-12 14:55:31, Info DISM DISM Provider Store: PID=3268 TID=5820 Encountered a servicing provider, performing additional servicing initializations. - CDISMProviderStore::Internal_LoadProvider
2022-11-12 14:55:32, Info DISM DISM Package Manager: PID=3268 TID=5820 Finished initializing the CbsConUI Handler. - CCbsConUIHandler::Initialize
2022-11-12 14:55:32, Info DISM DISM Package Manager: PID=3268 TID=5820 CBS is being initialized for online use. More information about CBS actions can be located at: %windir%\logs\cbs\cbs.log - CDISMPackageManager::Initialize
2022-11-12 14:55:32, Info DISM DISM Package Manager: PID=3268 TID=5820 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
2022-11-12 14:55:32, Error DISM DISM Package Manager: PID=3268 TID=5820 Failed opening package @Foundation. - CDISMPackageManager::Internal_CreatePackageByName(hr:0x800f0805)
2022-11-12 14:55:32, Error DISM DISM Package Manager: PID=3268 TID=5820 Failed to get the underlying cbs package. - CDISMPackageManager::OpenPackageByName(hr:0x800f0805)
2022-11-12 14:55:32, Error DISM DISM Package Manager: PID=3268 TID=5820 The specified package is not valid Windows package. - GetCbsErrorMsg
2022-11-12 14:55:32, Error DISM API: PID=5152 TID=5368 Failed to open package - CGetFeaturesCommandObject::InternalExecute(hr:0x800f0805)
2022-11-12 14:55:32, Error DISM API: PID=5152 TID=5368 InternalExecute failed - CBaseCommandObject::Execute(hr:0x800f0805)
2022-11-12 14:55:32, Error DISM API: PID=5152 TID=5196 CGetFeaturesCommandObject internal execution failed - DismGetFeaturesExInternal(hr:0x800f0805)

2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 Exit DismGetFeaturesExInternal - DismGetFeaturesExInternal
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 Enter DismGetLastErrorMessageInternal - DismGetLastErrorMessageInternal
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 Exit DismGetLastErrorMessageInternal - DismGetLastErrorMessageInternal
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 Enter DismDeleteInternal - DismDeleteInternal
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 Leave DismDeleteInternal - DismDeleteInternal
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 Enter DismCloseSessionInternal - DismCloseSessionInternal
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 Input parameters: Session: 3 - DismCloseSessionInternal
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 GetReferenceCount hr: 0x0 - CSessionTable::RemoveSession
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 Refcount for DismSession= 3s 0 - CSessionTable::RemoveSession
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5196 Successfully enqueued command object - CCommandThread::EnqueueCommandObject
2022-11-12 14:55:32, Info DISM API: PID=5152 TID=5368 ExecuteLoop: CommandQueue signaled - CCommandThread::ExecuteLoop


ok, so I looked in the CBS.log and at 14:55:32 there is an issue with loading a package

2022-11-12 14:54:50, Info CBS TiWorker starts successfully.
2022-11-12 14:54:50, Info CBS Universal Time is: 2022-11-12 14:54:50.705
2022-11-12 14:54:50, Info CBS Failed to find a matching version for servicing stack: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.23327_none_62f63fa069f94440\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2022-11-12 14:54:50, Info CBS Failed to find servicing stack directory in online store. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2022-11-12 14:54:50, Info CBS Must be doing offline servicing, using stack version from: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.23327_none_62f63fa069f94440\cbscore.dll
2022-11-12 14:54:50, Info CBS Loaded Servicing Stack v6.2.9200.23327 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.2.9200.23327_none_62f63fa069f94440\cbscore.dll
2022-11-12 14:54:50, Info CSI 00000001@2022/11/12:14:54:50.712 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fc61b96351 @0x7fc61f49e2e @0x7fc61f04f70 @0x7f75600d1df @0x7f75600d95c @0x7fc891e1065)
2022-11-12 14:54:50, Info CBS Could not load SrClient DLL from path: SrClient.dll. Continuing without system restore points.
2022-11-12 14:54:50, Info CSI 00000002@2022/11/12:14:54:50.714 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7fc61b96351 @0x7fc61fa6618 @0x7fc61f67e19 @0x7fc61f050e3 @0x7f75600d1df @0x7f75600d95c)
2022-11-12 14:54:50, Info CBS NonStart: Set pending store consistency check.
2022-11-12 14:54:50, Info CBS Session: 30996134_3074717199 initialized by client DISM Package Manager Provider.
2022-11-12 14:54:50, Info CBS Not able to find an installed package package from moniker: @Foundation [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2022-11-12 14:54:50, Info CBS Failed to resolve package from moniker [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2022-11-12 14:54:50, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
2022-11-12 14:55:32, Info CBS Session: 30996134_3488946713 initialized by client DISM Package Manager Provider.
2022-11-12 14:55:32, Info CBS Not able to find an installed package package from moniker: @Foundation [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2022-11-12 14:55:32, Info CBS Failed to resolve package from moniker [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2022-11-12 14:55:32, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]

2022-11-12 14:57:32, Info CBS Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2022-11-12 14:57:32, Info CBS TiWorker signaled for shutdown, going to exit.
2022-11-12 14:57:32, Info CBS Ending the TiWorker main loop.
2022-11-12 14:57:32, Info CBS Starting TiWorker finalization.
2022-11-12 14:57:32, Info CBS Ending the TrustedInstaller main loop.
2022-11-12 14:57:32, Info CBS Starting TrustedInstaller finalization.
2022-11-12 14:57:32, Info CBS Ending TrustedInstaller finalization.
2022-11-12 14:57:32, Info CBS Ending TiWorker finalization.


I included the extra lines above in case they are of any use - but which package is invalid???? I have attached the procmon log file as well
maybe somebody can point me in the right direction as i can't see the wood from the trees
 

Attachments

right, took a leap of faith and exported the CBS keys from the registry from another server - same version and imported into the affected server - took care in importing the keys and had to change permissions on the CBS key first and it all worked. however, under the server manager file services and storage services, I can now allocate more space to the virtual disk than I have on the physical disk. Very odd. I guess this is for another day
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top