Computer, Technology Community
+ PCLIFE » Computer Software » Operating Systems
 Add User account from Command Line

Username:
Password:
Pages: [1]
  Print  
Author Topic: Add User account from Command Line  (Read 102 times)

September 09, 2008, 09:04:17 AM
Microsoft Engineer
Newbie
*

Posts: 1
Nerden:

View Profile
« on:»

The net user command comes in quite handy when you want to manipulate a user account. Here are the steps to add a user account from command line( Note: You must be logged in as an administrator to perform these tasks:

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


Logged
Pages: [1]
  Print  
 
Jump to:  

CE5 Design by PCLIFE