NET USER

Creates local user accounts.

net user UserName [Password | *] /add
[/active:{no | yes}] [/comment:"DescriptionText"]
[/countrycode:NNN]
[/expires: {{MM/DD/YYYY | DD/MM/YYYY | MMM,DD,YYYY} | never}]
[/fullname:"Name"] [/homedir:Path]
[/passwordchg:{yes | no}] [/passwordreq:{yes | no}]
[/profilepath:[Path]] [/scriptpath:Path]
[/times:{Day[-Day][,Day[-Day]] ,Time[-Time][,Time[-Time]] [;...] | all}]
[/usercomment:"Text"]
[/workstations:{ComputerName[,...] | *}] [/domain]

Modifies local user accounts.

net user [UserName [Password | *] [/active:{no | yes}]
[/comment:"DescriptionText"]
[/countrycode:NNN] [/expires: {{MM/DD/YYYY | DD/MM/YYYY |
MMM,DD,YYYY} | never}] [/fullname:"Name"]
[/homedir:Path] [/passwordchg:{yes | no}] [/passwordreq:{yes ...

Get Active Directory® Administrator's Pocket Consultant 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.