This is a run-through on installing Active Directory within a Hyper-V test environment.There’s 5 parts to this one:
1. Right click the Hyper-V host and select Virtual Switch Manager.
2. Select Private and Create Virtual Switch.
3. Enter a name for the network and click okay.
4. Right-click the VM in Hyper-V and click Settings.
5. Add a new Network Adapter.
6. Select Private vSwitch as named above and click OK.
1. When the above has been set-up, Windows Server will show network settings as Identifying…
2. Right-click the network icon and click Open Network and Sharing Center.
3. Click the highlighted active Ethernet connection.
4. Open Properties.
5. Open Internet Protocol Version 4 (TCP/IPv4) Properties.
6. Enter IP and subnet addresses.
1. Open Server Manager and click the highlighted Computer Name.
2. Click Change…
3. Enter new Computer Name and click OK.
The host will require a reboot once done.
1. Within Server Manager, click Manage > Add Roles and Features.
2. Before you begin, read the before you begin.
3. Select Role or Feature based installation.
4. Select destination server.
5. Tick the Active Directory Domain Services checkbox.
6. The following will appear – click to add the additional tools.
7. No features being added at this time – click to continue.
8. ADDS page is worth a read – nothing to change here.
9. Review and click to install.
10. Leave it a few minutes and we’re then able to promote this server as a new Domain Controller.
1. Once done with the above, there won’t be a finish point within the wizard. Click the flag on Server Manager to Promote the server to a Domain Controller.
2. This is a new test environment, so I need to Add a new forest.
3. A new Forest means Functional Levels can be the latest edition available, Windows Server 2016. This is also the place to enter an important password that is required if recovering a failing AD.
4. The following error is listed within the known issues for installing and removing AD DS. It’s expected if creating a new forest as I’m doing.
5. Enter a preferred NetBIOS name.
6. Locations can stay as defaults of course.
7. Time to review wizard selections..
8. As you’ll see in the image above, we can click to view the PowerShell script that is about to run with the wizard selections included.
9. A prerequisites check will run as we hit next from above.
10. Click to install…
11. An automatic reboot will be initiated at the end.
12. When back up and running, we can login to the new domain.
13. And have a look at our Active Directory Users & Computers, just for fun ofc.