wguser

Modifies user accounts for a Microsoft Windows workgroup.

Synopsis

wguser [-r] user_name ...
wguser [-h]

Description

Important: You must run this command on a host in a Microsoft Windows workgroup. You must have administrative privileges on every host in the workgroup.

Modifies accounts on every host in the workgroup that you have administrative privileges on.

By default, prompts for a default password to use for all of the accounts, and then creates the specified user accounts on each host, if they do not exist.

Use -r to remove accounts from the workgroup.

Options

-r
Removes the specified user accounts from each host, if they exist.
user_name ...
Required. Specifies the accounts to add or remove.
-h
Prints command usage to stderr and exits.

Output

For each host in the workgroup, returns the result of the operation (SUCCESS or FAILED).