Home
> Commands N-Z
> Commands N
NET LOCALGROUP
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Modifies local groups on computers.
Syntax
NET HELP LOCALGROUP
NET LOCALGROUP
[group_name
[/COMMENT:"text"]]
[/DOMAIN]
NET LOCALGROUP
group_name
{/ADD
[/COMMENT:"text"]
| /DELETE}
[/DOMAIN]
NET LOCALGROUP
group_name
name [...]
{/ADD
| /DELETE}
[/DOMAIN]
Displays the local groups on the computer:
NET LOCALGROUP
Parameters
- group_name
(NT3.1)
- Is the name of the local group to add, expand, or
delete. Supply only a group_name to view a list of
users or global groups in a local group.
- name [...]
(NT3.1)
- Lists one or more usernames or group_names to add or to
remove from a local group. Separate multiple entries with
a space. Names may be users or global groups, but not
other local groups. If a user is from another domain,
preface the username with the domain name.
Switches
- /ADD
(NT3.1)
- Adds a group_name or username to a local group. An account
must be established for users or global groups added to a
local group with this command.
- /COMMENT:"text"
(NT3.5)
- Adds a comment for a new or existing group.
Enclose the text (as many as 48 characters) in quotation marks.
- /DELETE
(NT3.1)
- Removes a group_name or username from a local group.
- /DOMAIN
(NT3.1)
- Performs the operation on the domain controller
of the current domain. Otherwise, the operation is
performed on the local workstation.
Related
none.
Notes
none.
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
none
- Windows
-
none
- Windows NT
-
NT3.1
NT3.5
NT3.51
NT4
NTXP
NT2003
Last Updated: 2006/12/01
Direct corrections or suggestions to:
Rick Lively