70-410 question 235 discussion

answered

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-ADComputer cmdlet
  • D. The Remove-WindowsFeature cmdlet
Created 1 year, 1 month ago by Aroen

Aroen

Question is about uninstalling AD not removing an AD computer.

entLogic

I was very much convinced that D was the answer until I found this: Remove-WindowsFeature : A prerequisite check for the AD-Domain-Services feature failed. 1. The Active Directory domain controller needs to be demoted before the AD DS role can be removed Believe it's correct in that you have to demote the DC before removing the ADDS feature, hence D will be incorrect and C will be.

shollingsworth

It is a classic MS question. Aroen is absolutely right in what he is saying, yes we are talking about uninstalling not removing a Computer of the domain. But then EntLogic is spot in saying that we have to demote before we can then Remove-Feature etc etc. Once again I find myself reading the question and then thinking about the process rather than looking at the answers and trying to make one fit. Not easy guys lol thanks so much for your input you will be in the exam with me in spirit lol...

Sharma

hope this link'll help you guys out... https://social.technet.microsoft.com/Forums/Lync/en-US/0b91d66d-5e25-44c1-8158-17d4875140e8/uninstall-active-directory-from-dc-win-server-2012-core?forum=winservercore

Sharma

as except d there is no other valid option like ntdsutil

Vishwakarma

"C" is the Wrong Answer. To complete uninstall for Active Directory we should use the following 2 commands: Uninstall-addsdomaincontroller Uninstall-windowsfeature

entLogic

I was very much convinced that D was the answer until I found this: Remove-WindowsFeature : A prerequisite check for the AD-Domain-Services feature failed. 1. The Active Directory domain controller needs to be demoted before the AD DS role can be removed Believe it's correct in that you have to demote the DC before removing the ADDS feature, hence D will be incorrect and C will be.

elaineberenguer

The correct command to demote a DC is the one Vishwakarma wrote: Uninstall-ADDSDomainControler (https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/demoting-domain-controllers-and-domains--level-200-), not Remove-ADComputer

scot.mcpherson

C is the right answer because you cannot uninstall active directory when the server is a member of itself. It needs to be demoted first.

HocusPocus

D . It will ask you to demote the Active Directory computer when you uninstall from server manager/powershell https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/deploy/demoting-domain-controllers-and-domains--level-200-

Sharma

b is right answer in this case ntdsutil metadata cleanup

Ken0r

In powershell the Remove-WindowsFeature and Uninstall cmdlet will do the same thing. "Remove is an alias of the cmdlet "Uninstall-WindowsFeature" https://technet.microsoft.com/en-us/library/jj205471(v=wps.620).aspx The command would be something like this.. Uninstall-ADDSDomainController OR Remove-Windows Feature -ADDSDomainController https://technet.microsoft.com/en-us/library/hh974714 The correct answer is D

m.imran

Question is different than Answer. Question is remove ad from the server instead the computer. According the question Answer is D