To add a new user :
net user /add username
Eg : net user /add tom
To delete a user :
net user /delete username
Eg : net user /delete tom
To change password of a user :
net user username {password}
Eg: net user tom pass123
To allow a user to change his own password :
net user username /passwordchg:yes
Eg: net user tom /passwordchg:yes
To specify that a user should have a password :
net user username /passwordreq:{yes|no}
Eg: net user tom /passwordreq:yes
To set expiration :
net user username /expires:{date|never}
Eg: net user tom /expires:06/29/2013
COMMENTS