We help IT Professionals succeed at work.

Cannot remove roles from Server 2012 R2

Last Modified: 2019-03-09
One of our clients is experiencing issues with their Windows server.  Their previous IT installed the Server Essentials Role, along with almost every role available (Hyper-V, RDS, Fax server, etc.).  I have removed the Server Essentials Role successfully, (They have a 2012 R2 Standard license).  I need to remove the excess roles and get the machine down to only being a domain controller, DNS server, and DHCP server.  When I try to remove any of the other installed roles it fails completing the operation after the reboot and undoes the changes.  I have run the DISM utility multiple times and it keeps indicating it fixed corruption in the component store, but after a reboot and running the /scanhealth parameter, it still discovers more corruption (have tried this cycle 4 times).

Advice on where to go, or how to troubleshoot is greatly appreciated
Watch Question

Seth SimmonsLead Systems Administrator

i would just rebuild it
if you have licenses for it, you could build a 2016 (or 2019) core domain controller with only those necessary services; less to patch also
seems like trying to just remove the roles as it is is becoming more trouble than it's worth


I won't go into too much detail, but we need to do the removal without wiping the existing data. I wish reinstall was an option but the client is adamant about salvaging the server.
Distinguished Expert 2019

If the issue relates to resource, stop the unnecessary services from running.

It might be your only option.

Potentially the removal of the essentials is what prevents these roles from uninstalling.
This one is on us!
(Get your first solution completely free - no credit card required)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.