How to Use the Net User Command to Manage Users – Windows

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


About Sarath

A Techie from Kochi, India with 8+ years of experience in Linux and Windows server administration. I learn new things almost everyday and I enjoy the fun of learning and sharing my knowledge.

Related Posts

COMMENTS

Leave a Reply

Your email address will not be published. Required fields are marked *