Create an Active Directory Domain on Windows Server 2016
- Log in to your Windows Server and start the Server Manager.
- Navigate to the Local Server tab and select Manage > Add Roles and Features from the command menu at the top right of the window:
The Add Roles and Features Wizard will be displayed.
- Click Next. The Wizard will proceed to the Installation Type option.
- Select the Role-based or feature-based installation type.
- Click Next. The Select destination server panel is displayed:
- By default, the server to apply the installation should already be selected. Confirm that the intended server has been selected from the server pool (or select the desired server) and click Next. The Select server roles panel is displayed:
- Click the Active Directory Domain Services checkbox to activate it as the role to use with the server.
- Click Next. The required features list is displayed:
- Click Add Features to add the required features to the server. The Select features panel is displayed:
- Optionally select any additional features that may be required for your server.
- Click Next. The Confirm installation selections panel is displayed:
- If all selections are correct, click Install.
- Wait for the installation process to finish successfully, then click Close to close the wizard.
Promote the Active Directory Domain Controller on Windows Server 2016
After the Active Directory Domain is created successfully, you need to configure the service on the server. To do that, we set up the Active Directory Domain Services.
- After the AD DS server has been added, an alert notification appears in the Server Manager. Click the notification flag.
- From the dropdown menu at the top right corner of the window, click Promote this server to a domain controller. The Deployment Configuration panel is displayed:
- Select the option Add a new forest and enter a value in the Root domain name field.
- Click Next. The Domain Controller Options panel is displayed:
- From the Forest functional level and Domain functional level dropdown lists, select the oldest operating system in your network. This option provides backwards compatibility for various features.
- If your Domain Controller is a standalone server, you need not activate the DNS Name Server checkbox. Otherwise, it’s recommended to leave it checked.
- Enter the Directory Services Restore Mode (DSRM) password and re-enter it in the Confirm password field.
- Click Next twice. (There is no need to specifiy a DNS delegation.) The Additional Options panel is displayed:
- The value of the NetBIOS domain name field should automatically appear.
- Click Next. The Paths panel is displayed:
- Browse and select the Active Directory Controller paths for each: Database folder, Log files folder and SYSVOL folder.
- Click Next.
- Confirm all your selected options and click Next. A prerequisite check will be performed. Although some warnings may be displayed, the check should complete successfully and a confirmation message will appear:
- Click Install. When the wizard finishes configuring the settings, you will be prompted to log out of your current session.
- Log out and then reboot the machine.
- Following the reboot, your previous login credentials will fail:
This is because your account now needs to be associated with the new Domain you created.
- To solve this problem, in the Login dialog click Switch User and log in with your Domain Administrator account. This is basically your same user account, but with the new Domain Name preceding it, as shown below:
For example, for your user name enter:
Configure the Domain in the CloudShare Portal
You now need to configure the new Domain controller in your CloudShare environment.
- Login to CloudShare.
- After the VM reboots (logs in with the local user, not the Domain), from the Environments panel, select the environment where the new Active Directory Domain Controller will be used. The relevant environment's configuration page will be displayed.
- From the configuration menu at the right, click Edit Environment > Edit Domains:
The Edit Domains dialog will be displayed.
- Click Add domain. The Add new domain popup is displayed:
- Enter the appropriate values from your Domain Controller in the Domain name, Administrator user name and Administrator password fields.
- Click Add domain. The new Domain will be added to your selected environment.
- After you have added the new domain, its corresponding VM needs to be configured. In the subsection displayed for your new domain, next to the VMs field, click 0, then click Add VM:
- From the VMs dropdown menu, select the new Domain Controller and click Add:\
The new controller is added to the VMs list.
- Next to the Domain Controller field, click None and activate the checkbox that appears next to the name of the new VM:
- Click Confirm Changes. A confirmation message is displayed.
- To confirm, click Save Changes.
Congratulations! You've completed setting up your new Active Directory Domain Controller and adding it to your CloudShare environment.
You may want to continue to the article: Add Virtual Machines to an Active Directory Domain.