This walkthrough will configure the Windows VMs to join the domain we created.
Right click the network icon in the system tray and select Open Network & Internet settings.
Select Ethernet.
Select Edit IP Assignment
Change IP settings to Manual.
Make the following changes. Set IP address of the VM to 10.0.1.2. The subnet mask is 255.255.255.0. The default gateway is the IP of the adaptor on the router for this network segment (10.0.1.1). Then Preferred DNS is the IP address of your domain controller (10.0.1.3) and select Save.
Start to type in “Domain” in the search bar. Then select “Access work or school”.
Select Connect.
Select “Join this device to a local Active Directory domain”. Ignore the email address box.
Type in the name of the domain and select Next.
Log in to the Administrator account you set up on your domain controller and select OK.
Change the account type to Administrator and select Next.
Restart the VM.
Once the Windows VM has restarted, go to your Domain Controller and select Tools and then select “Active Directory Users and Computers”.
Select Computers and you should see the VM you just added to the domain.
Congrats! your VM has successfully joined the domain.
Log in to the Windows VM. Be sure to include the domain name followed by a back slash before the username, as seen below (ECORP\administrator).
The first time you log into a domain account it will go through the normal set up.
Once it has completed, type in “user” in the search window and select “Change User Account Control”.
Highlight Users and double-click Administrator and fill in the passwords. This is a local admin account. The password can be different than the domain account.
Highlight Groups and double-click Administrator. Type one of the domain accounts you created on the domain controller and then select Check Names and select OK.
Open file explorer and select Network. You should see the domain controller you created.
Double click it. You may be prompted to log in. Use a domain account.
You should see the file share you created on the domain controller.
Repeat the same steps on the other Windows VM.
Congrats!!! You have successfully set up your lab environment. In future exercises we will conduct attacks and analyze them. Now go to part 5 and configure additional software on your Windows VMs.





















