How to Create and Delete a User Group in Windows 7 and Vista

   Information
This will show you how to create a new user group and/or delete a user groupin Windows 7 and Vista.

You must be logged in as an administrator to be able to do the steps in this tutorial.

   Note
This could be useful if you would like to create a new group,add users to be a member of this group, then assign user rights to the group. This way you could have your own special custom group of users with user rights assignments that you set for them.
   Warning
When you delete a group, all users that were a member of that group will automatically lose all user right privileges assigned to that group. Be very careful to not delete the wrong group. I would recommend to not delete any of the default groups, and only delete groups that you created and no longer need.

I would highly recommend that you create a restore point before adding or deleting groups. This way if you make a mistake and delete the wrong group, you will be able to do asystem restoreat boot and select the restore point to undo the mistake.


EXAMPLE: Default User Groups
User Group - Create New or Delete-default-groups.jpg




OPTION ONE

Using Local Users and Groups


1. Open Local Users and Groups, and do step 2 or 3 below for what you would like to do. (see screenshot below step 2)

2. To Create a New User Group
A) In the left pane, click on Groups to open it. In the right pane of Groups, right click on a empty space, and click on New Group. (see screenshot below)
User Group - Create New or Delete-new-1.jpg
B) Type in a "group name" (ex: New Group), a "description" (ex: Example of new group created) for the group, add users (ex: my user account "Brink") that you would like to be a member of this new group, then click on the Create and Close buttons. (see screenshots below)
User Group - Create New or Delete-new-2a.jpgUser Group - Create New or Delete-new-2b.jpg
C) The new group has been created. (see screenshot below)
User Group - Create New or Delete-new-3.jpg
D) You can now assign user rights to the group, and add or remove users from being a member of this group at anytime.

E) Go to step 4.
3. To Delete a User Group
A) In the left pane, click on Groups to open it. In the right pane of Groups, right click on a group (ex: New Group) that you wanted to delete, and click on Delete. (see screenshot below)
NOTE: See red warning box at the top of the tutorial before doing this.
User Group - Create New or Delete-delete-1.jpg
B) Click on Yes to approve deleting the group. (see screenshot below)
User Group - Create New or Delete-delete-2.jpg
C) The group (ex: New Group) has been deleted. (see screenshot below)
User Group - Create New or Delete-delete-3.jpg
4. When finished, close Local Users and Groups.





OPTION TWO

Using a Elevated Command Prompt


1. Open a elevated command prompt, and do step 2 or 3 below for what you would like to do.

2. To Create a New User Group
A) In the elevated command prompt, type the command below and press Enter. (see screenshot below)
net localgroup "New Group Name" /add /comment:"Description of group"

For example: If I wanted to create a new group named New Group with a description of Example of a new group created, then I would type the command below and press enter.

net localgroup "New Group" /add /comment:"Example of a new group created"

User Group - Create New or Delete-cmd-add-comment.jpg
D) You can now assign user rights to the group, and add or remove users from being a member of this group at anytime.

C) Go to step 4.
3. To Delete a User Group
A) In the elevated command prompt, type the command below and press Enter. (see screenshot below)
net localgroup "New Group Name" /delete

For example: If I wanted to delete a group named New Group, then I would type the command below and press enter.

net localgroup "New Group" /delete

User Group - Create New or Delete-cmd-delete.jpg
4. When finished, close the elevated command prompt.
That's it,
Shawn