- Microsoft Azure (Virtual Machines/Compute)
- Remote Desktop
- Active Directory Domain Services
- Windows Server 2022
- Windows 10 (21H2)
- Create a Domain Controller VM with Windows Server 2022
- Create Client PC VM with Windows 10
- Install Active Directory on DC(Domain Controller)
- Create Admin and User Accounts
- Join Client VM to AD domain
Create the Domain Controller VM first
Next, Go to DC-1's network interface and set its private IP to static.
This is to make sure the Client VM will be able to use DC-1's IP as its DNS server in order to join it.
Create the Client-1 VM. (Make sure to set its Resource Group and Vnet is the same as DC-1's)
If we login to Client-1 and ping DC-1, we can see that our requests get timed out.
Go into DC-1 and allow the ICMPv4 in the firewall settings.
This time our ping request go through now.
Go to DC-1 and install Active Directoy Domain Services in Server Manager
Next click the flag with the yellow exclamation point and promote the VM as a DC
Your connection will close eventually and you will have to log back in but with the domain name in username shown
Go to Active Directoy Users and Computers and create a new Organizational Unit (OU) called “_EMPLOYEES” (or any name you wish)
Create another for admin accounts
Create a new Admin account inside of the _ADMINS OU
Log out and log back in but this time with the admin account we created.
This will be the admin account we will be using from here on out.
In Client-1's network interface settings, change its DNS server to the private IP of DC-1
Restart Client-1 and login as the original admin account
On Client-1, Join the VM to the domain
Client-1 will now show up on the DC as a connected PC
Optional: Create an OU called _CLIENTS and drag the pc to it
That concludes this lab in which configured a barebones setup of Active Directory with a computer joined to its domain.