Modifies user accounts for a Microsoft Windows workgroup


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


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.


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


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