How do you create a new user account from the Command Prompt?

1 answer

Answer

1070977

2026-03-25 19:00

+ Follow

:

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

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.