Back to Lab Listing

Lab Objective:

Learn how to join a client machine to the Domain we just created.

Lab Purpose:

You will learn to join a client machine to the Domain “lab.local” we just created before.

Lab Tool:

Windows Server 2012 R2 + Windows 10

Lab Topology:

Use two machines either on your home network or on the same virtual network in VMware.

domains active directory

A domain controller is a server that responds to authentication requests and verifies users on computer networks. Domains are a hierarchical way of organizing users and computers that work together on the same network. The domain controller keeps all of that data organized and secured.

Benefits of a Domain Controller:

Centralized user management

Enables resource sharing for files and printers

Federated configuration for redundancy (FSMO)

Can be distributed and replicated across large networks

Encryption of user data

Can be hardened and locked-down for improved security

Lab Walkthrough:

Task 1:

Join a client into the DC Active Directory

When a new employee joins a company, the IT department assigns them a new related computer together with their username and password. When the employee arrives, they log in for the first time at their client machine and change their first login password. All this was previously prepared by a Domain Administrator who created the user and password. Along with this process, the Administrator also entered (joined) the user’s client into Active Directory. When the user logs on for the first time, the Domain Controller will check for the presence of the client and the user in Active Directory. If the user is found, then they will be granted access to the Domain, otherwise, they will be denied.

At the moment, since we have just created our domain, we have no client inserted (joined) inside.

domains active directory2

Note:

Only a user with Domain Administrator Rights can join a new client to the Domain and no one else.

The Domain Administrator will prepare the Domain to reflect the company policies.

Some of these policies are, for example:

  1. Creates a login script for each user
  2. Connect the user machine to network printers
  3. Mapping the user Network Folder Shares
  4. Apply Group Policies to the whole Domain for each OU – Group and User in the Active Directory
  5. Allow or Deny Internet Access
  6. Set up an email for the employee
  7. and much more…!

Before we can proceed to join new clients’ machines at our DC, we must make sure that our DC is reachable through its DNS name and/or IP Address.

Since we created a new DNS server, we need to setup this before we can proceed further.

Please open the Network Setting at the DC and setup the IP Address for the DNS server as follows:

domains active directory3

Select ➜ Internet Protocol Version 4 (TCP/IPv4) ➜ click on ➜ Properties.

domains active directory4

Our DNS server is the DC itself since it serves the DNS Role. For this reason, we need to change the Preferred DNS server IP Address: ➜ from 127.0.0.1 to 192.168.112.136 .

domains active directory5

As an Alternate DNS server, we can insert the Google DNS server so that we will be sure our DC will reach out to the Internet.

Please fill-in the form as shown above and click on ➜ OK to Validate the settings.

domains active directory6

Disable and then Enable again the Ethernet0 device to apply the settings.

domains active directory7

Next, from our client machine, we need to make sure we can ping the Domain Controller. You will need to add an IP address in the same subnet such as 192.168.112.131. You already learned how to do this.

From your Windows Client machine start ➜ then type cmd ➜ and execute a ping.

domains active directory8

As you can see, we were able to ping our DC from our Windows 10 client machine.

Now, we will proceed with the join of our first client machine inside our Domain.

Power on your Windows 10 client machine and login as Administrator.

domains active directory9

Click on Start type: Panel.

domains active directory10

To open the Control Panel:

domains active directory11

Select ➜ Category Small icons.

domains active directory12

Select System.

domains active directory13

If this is a brand-new client machine the Windows installation assigned already a random name.

We need to change this Computer name so that we can identify the machine later at our DC server and Active Directory.

The machine right now is not part of a Domain and is in a Workgroup name Workgroup.

First, we change the machine name:

domains active directory14

Click on Change settings.

domains active directory15

Click on Change…

domains active directory16

Now, we will change the computer name here. I put above a capture from a default machine name just in case this is what you have.

domains active directory17

This machine will be prepared for Ray Charles with the username: rcharles and machine name: PC1.

So, first, we rename the client machine in: PC1. Note that I left the original workgroup name in from an earlier lab, but this will be changing.

domains active directory18

Then click on ‘OK’.

To apply the changes, we need to restart our machine.

So please click on ‘OK’ and close all other windows and restart the machine.

The machine restarts and will become a new computer name: PC1.

domains active directory19

Before we can proceed with the joining, we need to setup the DNS server IP Address at our client machine.

Please open the Network Settings at your Windows machine.

domains active directory20

Select Internet Protocol Version 4 (TCP/IPv4) then click on Properties.

domains active directory21

Insert the DNS server IP Address as shown above.

Close the window Disable and Enable the Ethernet Device to apply the changes.

Now we can join this machine to our DC Active Directory.

Please click on Change settings again.

domains active directory22

Click on Change…

domains active directory23

Select Domain: type the Domain Name we created before: lab.local then click on More…

domains active directory24

In this window, we insert: Primary DNS suffix of this computer: lab.local ➜ then click on ➜ OK.

domains active directory25

Our Domain Controller was found; we need now to insert the Administrator username and password.

domains active directory26

 

domains active directory27

After a few seconds, the Domain Controller verifies the Rights of the user and joins the machine to the Domain: lab.local .

Please click on OK to close the window.

domains active directory28

Another message appears which invites the user to restart the machine to apply the changes. Click on ‘OK’.

domains active directory29

Click on Restart Now.

While the Windows client machine restarts, we can observe at our DC server if the computer has been joined.

domains active directory30

Select Tools Active Directory Users and Computer.

domains active directory31

Under the folder: Computers in Active Directory, we can now find our new client machine: PC1 joined.

Next, we will login with the username: rcharles and password: Changeme! to the client machine and start using our Domain name which will be:

Username:          rcharles.lab.local
Password:           Ichanged_it123!

domains active directory32

Select now Other user.

domains active directory33

Please note now the login shown:

Sign in to: LAB.

domains active directory34

The user rcharles inserted the password Changeme! that the Domain Administrator set up before.

He is forced to change his first password since the Administrator, while creating his account at the Active Directory for security and privacy reasons, decided that way.

Password:           Ichanged_it123!

domains active directory35

domains active directory36

domains active directory37

domains active directory38

Now when the user tries to navigate the Network and Sharing Center, they will get a warning and has to insert an administrator username and a password.

This happens because the Administrator still hasn’t setup folder sharing and other policies for that user.

The only thing the user can does right now is navigate to the Internet and browsing their own files.

domains active directory39

In this lab, you have learned how to join a client machine to a Domain.

Newsletter Subscribe

Stay Informed, Stay Inspired: Subscribe for Cutting-Edge IT-Certification Insights

101 Labs Newsletter