Welcome to TechNet Blogs Sign in | Join | Help

Off Campus

Michael Greene - Windows Product Specialist - US Education

News

What is the simplest command line to dcpromo *down* a Server Core machine?

In my test environment I just discovered an issue and need to remove the Domain Controller role from one of my Hyper-V hosts which happens to be running Server Core.  This brought a question to mind, if I want to demote a DC running Core, what is the path of least resistance?

I found that if I am willing to accept all default parameters I could do it with just one command line argument –

dcpromo /AdministratorPassword:<password>

To review the default parameters, type “dcpromo /?:Demotion”.  Unfortunately my RDP session closed before I could copy/paste the full output of the command.  If anyone captures it, feel free to drop it in the comments.  It basically confirms each step of removing the role, dns records, binaries, etc.  Note that if your DC is the last DC within the domain you would need to specify additional parameters.

Posted: Friday, April 25, 2008 6:16 PM by michael.greene

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker