Removing a domain controller via command line – not the last one

 In Server Core

Hi

 

I recently wrote a post about how to install DC’s from a command line. Particularly useful if you are running Windows Server 2008 Server Core.

There are instructions for adding the 1st here

and subsequent DC’s here

Now how do you go about removing DC’s from the domain, using the command line?

This set of instructions is very simple and is for removing subsequent DC’s, NOT the last one.

  1. open the command prompt and enter the following command

CODE

dcpromo /AdministratorPassword:”type password” /IsLastDCinDomain:No /DemoteFSMO:Yes

This was enough for me – I ran the code and it demoted my server

To find out the additional switches for this command type

CODE

dcpromo /?:Demotion

Please see my other post for removing the last DC in your domain – here

Recent Posts

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search