Active Directory Home Lab Back to Ben’s projects

Windows Server / Hyper-V / AD DS

Hyper-V and domain join

I used separate server and client VMs so I could see the difference between administering a domain and using it from a workstation.

The virtual lab

The Windows Server VM hosted the Active Directory domain controller and DNS. Workstation 01 and Workstation 04 gave me separate client sessions for testing. The Hyper-V inventory shows which VMs existed and their power state at the time of the capture.

In Hyper-V, a VM connects to a virtual switch through its virtual Ethernet adapter. I configured a stable IPv4 address inside the server VM. The networking case study follows those guest settings through to the active routes and outbound connectivity checks.

Hyper-V workstation inventory
AD-01 Hyper-V workstation inventory

Hyper-V lists Workstation 01 running and Workstation 04 powered off at the time of the capture. The inventory establishes that both VMs exist.

Open full-size image
Server domain identity
AD-02 Server domain identity

The server’s Computer Name tab shows populated Full computer name and Domain fields. This capture is from the server.

Open full-size image

Microsoft Learn on Hyper-V adapters and switches

From a Windows VM to a domain member

I brought Windows workstations into the lab domain for user and policy tests. The join workflow starts with DNS because the client needs a resolver that can locate a domain controller. I treated the VM’s network connection, domain discovery and domain sign-in as separate checks.

  1. Connect the client VM
  2. Use lab DNS
  3. Join the domain
  4. Restart and verify

For the join, use the domain’s DNS name and an account with permission to join the computer. After restart, check the client’s System Properties → Computer Name tab and find its computer account in Active Directory. A domain-user sign-in adds a separate check of the client experience.

The available System Properties capture records the server’s domain identity. A client-side membership screen was unavailable in the recovered evidence. The mapped IT drive is the captured workstation outcome.

How I’d diagnose a failed join

I’d start with the client’s DNS settings, then use nltest /dsgetdc:<domain> to check domain controller discovery. If discovery works and the join still fails, the client’s NetSetup.log gives the failing step. That sequence keeps a DNS or reachability problem from looking like a password problem.

Microsoft Learn domain join troubleshooting