Active Directory: Lab Id: 2
Active Directory: Lab Id: 2
LAB ID: 2
ACTIVE DIRECTORY
Basic User Management and Group Policy with Active
Directory
Active Directory LAB ID: 2
Summary
1. Lab Description .................................................................................. 3
2. Goals .................................................................................................. 3
3. What you will learn ............................................................................ 4
4. Important Notes ................................................................................ 4
5. Tasks .................................................................................................. 4
Task 1: Active Directory Users and Computers ...................................... 4
Task 1.1: Creating Organizational Units ............................................. 4
Tasks 1.2: Creating Accounts and Groups .......................................... 5
Task 2: Group Policy ........................................................................... 5
Task 2.1: Creating first computer GPO ............................................... 5
Task 2.2: Creating first user GPO........................................................ 5
Task 2.3: Linking GPOs ....................................................................... 6
Task 3: Client Computers ....................................................................... 6
Task 3.1: Force client update ............................................................. 6
Task 3.2: Verify client receives settings ............................................. 6
6. Solutions ............................................................................................ 8
Task 1: Active Directory Users and Computers ...................................... 8
Task 1.1: Creating Organizational Units ............................................. 8
Task 1.2: Creating User Accounts ....................................................... 9
Task 2: Group Policy............................................................................. 12
Task 2.1: Creating first computer GPO ............................................. 12
Task 2.2: Creating first user GPO...................................................... 14
Task 2.3: Linking GPOs ..................................................................... 16
Task 3: Client Computers ..................................................................... 17
eLearnSecurity s.r.l. © 2014 | H E R A
Active Directory LAB ID: 2
1. LAB DESCRIPTION
In the following lab, you can practice the management and securing
techniques explained in the Practical Network Defense course – Active
Directory.
Els.local
ELS
Bob Doe
Dillo n Mac
John Doe Exec-1
Jane Smith
Exec-2
2. GOALS
Create and organize Active Directory accounts
Create Group Policy Objects
Link GPOs to appropriate Organizational Units
4. IMPORTANT NOTES
Labs machines are not connected to the Internet, they are in a
private testing environment just for you.
During UAC prompts, enter the student account credentials.
The domain controller is dc1.els.local at 10.10.250.5.
The client pc is exec-1.els.local at 10.10.250.100.
You can use RDP connection to access the Domain machines. The
credentials are:
o Username: els\elsstudent
o Password: Guest#2014#
5. TASKS
Els.local
ELS
Bob Doe
Dillo n Mac
John Doe Exec-1
Jane Smith
Exec-2
Add the users of the I.T. department into the IT Admins security
group.
Ensure new user accounts must change their password upon first
login.
Ensure the security group and computers are also placed in the
appropriate organizational unit.
6. SOLUTIONS
Task 1: Active Directory Users and Computers
Task 1.1: Creating Organizational Units
Once you open the Active Directory Users and Computers snap-in, you
can create new OUs by right-clicking on the Active Directory tree and
selecting New > Organizational Unit.
We can simply click and drag these users from the ELS OU into the
correct OU. We do the same for the two computer accounts.
Now that we know which users exist, we can create the rest. You can
create the new user directly in the target OU by right-clicking on the OU
and going to New > User.
The first step of the wizards prompts for the username information.
The following screen prompts for the initial password. We can place a
checkmark next to “User must change password at next logon”.
After we have created the accounts, we can add the I.T. employees to
the IT Admins security group by clicking on the group, going to Members
and selecting Add.
Select the new policy, right-click on it and select “Edit”. Navigate down
the hierarchy to the Security Options.
eLearnSecurity s.r.l. © 2014 | H E R A
Active Directory LAB ID: 2
The setting we wish to change will be the third option in the right pane.
We want to place a check next to “Define this policy setting” and set it to
“Disabled”.
Scroll down to the Control Panel option and select “Do not display this
item”.
For the Control Panel GPO, we need to apply it to all the OUs except the
IT Dept one.
Now we can apply the Disable Control Panel GPO to the ELS OU and it
will be inherited by all OUs below it except for IT Dept.
The easiest way is within the Group Policy management console. This
method can only be used with Windows Server 2012 and Windows 8.
It will return a prompt verifying how many machines will process the
updates and ask you to confirm the policy refresh. Select Yes.
Now, let us take a look at the PowerShell method which works for
servers and clients prior to Windows 8. This method does require your
target computers to have Power Shell Remote Management enabled.
First, we need to query the ELS OU in Active Directory for all computers;
we will store the results in the variable, $computers. Then we will check
the $computers variable to verify we have what we need.
Now we run the gpupdate command against all computers in our session
variable.
Remember: this specific GPO did not restrict their access to Control
Panel, it simply hide the link from the Start Menu.