Thursday 16 May 2013

net group

The Power of net group (a.k.a. net groups)

This command is used to manage groups in Windows domains.

e.g. net group __groupname__ /add

will add the __groupname__ to the domain.

Without parameters, it displays the name of a server and the names of groups on that server.

The Limitation of net groups

However, one should be careful. This command is only used for global groups; there is a corresponding command, net localgroup, for local groups. Note the singular, localgroup, not localgroups.

The nice thing about net localgroup is you don't need to be on a domain controller for this to work. You can run this command on any Windows PC. Some familiar local groups include Administrators and Event Log Readers.

No comments: