Link to home
Start Free TrialLog in
Avatar of Exchange123
Exchange123Flag for United States of America

asked on

2016 Server Std Server Manager Auto Refresh Failed Error: 0x800f0805. Can't install windows features

ServerName: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

Also receive the below when running a Get-windowsfeature command in powershell

PS C:\Windows\system32> get-windowsfeature
get-windowsfeature : 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
At line:1 char:1
+ get-windowsfeature
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Get-WindowsFeature], Dep
   loymentProviderException
    + FullyQualifiedErrorId : Failure_Retrieving_Dism_Features,Microsoft.Windows.ServerManager.Commands.GetWindowsFeat
   ureCommand

I've tried running all of the below with no luck.

dism /online cleanup-image /scanhealth
dism /online cleanup-image /checkhealth
dism /online cleanup-image /restorehealth
also dism /online cleanup-image /restorehealth /source :E:\sources\install.wim:1 /limitaccess 

sfc /scannow

chkdsk /scan
chkdsk /f /r
Avatar of Exchange123
Exchange123
Flag of United States of America image

ASKER

CBS.log detail below.

020-11-06 18:41:28, Info                  CBS    TI: --- Initializing Trusted Installer ---
2020-11-06 18:41:28, Info                  CBS    TI: Last boot time: 2020-11-06 17:45:44.490
2020-11-06 18:41:28, Info                  CBS    Starting TrustedInstaller initialization.
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: CCbsPublicSessionClassFactory, level: 30, total lock:5
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: CCbsPublicSessionClassFactory, level: 30, total lock:6
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: WinlogonNotifyLock, level: 8, total lock:7
2020-11-06 18:41:28, Info                  CBS    Ending TrustedInstaller initialization.
2020-11-06 18:41:28, Info                  CBS    Starting the TrustedInstaller main loop.
2020-11-06 18:41:28, Info                  CBS    TrustedInstaller service starts successfully.
2020-11-06 18:41:28, Info                  CBS    No startup processing required, TrustedInstaller service was not set as autostart
2020-11-06 18:41:28, Info                  CBS    Startup processing thread terminated normally
2020-11-06 18:41:28, Info                  CBS    TI: Startup Processing completes, release startup processing lock.
2020-11-06 18:41:28, Info                  CBS    Starting TiWorker initialization.
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: TiWorkerClassFactory, level: 30, total lock:2
2020-11-06 18:41:28, Info                  CBS    Ending TiWorker initialization.
2020-11-06 18:41:28, Info                  CBS    Starting the TiWorker main loop.
2020-11-06 18:41:28, Info                  CBS    TiWorker starts successfully.
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: CCbsWorker, level: 5, total lock:3
2020-11-06 18:41:28, Info                  CBS    Universal Time is: 2020-11-06 23:41:28.387
2020-11-06 18:41:28, Info                  CBS    Loaded Servicing Stack v10.0.14393.3801 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14393.3801_none_7ed07ae422175cd5\cbscore.dll
2020-11-06 18:41:28, Info                  CSI    00000001@2020/11/6:23:41:28.391 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ff876ae6cd9 @0x7ff877244f43 @0x7ff877243ab2 @0x7ff7c4962d9d @0x7ff7c49635e0 @0x7ff8b8a58253)
2020-11-06 18:41:28, Info                  CBS    Could not load SrClient DLL from path: SrClient.dll.  Continuing without system restore points.
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: CCbsSessionManager, level: 11, total lock:14
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: CSIInventoryCriticalSection, level: 64, total lock:15
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: FlightPackageCacheCriticalSection, level: 128, total lock:16
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: CCbsCapabilityManager, level: 11, total lock:17
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: CCbsWorkerQueue, level: 60, total lock:18
2020-11-06 18:41:28, Info                  CBS    Lock: New lock added: CCbsWorkerQueue:m_WindowsUpdateExpressDownloadLock, level: 10, total lock:19
2020-11-06 18:41:28, Info                  CBS    NonStart: Set pending store consistency check.
2020-11-06 18:41:28, Info                  CBS    Session: 30848150_1491837224 initialized by client DISM Package Manager Provider, external staging directory: (null), external registry directory: (null
2020-11-06 18:41:28, Info                  CBS    Not able to find an installed package package from moniker: @Foundation [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2020-11-06 18:41:28, Info                  CBS    Failed to resolve package from moniker [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2020-11-06 18:41:28, Info                  CBS    Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
2020-11-06 18:43:28, Info                  CBS    Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2020-11-06 18:43:28, Info                  CBS    TiWorker signaled for shutdown, going to exit.
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: ExecutionEngineFinalize
2020-11-06 18:43:28, Info                  CBS    Ending the TiWorker main loop.
2020-11-06 18:43:28, Info                  CBS    Starting TiWorker finalization.
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: ManifestCacheFinalize
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: ExecutionEngineFinalize
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: ComponentAnalyzerFinalize
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: PackageTrackerFinalize
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: CoreResourcesUnload
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: SessionManagerFinalize
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: CapabilityManagerFinalize
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: PublicObjectMonitorFinalize
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: Enter vCoreInitializeLock
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: WcpUnload
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: DrupUnload
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: CfgMgr32Unload
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: DpxUnload
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: CbsEsdUnload
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: CbsTraceInfoUninitialize
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: CbsEventUnregister
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: AppContainerUnload
2020-11-06 18:43:28, Info                  CBS    CbsCoreFinalize: WdsUnload, logging from cbscore will end.
2020-11-06 18:43:28, Info                  CBS    Ending TiWorker finalization.
2020-11-06 18:43:28, Info                  CBS    Ending the TrustedInstaller main loop.
2020-11-06 18:43:28, Info                  CBS    Starting TrustedInstaller finalization.
2020-11-06 18:43:28, Info                  CBS    Ending TrustedInstaller finalization.
2020-11-06 18:46:48, Info                  CBS    TI: --- Initializing Trusted Installer ---
2020-11-06 18:46:48, Info                  CBS    TI: Last boot time: 2020-11-06 17:45:44.490
2020-11-06 18:46:48, Info                  CBS    Starting TrustedInstaller initialization.
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: CCbsPublicSessionClassFactory, level: 30, total lock:5
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: CCbsPublicSessionClassFactory, level: 30, total lock:6
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: WinlogonNotifyLock, level: 8, total lock:7
2020-11-06 18:46:48, Info                  CBS    Ending TrustedInstaller initialization.
2020-11-06 18:46:48, Info                  CBS    Starting the TrustedInstaller main loop.
2020-11-06 18:46:48, Info                  CBS    TrustedInstaller service starts successfully.
2020-11-06 18:46:48, Info                  CBS    No startup processing required, TrustedInstaller service was not set as autostart
2020-11-06 18:46:48, Info                  CBS    Startup processing thread terminated normally
2020-11-06 18:46:48, Info                  CBS    TI: Startup Processing completes, release startup processing lock.
2020-11-06 18:46:48, Info                  CBS    Starting TiWorker initialization.
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: TiWorkerClassFactory, level: 30, total lock:2
2020-11-06 18:46:48, Info                  CBS    Ending TiWorker initialization.
2020-11-06 18:46:48, Info                  CBS    Starting the TiWorker main loop.
2020-11-06 18:46:48, Info                  CBS    TiWorker starts successfully.
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: CCbsWorker, level: 5, total lock:3
2020-11-06 18:46:48, Info                  CBS    Universal Time is: 2020-11-06 23:46:48.444
2020-11-06 18:46:48, Info                  CBS    Loaded Servicing Stack v10.0.14393.3801 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.14393.3801_none_7ed07ae422175cd5\cbscore.dll
2020-11-06 18:46:48, Info                  CSI    00000001@2020/11/6:23:46:48.447 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ff876ae6cd9 @0x7ff87a6c4f43 @0x7ff87a6c3ab2 @0x7ff7c4962d9d @0x7ff7c49635e0 @0x7ff8b8a58253)
2020-11-06 18:46:48, Info                  CBS    Could not load SrClient DLL from path: SrClient.dll.  Continuing without system restore points.
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: CCbsSessionManager, level: 11, total lock:14
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: CSIInventoryCriticalSection, level: 64, total lock:15
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: FlightPackageCacheCriticalSection, level: 128, total lock:16
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: CCbsCapabilityManager, level: 11, total lock:17
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: CCbsWorkerQueue, level: 60, total lock:18
2020-11-06 18:46:48, Info                  CBS    Lock: New lock added: CCbsWorkerQueue:m_WindowsUpdateExpressDownloadLock, level: 10, total lock:19
2020-11-06 18:46:48, Info                  CBS    NonStart: Set pending store consistency check.
2020-11-06 18:46:48, Info                  CBS    Session: 30848151_397428065 initialized by client DISM Package Manager Provider, external staging directory: (null), external registry directory: (null
2020-11-06 18:46:48, Info                  CBS    Not able to find an installed package package from moniker: @Foundation [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2020-11-06 18:46:48, Info                  CBS    Failed to resolve package from moniker [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2020-11-06 18:46:48, Info                  CBS    Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
2020-11-06 18:48:48, Info                  CBS    Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2020-11-06 18:48:48, Info                  CBS    TiWorker signaled for shutdown, going to exit.
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: ExecutionEngineFinalize
2020-11-06 18:48:48, Info                  CBS    Ending the TiWorker main loop.
2020-11-06 18:48:48, Info                  CBS    Starting TiWorker finalization.
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: ManifestCacheFinalize
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: ExecutionEngineFinalize
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: ComponentAnalyzerFinalize
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: PackageTrackerFinalize
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: CoreResourcesUnload
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: SessionManagerFinalize
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: CapabilityManagerFinalize
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: PublicObjectMonitorFinalize
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: Enter vCoreInitializeLock
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: WcpUnload
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: DrupUnload
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: CfgMgr32Unload
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: DpxUnload
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: CbsEsdUnload
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: CbsTraceInfoUninitialize
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: CbsEventUnregister
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: AppContainerUnload
2020-11-06 18:48:48, Info                  CBS    CbsCoreFinalize: WdsUnload, logging from cbscore will end.
2020-11-06 18:48:48, Info                  CBS    Ending TiWorker finalization.
2020-11-06 18:48:48, Info                  CBS    Ending the TrustedInstaller main loop.
2020-11-06 18:48:48, Info                  CBS    Starting TrustedInstaller finalization.
2020-11-06 18:48:48, Info                  CBS    Ending TrustedInstaller finalization.


I resolved it by mounting the 2016 server std iso and running setup.exe to repair the existing windows installation.
Avatar of Jazz Marie Kaur
Hi Travis,

Welcome to Experts Exchange!

Remember to mark your answer as the solution to close it out as it could definitely assist others on EE in the future.
ASKER CERTIFIED SOLUTION
Avatar of Exchange123
Exchange123
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial