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

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.

Thanks
fieldjAsked:
Who is Participating?
 
fieldjConnect With a Mentor Author Commented:
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 :/
0
 
StuartDirectorCommented:
Try the following it has worked for me in the past - https://support.microsoft.com/en-us/kb/2913316
0
 
fieldjAuthor Commented:
Isn't that just for Server Core?
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
StuartDirectorCommented:
Article yes but select server standard in your case
0
 
fieldjAuthor Commented:
No, I mean, doesnt the fix just apply to server core?  Ayway, I tried it and I still get the same thing :(
0
 
fieldjAuthor Commented:
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?
0
 
fieldjAuthor Commented:
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 :(
0
 
FOXActive Directory/Exchange EngineerCommented:
Have you tried running the command
Test-ADDSDomainControllerInstallation

ref link: https://technet.microsoft.com/en-us/library/hh974725(v=wps.630).aspx

ref link: https://technet.microsoft.com/en-us/library/hh974719(v=wps.630).aspx
0
 
fieldjAuthor Commented:
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.
0
 
fieldjAuthor Commented:
None of the suggestions worked, I had to build a new server from scratch.
0
All Courses

From novice to tech pro — start learning today.