# Joining a PC to the Domain

1. In a virtual machine setup, you want to set the DNS server of your Windows PC to the IP address of the Windows Server&#x20;
2. You can do this through control panel under >  Control Panel\Network and Internet\Network Connections > change adapter settings&#x20;
3. Select the NIC > Right Click > Properties > Internet Protocol  Version 4 > Properties&#x20;

<figure><img src="https://3367244783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK3YP1U2Fck03eUZ2XijJ%2Fuploads%2FL2PBBFlrLMNItz7yM3ps%2Fimage.png?alt=media&#x26;token=b6aaf584-ad31-494f-9b35-ee18d79b8379" alt=""><figcaption></figcaption></figure>

4. Now to add the PC to the domain:&#x20;
5. You can either search for: Access work or school or;

<figure><img src="https://3367244783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK3YP1U2Fck03eUZ2XijJ%2Fuploads%2F2APZ1fKC1dLtlbZLugCm%2Fimage.png?alt=media&#x26;token=9c496921-6d59-4cd9-a1cd-c071b5737f0a" alt=""><figcaption></figcaption></figure>

6. Select Join this device to a local Active Directory domain&#x20;
7. Enter the domain name: z3tssu.com&#x20;
8. Enter the credentials of the domain admin when prompted&#x20;
9. Restart the PC, and you should now have been added to the domain&#x20;
