Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / operating-systems / Windows / Win2008

How to setup Windows Server 2008 Domain Controller on a VPC (Server)

3.29/5 (3 votes)
5 May 2009CPOL3 min read 54.6K  
This article will explain how to setup Windows Server 2008 Domain Controller on a VPC. Steps remain the same for physical machine.

This article will explain how to setup Windows Server 2008 Domain Controller on a VPC. Steps remain the same for physical machine. Follow the steps below to setup domain controller:

  1. Logged into machine as local administrator.
  2. Run dcpromo command on Windows command prompt. System will start checking whether the binaries are already installed. It may be possible, if you have run dcpromo command previously.
  3. The Active Directory Domain Services Installation Wizard will start as shown in the figure below. You can either enable advanced mode installation checked or leave it unchecked. In my case, I have enabled advanced mode installation. Click Next to proceed.

    Setup Domain Controller Step 1

  4. Operating system compatibility announcement will be displayed. Please read the message and Click Next to proceed.

    Setup Domain Controller Step 2

  5. The next screen will allow you to choose Deployment Configuration, i.e. create a new domain or Add this machine to existing domain controllers. In my case, I have chosen “Create a new domain in a new forest”. Click Next to proceed.

    Setup Domain Controller Step 3

  6. Enter Fully Qualified Domain Name (FQDN) of your forest. In my case, I have entered litwareinc.com for my VPC. Click Next to proceed.

    Setup Domain Controller Step 4

  7. As I have selected advanced mode installation in step 2 above, Domain NetBIOS Name screen will appear. Otherwise installation will skip this screen. Enter NetBIOS name of the domain in next and Click Next to proceed.

    Setup Domain Controller Step 5

  8. The next screen will allow you to select Forest functional level; I have chosen Windows Server 2003, which will allow me to add WIN2003 or later version of domain controller to my domain. Click Next to proceed.

    Setup Domain Controller Step 6

  9. In the previous step, as I have selected Windows Server 2003 as my forest functional level, that domain functional level screen appears at this stage. I have again selected Windows Server 2003 as my domain functional level and click Next to proceed.

    Setup Domain Controller Step 7

    Note: I have chosen Windows Server 2008 in the previous step then installer will automatically skip this step.

  10. In the Additional Domain Controller Options screen, you will be asked to select Domain Name Service (DNS) to install as part of your domain controller installation. If you want to make this Domain Controller to server as DNS server as well, then check DNS Server checkbox. In my case, I have checked DNS Server checkbox and clicked Next to proceed.

    Setup Domain Controller Step 8

  11. Please make sure that you have assigned a static IP to your domain controller otherwise you see the screen shot below. Assign static IP and click NO to proceed.

    Setup Domain Controller Step 9

  12. If the wizard cannot create a delegation for the DNS server, it displays a message to indicate that you can create the delegation manually. Click YES to proceed.

    Setup Domain Controller Step 10

  13. Now you will have the location where the domain controller database, log files and SYSVOL are stored on the server.
  14. This screen will allow you to specify windows paths to store database information, log files and SYSVOL. SYSVOL stores Group Policy objects and scripts. Leave the default path settings and click Next to proceed.

    Setup Domain Controller Step 11

  15. In the Directory Services Restore Mode Administrator Password (DSRM) screen, enter the Directory Services Restore Mode Administrator Password.

    Setup Domain Controller Step 12

    Note: The Directory Services Restore Mode Administrator password is different from the Domain Administrator Password. Assign a password for the Administrator account that will be used, when this domain controller is started in Directory Services Restore Mode. Always use strong password for Directory Service Restore Mode Administrator account.

  16. The next screen will display settings that you have selected during installation wizard. These settings can exported to an answer file for use with other unattended operations. Click Next to proceed.

    Setup Domain Controller Step 13

  17. Now DNS installation will start. See the screen shot below.

    Setup Domain Controller Step 14

  18. Now Group Policy Management Console will start. Wait for Group Policy Management Console operation to finish.

    Setup Domain Controller Step 15

  19. Configuring DNS Server configuration console will start, once Group Policy Management Console will complete. See the screen shot below.

    Setup Domain Controller Step 16

  20. Setting up this server or VPC to host Domain Controller is completed. Click Finish.

    Setup Domain Controller Step 17

  21. Click on Restart Now to restart your server or VPC for the changes to take effect.

    Setup Domain Controller Step 18

  22. Once server will reboot, this server will become a domain controller.

Please provide your comments about this article.

Category: Installation and Configuration
Published: 04/05/2009 13:28

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)