Local.exe


This command-line tool displays members of local groups on remote servers or domains.

For computers running Microsoft® Windows® 2000 Professional, a local group is one that can be granted permissions and rights from the local computer and, if the computer participates in a domain, user accounts and membership in global groups both from its own domain and from trusted domains.

To manage users and groups on your computer in Windows 2000, use Local Users and Groups, under the System Tools node of the Computer Management MMC snap-in, one of the Administrative Tools.

Syntax

One Steplocal groupname [{domainname | \\server}] [/?]

Where:

groupname
is the name of the local group of which to display members.
If groupname is multi-word (containing spaces), it must be enclosed in double quotation marks, for example, "server operators".
domainname
is the name of a network domain.
\\server
is the name of a network server.
/?
displays a syntax screen at the command prompt.

Run without parameters, local also displays this syntax screen.

 

note-icon

Note

To list members of global groups, use Global.exe, another Windows 2000 Resource Kit tool.

Examples

local "server operators" nt_domain

displays the members of the group server operators in the nt_domain domain.

local "Power Users" EastCoast

displays the members of the group Power Users in the EastCoast domain.

local Administrators \\blackcat

displays the members of the group Administrators on the server blackcat.

For a group with many users, you can use Local to redirect the member list into a text file, for example:

local Group1 \\Server1 > globallist.txt

Then text files containing membership of different groups can be compared for discrepancies with a program like Windiff, which is included of the Windows 2000 Support Tools.

File Required