Updated on 2023-06-12 GMT+08:00

Installing the AD Domain

Changing the Computer Name and Static Server IP Address

Change the service IP address, point the DNS address to the local host, and then change the computer name to server. After the AD domain service is installed, the host name is automatically changed to the format of host name+domain name.

Installing the AD Domain

Run the dcpromo.exe command on the CLI to install the AD domain and DNS server. Do not install the AD domain and DNS server using the wizard for adding roles.

AD Domain Service Installation Wizard

  1. To install the AD domain, click Next.

  2. Click Next.

  3. Select the option indicating creating a domain in a new forest and click Next.

  4. Click Next.

  5. Set the forest function level, select Windows Server 2008 R2 from the drop-down list, and click Next.

  6. Select DNS server and click Next.

  7. If a message is displayed indicating that the DNS delegation fails to be created, click Yes and continue.

  8. Select the directories for storing database files and log files. You can retain the default settings and click Next.

  9. Set the password for the directory services restore mode (DSRM). The Administrator password in DSRM is not the same as the system password. Click Next.

  10. On the summary page that is displayed, click Next.

  11. Tick the box indicating to restart the system after installation.

  12. After the restart, log in as a domain user.

  13. The AD domain environment has been installed.