I cannot add roles or features on windows server 2008 r2 service pack 1. I am getting the following error.
Unexpected error refreshing Server Manager: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)
For more information, see the event log: Diagnostic, Event Viewer, Applications and Services Logs, Microsoft, Windows, Server Manager, Operational.
I looked at this log and it gave the following.
Could not discover the state of the system. An unexpected exception was found:
System.Runtime.InteropServices.COMException (0x80070422): The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.Windows.ServerManager.ComponentInstaller.CreateSessionAndPackage(IntPtr& session, IntPtr& package)
at Microsoft.Windows.ServerManager.ServerManagerModel.CreateLocalResult(RefreshType refreshType)
at Microsoft.Windows.ServerManager.ServerManagerModel.InternalRefreshModelResult(Object state)
Then I downloaded the system update readiness tool and it gave me the result of
Seconds executed: 1877
No errors detected
Unable to get system disk properties 0x0000045D IOCTL_STORAGE_QUERY_PROPERTY Disk Cache
Can you check if the “Windows Modules Installer” is not disabled?
Info from this service: “Enables installation, modification, and removal of Windows updates and optional components. If this service is disabled, install or uninstall of Windows updates might fail for this computer”.