Your network contains an Active Directory forest named contoso.com. The forest contains a single
domain. The domain contains two domain controllers named DC1 and DC2 that run Windows Server
2012 R2.
The domain contains a user named User1 and a global security group named Group1.
You reconfigure DC2 as a member server in the domain.
You need to add DC2 as the first domain controller in a new domain in the forest.
Which cmdlet should you run?
A.
Add-AdPrincipalGroupMembership
B.
Install-AddsDomainController
C.
Install WindowsFeature
D.
Install AddsDomain
E.
Rename-AdObject
F.
Set AdAccountControl
G.
Set-AdGroup
H.
Set-User
Explanation:
Since a member server does not have Active Directory Domain Services installed, you must install
this role before you can configure the new Domain Controller (which would require you to run
Install-ADDSForest).
demote domain controller with powershell ==> Answer ist B
Uninstall domain controller with server manager ==> Answer ist C while server manager remove ADDS role too
So what is the right answer ?
Someone else has an idea ?
This question was already pretty well discussed in the pervious exam versions on this website. See:
http://www.aiotestking.com/microsoft/which-cmdlet-should-you-run-144/
http://www.aiotestking.com/microsoft/which-cmdlet-should-you-run-167/
According to the assumptions… when you demote via powershell, then the windowsfeature is still installed and you would have to use “Install-ADDSDomain” to create a new child domain. If you demote via GUI/Server Manager, then the feature is also uninstalled and you have to Install-Windowsfeature again.
Conclusion:
Removed with Powershell: D. Install-ADDSDomain
Removed with Server Manager: C. Install-WindowsFeature
On the exam I am going for D hence we are currently talking about powershell and I assume that they demoted via Powershell.
Agreeing with your conclusion but as far as I noticed in all of these questions….
hardly ever it’s specified that Windows Server is installed as full installation, but is almost always writen when it’s installed as a Server Core installation.
And as it isn’t specified, I’d go with answer C.
I agree with pikapoka , they are not say Server core installation, so the answer is C by Fuxi’s answer.
D
C
The question states you “reconfigure” the server as a member server. If you are doing your job right and reconfigure it as a member server properly, then you will have removed AD DS in the process. always keep in mind that Microsoft test questions are designed to trip you up and missing the slightest thing can change your answer to the wrong answer.
This is not accurate. If you run Uninstall-ADDSDomainController on a domain controller, or if you attempt to uninstall Active Directory Domain Services via Server Manager, the server will be demoted but AD DS will remain on the server.
After demotion, the AD DS role will appear in Server Manager as Installed/checked and grayed out. This is the case regardless of whether or not the DC you are demoting is the last in the domain. I have tested and confirmed all of this in my lab environment.
In the question above, DC2 is being demoted in order to be used as a new DC in a new domain. Since demotion does not remove AD DS from the server, all you would need to do is run Install-ADDSDomain to create the new domain. DC1 would be contacted to complete the schema change.
From Microsoft: “Windows PowerShell allows you to script the removal of AD DS. If you plan to demote a domain controller temporarily, you do not need to remove and then reinstall the AD DS server role.”
https://technet.microsoft.com/en-us/library/hh472163(v=ws.11).aspx
D is the correct answer.
D is the correct answer.
Installs a new Active Directory domain configuration
C:\PS>Install-ADDSDomain -Credential (Get-Credential CORP\EnterpriseAdmin1) -NewDomainName
child – ParentDomainName corp.contoso.com -InstallDNS -CreateDNSDelegation -DomainMode
Win2003 – ReplicationSourceDC DC1.corp.contoso.com -SiteName Houston -DatabasePath “D:\NTDS”
–SYSVOLPath “D:\SYSVOL” -LogPath “E:\Logs” –NoRebootOnCompletion
References:
http://technet.microsoft.com/en-us/library/hh974722.aspx