Joining a computer to the domain
Use this recipe to join a Windows-based computer to an Active Directory domain.
This recipe shows three ways to accomplish this:
- Attach a Windows-based device to a previously created computer object.
- Join a Windows-based device to a domain using the graphical user interface (GUI).
- Join a Windows-based device to a domain using Windows PowerShell.
Getting ready
To communicate with domain controllers, the device needs to be on the same logical networks as the domain controllers. You might also be able to join a device through a virtual private network (VPN) connection—when the required traffic is allowed through.
To find domain controllers for the Active Directory domain, the device needs to be able to resolve the name of the Active Directory environment. Configuring devices with a DNS server address through Dynamic Host Configuration Protocol (DHCP) is the most convenient and, therefore, commonly used method, but...