Module 6: Build and Join CLIENT01
Time to give the domain its first member. In this module you build a Windows 11 machine, watch it pick up an address from your DHCP server, and join it to lab.internal.
In This Module
Section titled “In This Module”- Create the CLIENT01 virtual machine with TPM 2.0 and Secure Boot enabled
- Install Windows 11 Enterprise with a local account
- Install VirtualBox Guest Additions and Windows updates
- Take the CLIENT01 clean-build snapshot before joining the domain
- Confirm CLIENT01 received its IP address from your DHCP server
- Join CLIENT01 to the domain
- Log in with a domain account
Create the Virtual Machine
Section titled “Create the Virtual Machine”Windows 11’s official system requirements include TPM 2.0 and Secure Boot capability. VirtualBox can provide both to the VM.
-
In VirtualBox Manager, click New.
-
Fill in the first screen:
- Name:
CLIENT01 - ISO Image: browse to the Windows 11 Enterprise ISO from Module 1
- Choose a manual installation. Depending on your VirtualBox version, check Skip Unattended Installation or clear Install OS Using Unattended Installation
- Name:
-
Expand the Hardware section:
- Base Memory: 4096 MB
- Processors: 2
- Check Enable EFI or UEFI, depending on the VirtualBox version
-
Expand the Hard Disk section and set the size to 64 GB (the Windows 11 minimum). Click Finish.
-
Before starting the VM, open Settings > System and confirm:
- TPM Version: 2.0
- Enable Secure Boot: checked (this option only appears when EFI is enabled)
VirtualBox usually sets these automatically when it recognizes a Windows 11 ISO, but verify. If either is missing, the installer will refuse to run.
-
Open Settings > Display > Screen and move the Video Memory slider to the maximum. This gives the Windows desktop more display memory and can make the interface feel smoother.
-
Go to Settings > Network and set Adapter 1 to NAT Network, name ADLab. Click OK.
Install Windows 11
Section titled “Install Windows 11”- Start CLIENT01 and press a key when prompted to boot from the ISO.
- Choose language and keyboard, then continue through the install. The evaluation does not ask for a product key.
- Choose the Custom install option, select the empty drive, and let the install run.
- After the reboots, Windows setup asks for your country and keyboard, then connects to the network. If prompted, choose Set up for work or school.
- At the organization sign-in step, choose Sign-in options > Domain join instead. The wording may vary slightly between Windows 11 releases. Despite its name, this option creates a local account; it does not join the domain during setup.
- Create a local user (for example
localadmin) with a password you will remember, answer the security questions, and decline the optional privacy toggles if you want. Windows finishes setup and lands on the desktop.
Install Guest Additions
Section titled “Install Guest Additions”Same as on DC01: Devices > Insert Guest Additions CD image, run VBoxWindowsAdditions from the CD drive in File Explorer, accept the defaults, and reboot.
Run Windows Update
Section titled “Run Windows Update”Before joining the domain, bring the client up to date:
- Open Settings > Windows Update.
- Click Check for updates and install all available updates.
- Restart when prompted, then check again until no additional updates are offered.
Take the CLIENT01 Clean-Build Snapshot
Section titled “Take the CLIENT01 Clean-Build Snapshot”Before joining CLIENT01 to the domain, save one clean checkpoint:
- Shut down CLIENT01 from inside Windows.
- In VirtualBox Manager, select CLIENT01 and open Snapshots.
- Click Take and name it
Clean install - before domain join. - Start CLIENT01 again.
Keep this snapshot as a client rebuild point. If CLIENT01 becomes unusable later, restore this clean snapshot and repeat the domain join. Do not take additional snapshots after the client joins the domain.
Confirm DHCP Worked
Section titled “Confirm DHCP Worked”This is the payoff from Module 5. Open a Command Prompt and run:
ipconfig /allCheck these settings in the Ethernet adapter section:
- IPv4 Address: somewhere between
10.0.10.100and10.0.10.200 - Default Gateway:
10.0.10.1 - DHCP Server:
10.0.10.10 - DNS Servers:
10.0.10.10
Then confirm that CLIENT01 can find the domain controller by name:
nslookup dc01.lab.internalThe answer should show 10.0.10.10.
That address came from DC01. You can see the other side of the transaction on DC01: open the DHCP console, expand the scope, and click Address Leases. CLIENT01’s lease is listed there.
If the address starts with 169.254 instead, the machine got no DHCP response. Check that DC01 is running and that both VMs are attached to the ADLab network, then run ipconfig /renew.
Join the Domain
Section titled “Join the Domain”You will rename the computer and join the domain in one step.
- Press Win + R, type
sysdm.cpl, and press Enter. - On the Computer Name tab, click Change.
- Set Computer name to
CLIENT01. - Select Member of: Domain and enter
lab.internal. - Click OK. When asked for an account with permission to join, enter
LAB\Administratorand the DC01 Administrator password. - A “Welcome to the lab.internal domain” message appears. Click OK, then restart when prompted.
If the join fails, first confirm that DC01 is running and that ipconfig /all lists 10.0.10.10 as CLIENT01’s DNS server. See the troubleshooting appendix if the problem continues.
Log In with a Domain Account
Section titled “Log In with a Domain Account”The login screen still offers your local account, but now the machine also accepts domain accounts.
- On the login screen, click Other user.
- Sign in as
LAB\Administratorwith the DC01 Administrator password.
The first login takes a minute while Windows builds the profile. To prove you are on the domain, open a Command Prompt and run:
whoamiIt returns lab\administrator. You are logged in to CLIENT01 with an account that lives on DC01. That is Active Directory doing its job.
This guide uses the domain Administrator account once to verify the join. Privileged accounts should not be used for routine desktop work. Module 7 creates normal user accounts for later sign-in testing.
Further Learning
Section titled “Further Learning”- VirtualBox System Settings explains the VM settings used for UEFI, Secure Boot, TPM, memory, processors, and display configuration.
- Join a Computer to a Domain covers Microsoft’s supported graphical and command-line domain-join methods.
Checklist Before Moving On
Section titled “Checklist Before Moving On”- CLIENT01 got an address in the
10.0.10.100to10.0.10.200range from DC01 - CLIENT01’s lease appears in the DHCP console on DC01
- Windows Update reports no additional updates
-
Clean install - before domain joinsnapshot taken -
nslookup dc01.lab.internalreturns10.0.10.10 - CLIENT01 is joined to
lab.internal -
whoamiafter a domain login returnslab\administrator
Continue to Module 7 to create the users, groups, and folder structure of a small company.