Which tool should you use?

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 DCS manually.
Which tool should you use?

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 DCS manually.
Which tool should you use?

A.
The Remove-ADComputercmdlet

B.
The ntdsutil.exe command

C.
The dcpromo.exe command

D.
The Remove-WindowsFeaturecmdlet

Explanation:
dcpromo /forceremoval



Leave a Reply 10

Your email address will not be published. Required fields are marked *


lrellan

lrellan

If it automatically would be the D. The Remove-WindowsFeaturecmdlet.

I think the correct answer is A. The Remove-ADCComputercmdlet as it says in the question you have to do manually uninstall.

lrellan

lrellan

He was wrong, the correct answer is B. The ntdsutil.exe command, Since it is a domain controller and not a normal server.

mina

mina

Irellan is correct its B

Daniele

Daniele

A: Remove Ad computer in Active directory users and computer, it is not a role!!!
B: ntdsutil manages active directory bu not uninstall!!!
C: In windows server 2008 this function install and disintall AD, in windows server 2012 and 2012 R” disinstall only AD.
D: AD is not a windows feature, but a role!!!

Paul

Paul

The correct Powershell cmdlet would be Uninstall-AddsDomainController.

https://technet.microsoft.com/en-us/library/jj574104.aspx#BKMK_PS

However, since that is not an option, you are left with ntdsutil. Also, the question states that it must be done “manually”, and ntdsutil is a very manual tool.

So I agree that the correct answer is B.

Vietnam

Vietnam

Paul is right – the sequence in which cmdlets should be ran is Uninstall-AddsDomainController to demote the controlled and then Remove-WindowsFeature to uninstall the role.

Danielle – you should check the details of the cmdlet 🙂 (Un)install-WindowsFeature is called feature but it´s used to install or uninstall both features and roles. Every role, feature management tools and extra services are installed by install-WindowsFeature

Ex

Ex

Before you can execute Remove-WindowsFeature, you need to execute Uninstall-AddsDomainController to demote the
domain controller, so D is not correct answer.

A is not correct answer. It removes an Active Directory computer from AD.

Ntdsutil.exe has option metada cleanup, to remove data after unsuccessful domain controller demotion.
More information : https://technet.microsoft.com/en-us/library/cc816907(v=ws.10).aspx
Metadata cleanup removes data from AD DS that identifies a domain controller to the replication system. Metadata cleanup also removes File Replication Service (FRS) and Distributed File System (DFS) Replication connections and attempts to transfer or seize any operations
master (also known as flexible single master operations or FSMO) roles that the retired domain controller holds.

Correct answer is C, maybe B. More probably B. Because dcpromo.exe remains in W2012 for installations only.

It is server core without GUI.

The Dcpromo.exe remains in Windows Server 2012 for command-line unattended installations only, and no
longer runs the graphical installation wizard. It is highly recommended that you discontinue use of Dcpromo.exe
for unattended installs and replace it with the ADDSDeployment module,
as the now-deprecated executable will not be included in the next version of Windows.

more information : https://technet.microsoft.com/en-us/library/jj574166.aspx

Islam Yasein

Islam Yasein

Remove-WindowsFeature may allow you to remove the ADDS feature, but it won’t allow you to remove it until it’s been demoted first. Since there are no other valid commands in this question, then the forceremoval is the only option. If the “Uninstall-ADDSDomainController” option was present, then Remove-ADComputer would be the correct answer.

Islam Yasein

Islam Yasein

In other Dumps choose the dcpromo when Remove-ADCmputer is not found also

sam

sam

fuck microsoft and their fucked up questions