Title: Lab 6
1Lab 6
WORKING WITHUSER ACCOUNTS
2Contents
3A. Problem
- You are network administrator at SaigonTech. And
you are working with Domain Controller running on
Windows Server 2003. There are 2 user
categories Employee, Student. - You have just received a list of students who
will be studying at SaigonTech next semester. You
have been asked to create network accounts for
these students. - These students arent allowed to log on to the
network from 900 PM Saturday to 600 AM Sunday.
4B. Solution
1. Creating Users 2. Modifing User Logon
Restrictions
51. Creating Users
1A. Solution 1 Using a Template Account 1B.
Solution 2 Importing User Accounts from a CSV
File 1C. Solution 3 Using Batch Scripts with
dsadd.exe Program
61A. Solution 1 Using a Template Account
- 1A.1. Creating User Categories
- 1A.2. Creating a Template Account
- 1A.3. Copying the Template Account
71A.1. Creating User Categories
- Open Active Directory Users and Computers
- Right clicks at your domain gt New
Organizational Unit (OU)?
81A.2. Creating a Template Account
- 1A.2.1. Creating _Student Template Account
- 1A.2.2. Adding User Informations
91A.2.1. Creating _Student Template Account
- Right click the Students OU gt New User
101A.2.2. Adding User Informations
- Access _Student Template Account Properties
Right click at account gt Properties
111A.3. Copying the Template Account
- Right click at _Student Template account gt Copy
121B. Solution 2 Importing User Accounts from a
CSV File
- 1B.1. Prerequisite
- 1B.2. Creating CSV File
- 1B.3. Running Import Command
- 1B.4. Enabling Imported Accounts
131B.1. Prerequisite
141B.2. Creating CSV File
- Create coe.csv file with content as following
151B.3. Running Import Command
161B.4. Enabling Imported Accounts
- Righ click at imported accounts gt Enable Account
171C. Solution 3 Using Batch Scripts with
dsadd.exe Program
- 1C.1. Creating Batch Scripts File
- 1C.2. Execute Batch Scripts File
- 1C.3. Review Accounts
181C.1. Creating Batch Scripts File
- Create addUser.bat file with content as following
191C.2. Execute Batch Scripts File
201C.3. Review Accounts
212. Modifing User Logon Restrictions
- Access accounts properties Right click at
selected accounts gt Properties
22Exercise
- Roaming Profiles Create and using roaming
profiles for all user in your domain - Home Diretories Create home directories for all
user in data server. Each time user log in, the
system automatic mount user's home directory.
23References
- Managing and Maintaining a Microsoft Windows
Server 2003 Environment (79-290) Chapter 6, by
Craig Zacker - Managing and Maintaining a Microsoft Windows
Server 2003 Environment (79-290) Lab Manual Lab
6, by Mark Fugatt
24Revision History
- Author Nguyen Hai Son
- Network Team Saigon Institute of Technology
- Create April 2, 2008
- Last modify Jul 15, 2008