Can not get role and feature data

I am running Windows 2012 R2 standard in a virtual machine. When I run the server manager I get 2 errors:

1. Cannot get role and feature data

2. Windows Modules Installer stopped (I will ask about this in a separate question so that we can stay on point)

Why am I getting error 1 and how can I resolve it?

Thanks

Sam

April 2nd, 2015 2:24pm

Hi Sam,

I suggest you can collect more detailed information to help us to troubleshoot:

1. Please make sure you open Server Manager with Admin privilege

2. Collect related error or failure information fom Event Viewer, please also post the error code if any.

3. Check the CBS.log under "C:\Windows\Logs\CBS"

4. Please make sure you have installed Windows Updates.

If there is anything else regarding this issue, please feel free to post back.

Best Regards,

Anna Wang

Free Windows Admin Tool Kit Click here and download it now
April 3rd, 2015 9:14am

Anna,

Sorry for the delay in getting back to you, this has not been a good week to be at IT person at my company :-)

Here are some of the errors that I'm getting (I'm running all processing as administrator):

Log file is located at C:\Users\administrator.GLS\AppData\Local\Temp\2\tmp686A.tmp
Post install is starting
Fatal Error: Cannot start service MSSQL$MICROSOFT##WID on computer '.'.

And the log file looks like this:

2015-04-06 16:28:35  Postinstall started
2015-04-06 16:28:35  Detected role services: Api, UI, WidDatabase, Services
2015-04-06 16:28:35  Start: LoadSettingsFromParameters
2015-04-06 16:28:35  Content local is: True
2015-04-06 16:28:35  Content directory is: e:
2015-04-06 16:28:35  SQL instname is:
2015-04-06 16:28:35  End: LoadSettingsFromParameters
2015-04-06 16:28:35  Start: Run
2015-04-06 16:28:35  Fetching WsusAdministratorsSid from registry store
2015-04-06 16:28:35  Value is (null)
2015-04-06 16:28:35  Configuring content directory...
2015-04-06 16:28:35  Configuring groups...
2015-04-06 16:28:35  Starting group configuration for WSUS Administrators...
2015-04-06 16:28:35  Group does not already exist in the registry
2015-04-06 16:28:36  Searching for existing group...
2015-04-06 16:28:36  Existing group was found
2015-04-06 16:28:36  Writing group to registry...
2015-04-06 16:28:36  Finished group creation
2015-04-06 16:28:36  Starting group configuration for WSUS Reporters...
2015-04-06 16:28:36  Group does not already exist in the registry
2015-04-06 16:28:36  Searching for existing group...
2015-04-06 16:28:36  Existing group was found
2015-04-06 16:28:36  Writing group to registry...
2015-04-06 16:28:36  Finished group creation
2015-04-06 16:28:36  Configuring permissions...
2015-04-06 16:28:36  Fetching content directory...
2015-04-06 16:28:36  Fetching ContentDir from registry store
2015-04-06 16:28:36  Value is e:
2015-04-06 16:28:36  Fetching group SIDs...
2015-04-06 16:28:36  Fetching WsusAdministratorsSid from registry store
2015-04-06 16:28:36  Value is S-1-5-21-1886460393-2902805319-3440582038-1010
2015-04-06 16:28:36  Fetching WsusReportersSid from registry store
2015-04-06 16:28:36  Value is S-1-5-21-1886460393-2902805319-3440582038-1011
2015-04-06 16:28:36  Creating group principals...
2015-04-06 16:28:38  Granting directory permissions...
2015-04-06 16:28:38  Granting permissions on content directory...
2015-04-06 16:28:39  Granting registry permissions...
2015-04-06 16:28:39  Granting registry permissions...
2015-04-06 16:28:39  Granting registry permissions...
2015-04-06 16:28:39  Configuring shares...
2015-04-06 16:28:39  Configuring network shares...
2015-04-06 16:28:39  Fetching content directory...
2015-04-06 16:28:39  Fetching ContentDir from registry store
2015-04-06 16:28:39  Value is e:
2015-04-06 16:28:39  Fetching WSUS admin SID...
2015-04-06 16:28:39  Fetching WsusAdministratorsSid from registry store
2015-04-06 16:28:39  Value is S-1-5-21-1886460393-2902805319-3440582038-1010
2015-04-06 16:28:39  Content directory is local, creating content shares...
2015-04-06 16:28:39  Creating share "UpdateServicesPackages" with path "e:UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published on this WSUS system."
2015-04-06 16:28:39  Deleting existing share...
2015-04-06 16:28:39  Creating share...
2015-04-06 16:28:39  Share successfully created
2015-04-06 16:28:39  Creating share "WsusContent" with path "e:WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2015-04-06 16:28:39  Deleting existing share...
2015-04-06 16:28:39  Creating share...
2015-04-06 16:28:39  Share successfully created
2015-04-06 16:28:39  Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
2015-04-06 16:28:39  Creating share...
2015-04-06 16:28:39  Share successfully created
2015-04-06 16:28:39  Finished creating content shares
2015-04-06 16:28:39  Stopping service WSUSService
2015-04-06 16:28:39  Stopping service W3SVC
2015-04-06 16:28:39  Configuring WID database...
2015-04-06 16:28:39  Configuring the database...
2015-04-06 16:28:40  System.InvalidOperationException: Cannot start service MSSQL$MICROSOFT##WID on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not start due to a logon failure
   --- End of inner exception stack trace ---
   at System.ServiceProcess.ServiceController.Start(String[] args)
   at Microsoft.UpdateServices.Administration.ConfigureDB.Configure()
   at Microsoft.UpdateServices.Administration.PostInstall.Run()
   at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)

Server Manager tells me that 3 services are all stopped

Windows Internal Database

World Wide Web Publishing Service (W3SVC)

Windows Modules Installer

And under Manageability I get "Online - Cannot get role and feature data"

As for current updates that need to be downloaded, there are 2, Update for Windows Server 2012 R2 (KB2955164) and Security Update for SQL Server 2008 R2 Service Pack 2 (KB2977320). When I try to install these I get an error message "Windows couldn't complete the requested changes. Windows Server roles and features cannot be automatically installed or uninstalled via the Windows Features Control Panel. To install Windows Server roles and features, start Server Manager, or use the Server Manager cmdlets for Windows Powershell" and then it fails." First, I don't see anything in the Server Manager that is about downloading patches and second, at this point in the failure "The request to list features available on the specified server failed". At this point I reboot the server to clear out everything and to see if I can add these patches but I don't see anything that describes installing patches.

My CBS.log file is over 14MB so I don't want to attach it to this conversation. If there is something specific to look for please let me know.

Hopefully this is enough information to get started. And, thank you very much for your help

April 6th, 2015 6:27pm

Hi Sam,

For the "Cannot start service MSSQL$MICROSOFT##WID on computer " error, please check the service "Windows Internal Database (WID)", the logon account is "NT SERVICE\MSSQL$MICROSOFT##WID" by default, so you can investigate this service and troubleshoot why it can't start.

If there is anything else regarding this issue, please feel free to post back.

Best Regards,

Anna Wang

Free Windows Admin Tool Kit Click here and download it now
April 6th, 2015 11:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics