Your network contains an Active Directory domain named contoso.com. The domain contains a
domain controller named DC5. DC5 has a Server Core Installation of Windows Server 2012 R2.
You need to uninstall Active Directory from DC5 manually.
Which tool should you use?

A.
The dsamain.exe command
B.
The ntdsutil.exe command
C.
The Remove-ADComputercmdlet
D.
The Remove-WindowsFeaturecmdlet
Explanation:
The Remove-ADComputercmdlet removes an Active Directory computer.
Example: Remove-ADComputer -Identity “FABRIKAM-SRV4”
Remove one particular computer.References:
http://technet.microsoft.com/en-us/library/ee662310.aspx
http://support.microsoft.com/kb/216498
http://technet.microsoft.com/en-us/library/ee617250.aspx
Can anyone explain how this is?
The explanation in the answer is throwing me off.
The Remove-ADComputercmdlet removes an Active Directory computer.
Example: Remove-ADComputer -Identity “FABRIKAM-SRV4”
Remove one particular computer.
This to me says that it removes an AD computer. The question asks to uninstall Active Directory from DC5 manually.
Removing the computer won’t uninstall the role?
(I understand that remove-windowsfeature is w2k8, and has been replaced with uninstall-windowsfeature)
0
0
D
http://technet.microsoft.com/en-us/library/hh472163.aspx#BKMK_RemoveSM
http://technet.microsoft.com/en-us/library/cc732257.aspx#BKMK_powershell
0
0
Remove-WindowsFeature … is a 2008 / r2 cmdlet. As stated in the “Applies too” at the top of your second link.
0
0
ANSER IS B
0
0
You have to remove it from ad first
0
0
This question is weird. In order to remove adds from domain controller it must be demoted first. Then you can remove adds. None of the answers cover this
0
0
-server
Specifies the Active Directory Domain Services instance to connect to, by providing one of the following values for a corresponding domain name or directory server. The service may be any of the following: Active Directory Lightweight Domain Services, Active Directory Domain Services or Active Directory Snapshot instance.
https://technet.microsoft.com/en-us/%5Clibrary/hh852313(v=wps.630).aspx
0
0
sorry… “C”
0
0
I think the answer is D even if Remove-WindowsFeature is a 2008 cmdlet but it’s still working because is not deprecated.
To complete uninstall for Active Directory we should use the following 2 commands:
Uninstall-addsdomaincontroller
Uninstall-windowsfeature
https://technet.microsoft.com/en-us/library/jj574104.aspx
0
0
PS C:\Users\Administrator> help Remove-WindowsFeature
NAME
Uninstall-WindowsFeature
SYNTAX
Uninstall-WindowsFeature [-Name] [-Restart] [-IncludeManagementTools] [-Remove] [-ComputerName
] [-Credential ] [-LogPath ] [-WhatIf] [-Confirm] []
Uninstall-WindowsFeature [-Name] [-Vhd ] [-IncludeManagementTools] [-Remove] [-ComputerName
] [-Credential ] [-LogPath ] [-WhatIf] [-Confirm] []
ALIASES
Remove-WindowsFeature
REMARKS
Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
— To download and install Help files for the module that includes this cmdlet, use Update-Help.
0
0
This completes the process to manually remove a domain controller from Active Directory by performing a metadata cleanup with NTDSUtil.
http://www.briandesmond.com/blog/remove-an-offline-domain-controller
i’ll go with D
0
0
In WIN SERVER 2012
‘Remove-WindowsFeature’ is an alias of ‘Uninstall-WindowsFeature’
It’s D
0
0
c can be correct
Key: You need to uninstall Active Directory from DC5 manually
My assumption would be that the server that hosts the Domain Controller role has failed and netiher of the following commands can be run as the server does exits, it failed
Uninstall-addsdomaincontroller
Uninstall-windowsfeature
So regardless of the method used to clean the failed DC from AD (likely NTDSUTIL), the last step would be to remove the computer account from AD
0
0
IT’S DEFINITELY A
I tested in my lab.
when you use remove windows feature cmdlet in W2012, it automatically switches to uninstall-windowsfeature and starts uninstalling without any problem.(it just shows a note that it states “cmdlet uninstall-windowsfeature at command pipline postion 1” which you specify the the role that you want to unistall
0
1
Answer is C.
you need to clean metadata manually and you can do it using ADUC
http://www.rebeladmin.com/2016/01/how-to-remove-active-directory-server-manually/
0
1
Misma pregunta y 2 diferentes respuestas en los exámenes de entrenamiento.
Puede ser ntdsutil y también remove-adcomputer.
0
0