Server 2012R2 AD-Domain-Services featured removed from server - how can I reinstall?

Posted on 2016-09-03
Last Modified: 2016-09-09
To cut down on wasted space, any unused features on our Server 2012R2 template were removed.

I am currently building a new 2012R2 domain controller, but am having problems reinstalling the AD-Domain-Services feature.

Here is the current status of "removed":

current "removed" status
I understand that I should be able to mount the Server 2012 ISO (which is the D:\ in my case) and point the the sources\sxs location using the following command:

Install-WindowsFeature AD-Domain-Services - source d:\sources\sxs

However, when I try this I get the following problem:

install as-domain-services failure message
I have also tried ignoring the source and just downloading from WSUS, but this still fails.

Help please!  I need to get this DC finished by the end of the weekend.

Question by:fieldj
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 41783184
Try the following it has worked for me in the past -

Author Comment

ID: 41783187
Isn't that just for Server Core?

Expert Comment

ID: 41783188
Article yes but select server standard in your case
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 41783196
No, I mean, doesnt the fix just apply to server core?  Ayway, I tried it and I still get the same thing :(

Author Comment

ID: 41783220
I have just managed to install the DNS feature and .net 3.5 an 4.5 using this method so I know there is no problem with the syntax or the media.

Is there something that needs to be installed first before I can reinstall the AD-Domain-Services feature?

Author Comment

ID: 41783235
I have now managed to successfully install every other Active Directory related role, but I cstill get the same problem installing AD-Domain-Services.  

This is driving me crazy :(
LVL 24

Expert Comment

ID: 41783280
LVL 16

Expert Comment

ID: 41783378
Have you tried running the command

ref link:

ref link:

Accepted Solution

fieldj earned 0 total points
ID: 41783429
No luck with any of these suggestions.

I have had to scrap the server and rebuild it from scratch (with all the standard features available).

Hopefully it goes nice and smoothly this time :/

Author Comment

ID: 41784263
It was fine after rebuilding a new server without any of the Windows feature payloads removed.  No idea why I was unable to re-install the AD Domain Services payload.

Author Closing Comment

ID: 41791022
None of the suggestions worked, I had to build a new server from scratch.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

726 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