Wednesday, April 28, 2010

How to Create and delete User Account Via Dos Prompt ?




to add a user:
net user <username> <password> /add
 
to remove
net user <username> <password> /remove
 
Examples: net user yashraj raj143 /add
                  net user yashraj raj143 /remove

If you done correctly you got following message.

The command completed successfully. 

Try typing net help... or net help user. The former gives descriptions about each of the commands that can be used with net and the latter gives a description of the command net user.