Link to home
Start Free TrialLog in
Avatar of JohnBerryman
JohnBerrymanFlag for United States of America

asked on

Server 2012 R2 missing roles and features

I have a Server 2012 R2 Standard box (64-bit, 16 GB of RAM, all urgent & important updates applied) that is missing roles and features in both Server Manager and PowerShell. Server is a DC (the only one) and running Exchange 2013 (with CU11) with < 20 mailboxes.

I had a problem where Server Manager would crash every time I tried to launch the Add Roles or Remove Roles wizards in Server Manager. I fixed the crashing issue by following Frank McCourry’s advice at https://www.experts-exchange.com/questions/28394616/Server-Manager-crashes-during-Add-Roles-and-Features-wizard.html and deleting the registry keys under HKLM\SOFTWARE\Microsoft\ServerManager\ServicingStorage\ServerComponentCache. Now, I can get into the Add or the Remove Roles Wizards but some of the roles are missing. PowerShell command Get-WindowsFeature has an incomplete list of roles and features (see attachment). For example, AD DS and Hyper-V roles are installed and working on the server but aren’t listed as either installed or available.

I can restore a backup of the registry keys from before my registry edit and get back to the Server Manager crashing state but can’t seem to get everything working fully again. I also tried mounting an older backup of the HKLM hive and restoring the same registry keys from before the problem began but it didn't help.  Haven't found anything helpful in the event logs of the server either.

Any ideas experts?
-Capture.JPG
ASKER CERTIFIED SOLUTION
Avatar of Cliff Galiher
Cliff Galiher
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
Avatar of JohnBerryman

ASKER

Thank you for the response Cliff. You've exposed my laziness. I actually didn't intend on using Hyper-V beyond a day or two and don't have any VMs currently installed or running within it. I was going to test a Linux-based appliance inside Hyper-V and didn't have anything else to test it on. I realize that your answer is the RIGHT one but I'm hoping someone out there has seen this before and can bail me out of the current predicament with the roles so that I don't have to change-up my schedule this week. I don't currently have the spare hardware to build a separate box either.

Thanks again! I'm going to leave the question open a little while longer to see if anyone has any more input.