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 DCS. DCS has a server core installation of windows server 2012.
You need to uninstall Active Directory from DC5 manually.
Which tool should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
The Remove-WindowsFeaturecmdlet

B.
the dsamain.exe command

C.
the ntdsutil.exe command

D.
the Remove-ADComputercmdlet

Explanation:
A: Removes Roles and Features to remove DC use Uninstall-addsdomaincontroller B.Exposes Active Directory
data that is stored in a snapshot or backup as a Lightweight Directory Access
Protocol (LDAP) server
C: Manually removes a domain controller
D: Removes AD computer object
http://technet.microsoft.com/en-us/library/ee662310.aspx http://support.microsoft.com/kb/216498
http://technet.microsoft.com/en-us/library/ee617250.aspx

16 Comments on “Which tool should you use?

  1. Robert says:

    None of the answers are correct. DC5 is a domain controller. The question asks to uninstall Active Directory from DC5. You need to run “Uninstall-ADDSDomaincontroller” and then “Uninstall-WindowsFeature AD-Domain-Services” to remove any Active Direectory components. Answer A isn’t correct because DC5 hasn’t been demoted.




    0



    0
  2. Ex says:

    It is not done automatically. If you attempt to remove the AD DS role before demoting the server, Windows PowerShell blocks you with an intentional error : Uninstall-WindowsFeature : An uninstallation prerequisite step failed duringthe removal of AD-Domain-Services, and uninstallation cannot continue.1. The domain controller needs to be demoted before the Active DirectoryDomain Services Role can be uninstalled. Look at https://technet.microsoft.com/en-us/library/jj574104.aspx for more informations.




    0



    0
  3. Gilbert is looking for flowers on the moon. says:

    A is wrong because it does not work without demoting the DC first, but it is the right command you the DC is already demoted to remove AD from the server.

    B is wrong dsamain is used to get data from a snapshot or backup

    C ?

    D is wrong Remove-ADComputer will remove the computer account from AD, will not remove AD DS from DC5.




    0



    0
    1. karl says:

      A is wrong bc needs demotion first and it’s for w2008 (Remove-WindowsFeature)
      B you say
      C “Ntdsutil.exe is a command-line tool that provides management facilities for Active Directory Domain Services (AD DS) and Active Directory Lightweight Directory Services (AD LDS). You can use the ntdsutil commands to perform database maintenance of AD DS, manage and control single master operations, and remove metadata left behind by domain controllers that were removed from the network without being properly uninstalled. This tool is intended for use by experienced administrators.”
      https://technet.microsoft.com/it-it/library/cc753343%28v=ws.10%29.aspx
      D you say

      maybe you move global catalog before use Uninstall-ADDSDomainController 🙂




      0



      0
  4. Gerard Manvussa says:

    None of the propositions is right. What should be done:
    In Server Roles and Features, Clear the Active Directory Domain Services check box.
    If the server is currently a domain controller, this does not remove the AD DS role and instead switches to a Validation Results dialog with the offer to demote.

    The equivalent ADDSDeployment and ServerManager Windows PowerShell cmdlets are:
    Uninstall-AdDsDomainController
    Remove-WindowsFeature AD-Domain-Services

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




    0



    0
  5. IT Man says:

    definitely IT’S 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



    0
  6. URwellWisher says:

    None of the answers look right for the task at hand.

    A.
    The Remove-WindowsFeaturecmdlet

    The Remove-WindowsFeature cmdlet has been replaced in Windows Server 2012 and forward by the Uninstall-WindowsFeature cmdlet

    B.
    the dsamain.exe command

    Exposes Active Directory data that is stored in a snapshot or backup as a Lightweight Directory Access Protocol (LDAP) server.

    C.
    the ntdsutil.exe

    use Ntdsutil command to seize the roles or clean up metadata

    D.
    the Remove-ADComputercmdlet
    Removes an Active Directory computer and not the whole AD.

    Correct procedure is =
    First demote the DC by Uninstall-AddsDomainController
    then Uninstall-windowsfeature

    https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/demoting-domain-controllers-and-domains–level-200-




    0



    0
    1. URwellWisher says:

      Update :

      Remove-WindowsFeature can still be used on 2012 and it automatically treats it as Unistall-windowsfeature.

      Therefore the closest answer can be Remove-windowsfeature as Uninstall-AddsDomainController (1st step in removing AD) is not an available option in the question.




      1



      0

Leave a Reply