Monday, November 23, 2015

Create a new user account using a command line in Server 2012

  1. To open a command prompt, click Start , click Run , type cmd , and then click OK .
    To open a command prompt in Windows Server 2012, click Start , type cmd , and then click OK .
  2. Type the following command, and then press ENTER:
dsadd user <UserDN> [-samid<SAMName>] -pwd {<Password>|*}

No comments:

Post a Comment