:
At the command prompt type the following: net user username /add /random /passWordchg:yes. The /random switch will randomly generate a passWord for the user. The / passWordchg:yes switch will allow the user to change the passWord.
You can add this new user to a group by using the net localgroup command e.g net localgroup "administrators" username /add
Try the steps as mentioned in:
http://winplat.net/post/Manage-user-accounts-with-NET-USER-command.aspx
Copyright © 2026 eLLeNow.com All Rights Reserved.