Creating and Managing Active Directory Users and Computers: This Lab Contains The Following Exercises and Activities
Creating and Managing Active Directory Users and Computers: This Lab Contains The Following Exercises and Activities
LAB 2
CREATING AND
MANAGING ACTIVE
DIRECTORY USERS
AND COMPUTERS
Exercise 2.1 Creating a Single User in Active Directory User and Computers
Table 2-1
Computers required for Lab 2
Computer Operating System Computer Name
Server (VM 1) Windows Server 2016 LON-DC1
In addition to the computers, you will also require the software listed in Table 2-2 to
complete Lab 2.
Table 2-2
Software required for Lab 2
Software Location
Lab 2 student worksheet Lab02_worksheet.docx (provided by instructor)
SCENARIO
2. In Server Manager, click Tools > Active Directory Users and Computers.
3. In the Active Directory Users and Computers console, expand the Adatum.com
node and then click the Sales organizational unit, as shown in Figure 2-1.
Figure 2-1
70-742 Identity with Windows Server 2016
The Active Directory Users and Computers showing the Sales organizational unit.
5. In the New Object – User Wizard dialog box, in the First name text box, type
Lori. In the Last name text box, type Kane.
7. In the user logon name (pre-Windows 2000) text box, type adatum\lkane.
8. Click Next.
9. In the Password text box and the Confirm password text box, type Pa$$w0rd.
10. Clear the User must change password at next logon check box and then select
the Password never expires. Click Next.
12. Take a screen shot of the User OU in the Active Directory Users and Computers
console, showing the user object the wizard created, by pressing Alt+PrtScr, and
then paste the resulting image into the Lab02_worksheet file in the page provided
by pressing Ctrl+V.
70-742 Identity with Windows Server 2016
13. Right-click the Lori Kane user account and choose Properties.
14. In the Lori Kane Properties dialog box, on the General tab, in the Telephone
number text box, type 123-123-1234.
22. In the Job Title, type Sales Assistant. In the Department, type Sales. In the
Company Name, type Adatum Corporation.
24. In the Select User or Contact dialog box, in the enter the object name to select
text box, type Lakisha Dennis, and then click OK.
70-742 Identity with Windows Server 2016
25. Take a screen shot of the Lori Kane Properties dialog box by pressing
Alt+PrtScr and then paste the resulting image into the Lab02_worksheet file in
the page provided by pressing Ctrl+V.
26. Click OK to close the Lori Kane Properties dialog box, then right-click the Lori
Kane user account and choose Reset Password.
27. In the Reset Password dialog box, in the New password text box and the Confirm
password text box, type Password01 and then click OK.
Leave Active Directory Users and Computers open for the next exercise.
1. On LON-DC1, in Active Directory Users and Computers, right-click the Lori Kane
user account and choose Copy.
70-742 Identity with Windows Server 2016
2. In the Copy Object – User dialog box, in the First name text box type Sales. In the Last
Name text box, type Template.
3. In the User login name text box, type SalesTemplate. Click Next.
4. In the Password text box and the Confirm password text box, type Pa$$w0rd.
5. Deselect the Password never expires option and then select the User must change
password at next logon option. Click Next.
6. Click Finish.
7. Double-click the Sales Template user account and then click the Account tab.
8. Under account options, scroll down and select the Account is disabled option, as shown
in Figure 2-2.
Figure 2-2
Disabling an account
11. In the Select Groups dialog box, in the Enter the object names to select text box, type
Sales and then click OK.
12. Close the Sales Template Properties dialog box by clicking OK.
13. Right-click the Sales Template user account and choose Copy.
14. In the Copy Object – User dialog box, type the following information and then click
Next:
15. In the Password text box and the Confirm password text box, type Pa$$w0rd.
16. Deselect the Account is disabled option and then click Next.
17. Take a screen shot of the Active Directory Users and Computers console with the Copy
Object – User dialog box by pressing Alt+PrtScr and then paste the resulting image into
the Lab02_worksheet file in the page provided by pressing Ctrl+V.
70-742 Identity with Windows Server 2016
19. Double-click the James Tomas account and then click the Member Of tab.
20. Close the James Tomas Properties dialog box by clicking OK.
Leave Active Directory Users and Computers open for the next exercise.
Mindset Like user accounts, Windows computer accounts provide a means for
authenticating and auditing the computer’s access to a Windows network
and its access to domain resources. Each Windows computer to which
you want to grant access to resources must have a unique computer
account. It can also be used for auditing purposes, specifying which
system was used when something was accessed.
Completion time 10 minutes
1. On LON-DC1, in Active Directory Users and Computers, click the Computers OU.
2. Double-click LON-CL1.
7. In the New Object – Computer dialog box, in the Computer name text box, type
Wkstn1.
8. Under User or group, click Change. The Select User or Group dialog box
appears.
9. In the Enter the object name to select text box, type Domain Computers and
then click OK. The group appears in the User or group text box.
10. Close the New Object – Computer dialog box by clicking OK.
11. Take a screen shot of the Computers container in the Active Directory Users and
Computers console, showing the computer object the wizard created, by pressing
Alt+PrtScr and then paste the resulting image into the Lab02_worksheet file in
the page provided by pressing Ctrl+V.
2. In the Active Directory Administrative Center console (as shown in Figure 2-3), in the
left pane, select the Adatum (local) node and, in the center pane, double-click the
Computers OU.
Figure 2-3
The Active Directory Administrative Center
5 3 computers
3. Right-click Wkstn1 and choose Delete. When you are prompted to confirm you want to
perform this action, click Yes.
4. Right-click the white area of the Computers pane and choose New > Computer.
5. In the Create Computer dialog box, in the Computer name text box, type Wkstn10 and
then OK.
6. Take a screen shot of the Computers container by pressing Alt+PrtScr and then paste
the resulting image into the Lab02_worksheet file in the page provided by pressing
Ctrl+V.
7. In the left pane, select Adatum (local). Then in the right pane, double-click the Sales
OU.
8. In the Tasks pane, under Sales, select New > User. The Create User dialog box
appears (see Figure 2-4).
70-742 Identity with Windows Server 2016
Figure 2-4
The Create User dialog box
9. In the First name text box, type Monica, and in the Last name text box, type
Brink.
11. In the User SamAccountName Logon text box, type mbrink. In the Password
and Confirm password fields, type Pa$$w0rd.
12. Scroll down and, in the Member Of section, click Add. The Select Groups dialog
box appears.
13. In the Enter the object names to select text box, type Sales and then click OK.
The group appears in the Member Of text box.
14. Click OK. The new user object appears in the Sales OU.
15. Double-click the Monica Brink user account. In the Monica Brink dialog box,
and scroll down to the Member Of section.
16. Take a screen shot of the Active Directory Administrative Center showing
Monica Brink Member Of section by pressing Alt+PrtScr and then paste the
70-742 Identity with Windows Server 2016
resulting image into the Lab02_worksheet file in the page provided by pressing
Ctrl+V.
Besides the Sales group, which other group was the user
Question added to?
6
Domain users
Close any open windows before you begin the next exercise.
Figure 2-5
Managing user rights
4. Scroll down through the list and view how many user rights are assigned to the
administrators group (as shown in the Policy Setting column).
6. Click Cancel to close the Allow log on locally Properties dialog box.
9. In the Add User or Group dialog box, type Key Admins and then click OK.
10. Take a screen shot of the Back up files and directories Properties dialog box by pressing
Alt+PrtScr, and then paste the resulting image into the Lab02_worksheet file in the page
provided by pressing Ctrl+V.
70-742 Identity with Windows Server 2016
11. Close the Back up files and directories Properties dialog box by clicking OK.
Which user or groups have the Shut down the system right?
Question
13 Administrators, backup operators, print operators and server
operators.
13. Close the Shut down the system Properties dialog box by clicking OK.
Lab
Challenge Creating Users with Windows PowerShell
Overview In this lab challenge, you will create Active Directory user objects
on a domain controller using Windows PowerShell commands.
Mindset Microsoft places emphasis on Windows PowerShell as a server
management tool and provides a cmdlet called New-ADUser, which you
can use to create a user account and configure any or all of the attributes
associated with it. New-ADUser provides several parameters that enable
you to access to all the user object’s attributes.
Completion time 30 minutes
To complete this challenge, you must use Windows PowerShell only, on LON-
DC1, to create user objects in the adatum.com domain, in the Sales container, for
the following users:
Syed Abbas
Brenda Diaz
Steve Masters
70-742 Identity with Windows Server 2016
For each user, form the user logon name with the user's first initial and surname.
Disable the User must change password at next logon option and enable the
Password never expires option. Type Pa$$w0rd whenever prompted by
AccountPassword and then press Enter.
Close any open windows before you begin the next exercise.
Lab
Challenge Creating Multiple Users Using LDIFDE
Overview In this lab challenge, you will create batches of users in one
operation by using the LDIFDE.exe program from the command
prompt.
Mindset LDIFDE.exe is a utility that provides the same basic functionality as
CSVDE.exe and provides you with the capability of modifying existing
records in Active Directory. For this reason, LDIFDE.exe is a more
flexible option.
Completion time 15 minutes
To complete this challenge, you will create a correctly formatted LDIF input data
file to create the following domain user accounts in the Sales OU of the
adatum.com domain. For each user, form the user logon name with the user's first
initial and surname. For the user principal name, use an email address formed
from the user logon name and the domain name.
Oliver Kiel
Marie Dubois
Maurice Taylor
Esther Valle
Raffaella Bonaldi
End of lab.