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

PrepAway - Latest Free Exam Questions & Answers

A.
The Remove-WindowsFeature cmdlet

B.
the ntdsutil.exe command

C.
the dsamain.exe command

D.
the Remove-ADComputer cmdlet

12 Comments on “Which tool should you use?

    1. Joe says:

      Chuck the question does say servercore machine and while you are correct that servercore machines do not support graphical tools like server manger, they do however support powershell cmdlets. ServerCore has supported the use of PowerShell since 2008 R2. In Windows Server 2012 the use of dcpromo has been deprecated so the answer is remove-windowsfeature (Answer A)




      0



      0
  1. pikapoka says:

    A follow up on this issue…and it convinced me that the answer is A.
    In WS 2008 R2 … a command ntdsutil.exe would be used
    Method2: https://seneej.com/2013/06/30/clean-failedoffline-domain-controllers-from-active-directory/
    https://technet.microsoft.com/en-us/library/cc816907(v=WS.10).aspx?tduid=(5a4e9ec73d940b100430ce6843d2b6e4)(256380)(2459594)(TnL5HPStwNw-Sd3gv3NkTe7I0Avvj34unQ)()#bkmk_commandline

    In this scenario we are talking about WS 2012, therefore we are using the Uninstall-WindowsFeature (Remove-WindowsFeature is a legacy command that is still working in 2012)
    https://technet.microsoft.com/en-us/library/hh472163(v=ws.11).aspx

    Anyone agreeing/disagreeing?




    0



    0
  2. Patrick says:

    In the other question in this version, Remove ADComputer Cmdlt was what they listed as the right answer, in that question there was a lot of discussion as well and everyone there said it should be Remove-WindowsFeature, and the ntdsutil.exe command was not even an option. Researched this via technet and by googling. Most of it comes back with answers not even listed here, like Uninstall-ADDSDomainController. A few articles have supported the Remove-Windowsfeature, but none have suggested Remove-ADComputer.

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

    Explains what Remove-ADComputer is and how it is used, the short of it is that it is exactly what it sounds like. It removes a computer from Active Directory, and this question is not asking to remove anything from AD, but to remove AD from a computer

    The answer is A. Remove-Windowsfeature




    0



    0
  3. Butternutsquasherino says:

    None of these answers is technically correct. You will want to run the Uninstall-ADDSDomainConrtoller command from PowerShell to uninstall the Active Directory Domain Services from a Domain Controller (effectively demoting it to a member server). The server will remain as a domain member, but will no longer be a domain controller.

    If you attempt to run uninstall-windowsfeature ad-domain-services without running uninstall-addsdomaincontroller first, you will receive an error that reads “The Active Directory domain controller needs to be demoted before the AD DS role can be removed.”

    You can test this yourselves in a lab environment by running the commands above with the -whatif switch. This will tell you the outcome of the command without executing it.




    0



    0
  4. Adam says:

    After looking into remove-windowsfeature, i found that it is for 2008. While yes it is still available in 2012, MS always seems to go with the new hotness. Here’s a snippet for an article:

    “This topic applies only to Windows Server 2008 R2. The Remove-WindowsFeature cmdlet has been replaced in Windows Server 2012 and forward by the Uninstall-WindowsFeature cmdlet. For more information about Uninstall-WindowsFeature in Windows Server 2012, see Uninstall-WindowsFeature. For more information about Uninstall-WindowsFeature in Windows Server 2012 R2, see Uninstall-WindowsFeature.”

    https://msdn.microsoft.com/en-us/library/ee662310.aspx




    0



    0

Leave a Reply