Solved

Server 2012 R2 missing roles and features

Posted on 2016-11-27
2
24 Views
Last Modified: 2016-12-01
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
0
Comment
Question by:JohnBerryman
2 Comments
 
LVL 56

Accepted Solution

by:
Cliff Galiher earned 500 total points
Comment Utility
You have ADDS, Hyper-V, and exchange all on the same server?!?!  Even running any two of.those together is unsupported. All three is a guaranteed unstable system. Take this time to redo your infrastructure. Hyper-V *only.*  DC as a VM. Exchange as a different VM.  Since that'll all require reinstalls anyways, that'll also let you get you back to stable.
0
 

Author Comment

by:JohnBerryman
Comment Utility
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.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now