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.
You need to uninstall Active Directory from DC5 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.
You need to uninstall Active Directory from DC5 manually.
Which tool should you use?

A.
The ntdsutil.exe command

B.
The dcpromo.exe command

C.
The Remove-WindowsFeature cmdlet

D.
The Remove-ADComputer cmdlet

Explanation:
DCPromo has been phased out in 2012, but can still be used for unattended and forceremoval functions.
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 that would be the correct
answer.



Leave a Reply 20

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


Ebrahim Hasan

Ebrahim Hasan

http://www.examcollection.com/microsoft/Microsoft.Test4Prep.70-417.v2012-09-30.by.Agnostracised.100q.vce.file.html

dean
IndonesiaNov 28, 2012Report Comment
wow.thanks to Jaheryz from Australia – Nov 11 2012, 12:36 AM
here is the explanation :

question 33 in exam b About server Core DC demotion
option C: would be the correct answer, because dcpromo only works with a answer file in 2012, i tested this in my labs with the Remove-WindowsFeature -Active Directory-Services option and it worked, DC Promo Failed Every time with out the unattended file
dean
IndonesiaNov 28, 2012Report Comment
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. You need to uninstall Active Directory from DC5 manually. Which tool should you use?

A. The ntdsutil.exe command
B. The dcpromo.exe command
C. The Remove-WindowsFeature cmdlet
D. The Remove-ADComputer cmdlet

the corect answer should be Uninstall-WindowsFeature in win 2012
Remove-WindowsFeature onlyh works for win 08
http://technet.microsoft.com/en-us/library/jj205471.aspx
it’s tricky question.

Alessandro

Alessandro

For me the correct answer is C.
The Remote-WindowsFeature cmdlet is an alias of Uninstall-WindowsFeature cmdlet.

agru

agru

My testprep says the answer is D. I don’t know why ๐Ÿ™

Jermaine

Jermaine

B. The dcpromo.exe command is the correct answer.

The Remove-WindowsFeature cmdlet can remove the feature but it wonโ€™t allow you to remove it until itโ€™s been demoted first.

Hussein

Hussein

DCPROMO does not work with server 2012

Noname

Noname

Yes it does

from exam ref 70-417 book
EXAM TIP
For the 70-417 exam, remember that you first need to use Install-WindowsFeature to
install the AD DS binaries. To then promote a server a domain controller, use either
Install-
ADDSForest, Install-ADDSDomain, or Install-ADDSDomainController. Finally, to
demote
a domain controller, use Uninstall-ADDSDomainController. (For a forced removal,
you can use Dcpromo.exe /ForceRemoval.)

Don

Don

Answer is A.NTDSUTIL .The powershell command you run to do this is Uninstall-ADDSDomainContorller ๐Ÿ™‚

Swift

Swift

I think we need to be very carefull here and not jump to our own conclusions. We only need to answer the objective… Forget about the picture that this question is painting on your head.

Lets focus only on the objective: “You need to uninstall Active Directory from DC5 Manually”…(Forget about the rest of the question)
Looking at only this part, the only valid answer of the lot for me can be:
“Remove-WindowsFeature”, It meets this specific objective, regardless of our ideas whether DC5 has been demoted, been thrown out the window or whatever.
The way I have it:
– NTDSUTIL will not unistall ADDS Role (can remove the DC from domain but not uninstall the ADDS Server Role).
– DCPROMO will also not uninstall ADDS Server Role.
– Remove-WindowsFeature Can uninstall ADDS Server Role, provided, bla bla bla.
– Remove AD-Computer removes Domain Members (Computer accounts) only. Does not uninstall ADDS server Role.

“Remove-WindowsFeature” would be my answer to: “You need to uninstall Active Directory from DC5 Manually” and I think this is also what the Examinors are looking for.

m

m

The Remove-WindowsFeature command is for Windows Server 2008 – in Server 2012 the command was substituted by Uninstall-WindowsFeature. The answer is dcpromo. This command is useful for core installations –
You can run dcpromo /unattend command on a domain controller to perform an unattended removal of AD DS. If you are removing AD DS permanently, uninstall the AD DS server role binaries from the server after you remove AD DS from the domain controller. To remove the AD DS server role binaries, use the dcpromo /uninstallbinaries command.
https://technet.microsoft.com/en-us/library/cc771844%28v=ws.10%29.aspx#BKMK_remove_domain_unattended

joni

joni

I Have a Dumps there is the DcPromo not in the selection options.
ther is as option:
1 Dsamain,2 NTDSUtil,3reomve ADDCCOmputer, 4 Remove-WindowsFeature cmdlet,

So i think the SWIFT is right only plausable Question must be option 4 Remove-WindowsFEaturecmdlet.

Stoneboy

Stoneboy

This another question!!

QUESTION 50

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 dsamain.exe command
D. The Remove-WindowsFeaturecmdlet

Correct Answer: B Section: (none) Explanation
Explanation/Reference:
* 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.
* NTdsutil commands include:
/ local roles
Manages local administrative roles on an RODC.
/ metadata cleanup
Cleans up objects of decommissioned servers.
—————————————————–

The original question is:
QUESTION 24
Your network contains an Active Directory domain named contoso.com. The domain contains a domain controller named DCS. 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 ntdsutil.exe command
B. The dcpromo.exe command
C. The Remove-WindowsFeaturecmdlet
D. The Remove-ADComputercmdlet
————————————————————–

Gerard Manvussa

Gerard Manvussa

I think “uninstall Active Directory from DC5 manually” means that you can’t remove AD from the server, in case DC5 doesn’t boot up anymore for example.
In that case, you will need to remove the DC5 object from ADUC and AD Sites & Services, then run NTDSutil to cleanup metadata.
It explained here: http://www.rebeladmin.com/2016/01/how-to-remove-active-directory-server-manually/

BTW, same question as in http://www.aiotestking.com/microsoft/which-tool-should-you-use-350/, but the answer there is ntdsutil.

Stoneboy

Stoneboy

Correct answer is – B. The dcpromo.exe command

Explanation:

DCPromo has been phased out in 2012, but can still be used for unattended and forceremoval functions. 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 “UninstallADDSDomainController” option was present, then that would be the correct answer.

kali

kali

i think the right command is dcpromo.exe because when you type this command you can see an option for removing active directory binaries.

Caseh

Caseh

Has to be dcpromo, NTDSUTIL retrieve roles and cleans metadata, remove-adcomputer neither demotes the server or removes the ADDS role and as for C:

PS C:\Windows\system32> Remove-WindowsFeature -Name ad-domain-services

Success Restart Needed Exit Code Feature Result
——- ————– ——— ————–
False Maybe Failed {}
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 remov

Dan

Dan

Anyone actually going to lab it and try? You will never ever pass the exam without labs. Virtual PC is free. Trial version of server 2012. Load it up and choose server core option. I did. Dcpromo does not work. ‘Remove-WindowsFeature -Name ad-domain-services’ does. So the answer is C.

jerry

jerry

remove-windowsfeature is not suitable for windows server 2012R2