NET USER
: Working with Users
You use the NET USER
command to add users, set account passwords, disable accounts, set account options (such as the times of day the user is allowed to log on), and remove accounts. For local users, the NET USER
command has the following syntax:
NET USER [username [password | * | /RANDOM] [/ADD] [/DELETE] [options]]
username
The name of the user you want to add or work with. If you run NET USER
with only the name of an existing user, the command displays the user’s account data.
password
The password you want to assign to the user. If you use *
, Windows 8 prompts you for the password; if you use the /RANDOM
switch, Windows 8 assigns a random password (containing eight characters, consisting of a random mix of letters, ...
Get Windows 8 In Depth now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.