Windows Server 2008 Core – Active Directory Domain Services

One of the things we can do with our newly installed machine is to promote it to a domain controller for the domain SRO-LH.local.

As the machine is running Server Core, we’ll have to do it the hard way… via command-line. Indeed the interactive version of dcpromo.exe is not available in the Server Core edition of Windows Server 2008.

In order to do this, we need to prepare an answer file that will contain all information required for the dcpromo process.

To get information on the syntax of the answer file, I used a Windows Server 2003 installation CD (as the information is not available on the Windows Server 2008 Beta 3 installation media).

In the folder D:\support\tools, locate and expand the file deploy.cab:

rodc_6.png

Within the deploy.cab file, open the ref.chm file and browse to the Unattend.txt section of the help file. That’s where you can find all the information needed. Look especially at the [DCInstall] part:

rodc_7.png

Thanks to this, I was able to produce my own unattend.txt file (the password in the last entry has been removed for obvious reasons):

rodc_8.png

Then, back on the server, we just need to launch the dcpromo command by specifying the location of the unattend.txt file (the R: drive is mapped to SRO-LH-01 where I prepared the answer file):

rodc.png

Then the installation proceeds:

rodc_3.png

rodc_4.png

At the end of the process, the server reboots automatically (except if specified not to do so in the answer file).

Steve

6 Responses to “Windows Server 2008 Core – Active Directory Domain Services”


  1. 1 AdnanZafar July 29, 2008 at 6:31 am

    Hi, the content is good but please could you explain it in more detail like how r:\ is selected what is this r:\,

    need a bit more detailed explanation

    Thankyou,

    Adnan Zafar

  2. 2 Steve Rosa July 29, 2008 at 7:35 am

    R:\ is just a drive letter mapped to the server where the unattend.txt file is stored. It could also be a floppy or a USB.

    Hope this helps.

    Steve

  3. 3 jos February 26, 2009 at 8:27 am

    Hi Steve,
    thank you very much for writing down your expertise. Your article was very helpfull.
    One thing though;
    once my Coreserver has become a domain controller, how can I manage Active Directory from that server.
    On a normal Dc I can run dsa.msc, but nothings seems to work on the coreserver….

    With regards,
    J. van NImwegen

    • 4 Steve Rosa February 26, 2009 at 11:49 am

      Hi Jos,

      The only way to go is remote. From another server or a workstation with the tools installed, open the dsa.msc and point to your Coreserver. Remember that the GUI tools are not available on Windows Server 2008 Core Edition. This is in fact valid for all management tools – they have to be used remotely.

      Hope it helps!

      Best regards,
      Steve


  1. 1 4sysops -- How to install Active Directory Domain Services on Server Core with dcpromo Trackback on July 24, 2007 at 7:52 pm
  2. 2 The things that are better left unspoken : 4 methods to add Server Core RODCs to your environment Trackback on July 13, 2008 at 9:15 am

Leave a Reply




Blog Stats

  • 39,006 hits

 

July 2007
M T W T F S S
« Jun   Sep »
 1
2345678
9101112131415
16171819202122
23242526272829
3031