Lesson 5: Implementing Groups
Lesson 5: Implementing Groups
In this lesson, you will learn what groups are and how you can use them to simplify user account
administration. You will also learn about built-in groups, which have a predetermined set of user rights and
group membership. Windows XP Professional has two categories of built-in groups, local and system, which it
creates for you to simplify the process of assigning rights and permissions for commonly used functions.
• Describe the key features of local groups and Windows XP Professional built-in groups
• Create and delete local groups
• Add members to and remove them from local groups
Understanding Groups
A group is a collection of user accounts. Groups simplify administration by allowing you to assign permissions
and rights to a group of users rather than to each user account individually (see Figure 3.12).
Permissions control what users can do with a resource such as a folder, file, or printer. When you assign
permissions, you allow users to gain access to a resource and you define the type of access that they have. For
example, if several users need to read the same file, you can add their user accounts to a group and then give the
group permission to read the file. Rights allow users to perform system tasks, such as changing the time on a
computer and backing up or restoring files.
NOTE
For more information about permissions, see Chapter 8, "Securing Resources with NTFS." For more
information about rights, see Chapter 13, "Configuring Security Settings and Internet Options."
You can use local groups only on the computer on which you create them. Although local groups are
available on member servers and domain computers running Windows 2000 Server, do not use local
groups on computers that are part of a domain. Using local groups on domain computers prevents you
from centralizing group administration. Local groups do not appear in the Active Directory service, and
you must administer them separately for each computer.
• You can assign permissions to local groups to access only the resources on the computer on which you
create the local groups.
NOTE
You cannot create local groups on domain controllers because domain controllers cannot have a security
database that is independent of the database in Active Directory.
• Local groups can contain local user accounts from the computer on which you create the local groups.
• Local groups cannot belong to any other group.
MMC displays the New Group dialog box. Table 3.4 describes the available options.
Option Description
Requires a unique name for the local group. This is the only required entry. Use any
Group
character except for the backslash (\ ). The name can contain up to 256 characters, but very
Name
long names might not display in some windows.
Description Describes the group.
Members Lists the user accounts belonging to the group.
Add Adds a user to the list of members.
Remove Removes a user from the list of members.
Create Creates the group.
Close Closes the New Group dialog box.
3. Enter the appropriate information, and then click Create.
To use the Computer Management snap-in to add members to a group that has already been created, complete
the following steps:
4. Click Add.
Computer Management displays the Select Users dialog box, as shown in Figure 3.14.
Figure 3.14 The Select Users dialog box
5. In the From This Location text box, ensure that the computer on which you created the group is selected.
6. In the Select Users dialog box, in the Enter The Object Names To Select text box, type the user account
names that you want to add to the group, separated by semicolons, and then click OK.
TIP
The Member Of tab in the group-name Properties dialog box of a user account allows you to add a user account
to multiple groups. Use this method to quickly add the same user account to multiple groups. To review how to
use the Member Of tab, see the section in Lesson 4 entitled "The Member Of Tab."
When you delete a group, you remove only the group and its associated permissions and rights. Deleting a
group does not delete the user accounts that are members of the group. To delete a group, right-click the group
name in the Computer Management snap-in and then click Delete.
Run the LocalGroups file in the Demos folder on the CD-ROM accompanying this book for a demonstration of
creating and managing local groups.
In this exercise, you create two local groups, Accounting and Marketing, and add members to both groups. You
add a member to the existing Marketing group, and then remove a member from the Marketing group.
1. Log on as Fred or with a user account that is a member of the Administrators group.
2. Click Start, point to All Programs, point to Administrative Tools, and then click Computer Management.
7. In the Name text box, type User1; User2; User4 and then click OK.
User1, User2, and User4 appear in the Members list in the New Group dialog box.
8. Click Create.
Windows XP Professional creates the group and adds it to the list of groups in the details pane. Note that
the New Group dialog box is still open and might block your view of the list of groups.
9. Repeat steps 4 through 9 to create a group named Marketing with a description of Access to Mailing
Lists and User2 and User4 as group members.
10. When you finish creating both the Accounting and the Marketing groups, click Close to close the New
Group dialog box.
The Accounting and the Marketing groups now appear in the details pane.
To add members to and remove members from the Marketing local group
The Marketing Properties dialog box displays the properties of the group. Notice that User2 and User4
are in the Members list.
3. In the Name text box, type User1, and then click OK.
The Marketing Properties dialog box now displays User1, User2, and User4 in the Members list.
Notice that User4 is no longer in the Members list. User4 still exists as a local user account, but it is no
longer a member of the Marketing group.
5. Click OK.
1. In the details pane of the Computer Management window, right-click Marketing, and then click Delete.
Computer Management displays a Local Users And Groups dialog box asking if you are sure that you
want to delete the group.
2. Click Yes.
Marketing is no longer listed in the details pane indicating that the Marketing group was successfully
deleted.
User1 and User2 are still listed in the details pane indicating that the group was deleted, but the
members of the group were not deleted from the Users folder.
Table 3.5 lists the most commonly used built-in local groups and describes their capabilities. Except where
noted, these groups do not include initial members.
• Perform only the tasks for which they have been specifically granted rights
• Access only those resources for which they have assigned permissions
Guests
Members cannot make permanent changes to their desktop environment. By default, the built-in
Guest account is a member. When a member server or a computer running Windows XP
Professional joins a domain, Windows 2000 Server adds the Domain Guests group to the local
Guests group.
Power Users Members can create and modify local user accounts on the computer and share resources.
Local group Description
Replicator Supports file replication in a domain.
Members can do the following:
• Perform only the tasks for which they have been specifically granted rights
• Access only those resources for which they have assigned permissions
Users
By default, Windows XP Professional adds to the Users group all local user accounts that an
administrator creates on the computer. When a member server or a computer running Windows
XP Professional joins a domain, Windows 2000 Server adds the Domain Users group to the
local Users group.