Windows – Set User Account Details
October 9, 2008
Leave a comment
The Windows built in command “net user” allows modification of local account settings.
: Creates account and sets password + user full name & description
net user <username> <password> /ADD /fullname:"name" /comment:"description"
: Set Account Password to never expire and add account description
net user <username> /EXPIRES:NEVER /COMMENT:"<comment>"
isable Account
net user <username> /ACTIVE:NO
elete Account
net user <username> /DELETE
:Full net user configuration flags and options
net user /help