What Happened To DCPromo in Windows Server 2012?

Thanks to how-to-geek

image

In past versions of Windows Server, after using the GUI to add the Active Directory binaries to your server, you would use DCPromo to promote your server into a Domain Controller. However, DCPromo was deprecated with the release of Server 2012.

Installing Active Directory on Server 2012

You can still add the binaries through the GUI, but underneath the hood even that is using PowerShell. For that reason we will keep the whole article in PowerShell. To add the binaries simply open a PowerShell Console and run the following:

Add-WindowsFeature -name ad-domain-services –IncludeManagementTools –Restart

Once the installation is complete your computer will reboot. We are now ready to install a new domain controller in a new forest, so open a new PowerShell Console. There are three PowerShell commands you can use to promote your server into a DC:

  • Install-ADDSDomainController – Creates a new domain controller in an existing domain.
  • Install-ADDSDomain – Creates a new domain in an existing forest.
  • Install-ADDSForest – Creates a new forest.

Since we don’t already have a forest we will need to use the Install-ADDSForest cmdlet.

Install-ADDSForest –DomainName “corp.howtogeek.com”

You will then be prompted for the Restore Mode password and asked to confirm that a server reboot is OK.

Now you can go grab a cup of coffee while it sets up your new Domain Controller.

Once your server is back up you’re good to go.

That’s all there is to it folks. It’s easier than ever with PowerShell!

Advertisements
Posted in Windows

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: