PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
The Remove-ADComputercmdlet

B.
The ntdsutil.exe command

C.
The dcpromo.exe command

D.
The Remove-WindowsFeaturecmdlet

Explanation:
dcpromo /forceremoval

10 Comments on “Which tool should you use?

  1. lrellan says:

    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.




    0



    0
  2. Daniele says:

    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!!!




    0



    0
  3. Vietnam says:

    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




    0



    0
  4. Ex says:

    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




    1



    0
  5. Islam Yasein says:

    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.




    0



    0

Leave a Reply