Compartilhar via


Add a member to a local group

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To add a member to a local group

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. Open Computer Management.

  2. In the console tree, click Groups.

    Where?

    • Computer Management/System Tools/Local Users and Groups/Groups
  3. Right-click the group in which you want to add a member, click Add to Group, and then click Add.

  4. In the Select Users, Computers, or Groups dialog box, do the following:

    • To add a user account or group account to this group, under Enter the object names to select, type the name of the user account or group account that you want to add to the group, and then click OK.

    • To add a computer account to this group, click Object Types, select the Computers check box, and then click OK. Under Enter the object names to select, type the name of the computer account that you want to add to the group, and then click OK.

Notes

  • To perform this procedure, you must be the member of the Power Users group who created the account or a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open Computer Management, click Start, click Control Panel, double-click Administrative Tools, and then double-click Computer Management.

  • To remove a member from a local group, select the user account, computer account, or group account in Members, and then click Remove.

  • All the rights and permissions assigned to a group are assigned to all members of that group. For more information, see Related Topics.

  • Limit the number of users in the Administrators group since members of the Administrators group on a local computer have Full Control permissions on that computer.

  • If the computer is joined to a domain, you can add user accounts, computer accounts, and group accounts from that domain and from trusted domains to a local group.

Using a command line

  1. Open Command Prompt.

  2. To add a member to the Power Users group, type:

    net localgroup "PowerUsersGroupName""MemberName"/add

    You must include the quotation marks.

Notes

  • To perform this procedure, you must be the member of the Power Users group who created the account or a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • All the rights and permissions assigned to a group are assigned to all members of that group. For more information, see Related Topics.

  • Limit the number of users in the Administrators group since members of the Administrators group on a local computer have Full Control permissions on that computer.

  • If the computer is joined to a domain, you can add user accounts, computer accounts, and group accounts from that domain and from trusted domains to a local group.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Default local groups
Why you should not run your computer as an administrator

Other Resources

Net localgroup