Set up a domain controller for a Project Server 2010 test environment


Applies to: Project Server 2010

Topic Last Modified: 2011-08-05

(This article is part 2 of the Microsoft Project Server 2010 test environment deployment series. The procedures in this article assume that you have read the series in sequence starting with Hyper-V quick start for creating a Project Server 2010 test environment.)

This article describes how to set up a domain controller on a virtual machine that is running Windows Server 2008. This article and the remaining articles in this series assume that you have created the following infrastructure of virtual machines:

Virtual machine Operating system


Windows Server 2008


Windows Server 2008


Windows Server 2008

To perform the procedures in this article, log on to the Litware-DC virtual machine as an administrator.

Video demonstration

This video shows the steps involved in configuring a domain controller.

Screenshot of video

Watch the video ( To download a copy, right-click the link, and then click Save Target As.

Configure the domain controller

The first step in setting up a domain controller is to set a static IP address. Domain controllers require static IP addresses to function correctly. Before you start, ensure that the network connection on the Litware-DC virtual machine is set to Internal Network.

In this series of articles, we are using the – IP address range that is reserved for private networks. This address range is used on the internal network for the virtual domain. In situations where the External Network is used (such as for downloading Microsoft SharePoint Server 2010 prerequisites from the Internet), we assume that your existing corporate network will assign an appropriate IP address to the network adapter by using dhcp.

Depending on the network configuration, you may be able to use the – IP address range on a network adapter connected to your corporate network. This would enable you to span the virtual machines across multiple physical host computers. However, you should beware of potential IP address conflicts when you use static IP addresses of any kind on a shared network.

Perform the following procedure to configure a static IP address.

To configure a static IP address

  1. Click Start, and then click Control Panel.

  2. Click Network and Internet.

  3. Click Network and Sharing Center.

  4. Click Change Adapter Settings.

  5. Right click the local area connection, and then click Properties.

  6. On the Local Area Connection Properties dialog box, clear the Internet Protocol Version 6 (TCP/IPv6) check box.

  7. Select Internet Protocol Version 4 (TCP/IPv4) and then click Properties.

  8. On the Internet Protocol Version 4 (TCP/IPv4) Properties dialog box, select the Use the following IP address option, and then type in the IP address box.

  9. In the Subnet mask box, type

  10. Select the Use the following DNS server addresses option, and then type in the Preferred DNS server box.

  11. Click OK.

  12. Click Close.

Once you have set the static IP address, you are ready to promote the virtual machine to a domain controller. This is performed from the command line using the dcpromo command.


The password that you chose for the local administrator account for this virtual machine will become the domain administrator password as soon as the domain controller has been configured.

Perform the following procedure to configure the domain controller.

To configure the domain controller

  1. Click Start, click Run, type dcpromo, and then click OK.

  2. On the Welcome to the Active Directory Domain Services Installation Services page, click Next.

  3. On the Operating System Compatibility page, click Next.

  4. On the Choose a Deployment Configuration page, select the Create a new domain in a new forest option, and then click Next.

  5. In the Name the Forest Root Domain page, type litware.local in the FQDN of the forest root domain box, and then click Next.

  6. On the Set Forest Functional Level page, click Next.

  7. On the Set Domain Functional Level page, click Next.

  8. On the Additional Domain Controller Options page, ensure that the DNS server check box is selected, and then click Next.

  9. On the warning dialog box, click Yes.

  10. On the Location for Database, Log Files, and SYSVOL page, keep the default values, and then click Next.

  11. On the Directory Services Restore Mode Administrator Password page, type and confirm a password, and then click Next.

  12. On the Summary page, click Next.

  13. When the wizard has finished running, click Finish.

  14. Restart the virtual machine.

Once the domain controller setup is complete, you can add the other virtual machines to the domain. Proceed to the next article, Add a virtual machine to the virtual domain in a Project Server 2010 test environment.