Lab 25 Group Policies 2 and Powershell 2

Group Policies / Powershell lab 2 will create a set of users, groups. We'll create a GPO that sets the password policy and creates user folders. User folders will map to the p: drive. Let's get started.

  1. Create a new Organizational Unit called OU_Sales Team
  2. Create a new share (if it does not exist) called "Users" of the folder "C:\Shares\Users" on your "A" machine.
  3. Create a powershell script that creates users listed here (Make sure to update your domain information in the users).

    1. Create them in the OU = OU_Sales Team
    2. Make sure to set the home directory H: to map to \\cpte230a\users\[username]
    3. Include creation of the home directories with permissions set for the user (a folder inside the above share).

To test this, logon to cpte230w with one of the users and check to see if you have the H: mapped to the share.

Change the default domain group policy object and change the password policy to require passwords to be changed only after 1 year.

Add a GPO for the "OU_Sales Team" and set the following:

  1. Set the background to a image of your choice.
  2. Redirect the Documents folder to the home directory.
  3. Restrict users from bringing up the task manager.

Documentation

Document the OU created in the appropriate page. Document the Group policy in an appropriate page.

Video Grade Guide

Topics

Points

Logon to CPTE230W and show that the GPO is working.

25

Show that you have the correct home directory mapped

25

Show that the Documents folder is going to the correct place

25

Show the documentation

25

Answers and Hints