Create a User with the Dsadd Command

In this exercise, you will use the Dsadd command to create a user account for Phil Houghton in the Managers OU. dsadd user “cn=Phil Houghton,ou=Managers,dc=es net,dc=co,dc=uk“ -samid philhoughton -pwd * -mustchpwd yes –hmdir \\dc1\users\%username%\documents -hmdrv x:
Note the command should be typed as one line and then hit Enter. With the –pwd * switch, you will be prompted for the users password.

Use the buttons below to navigate through the lesson

Select Start>command prompt.

Type in the command
dsadd user “cn=Phil Houghton,ou=Managers,dc=es net,dc=co,dc=uk“ -samid philhoughton -pwd * -mustchpwd yes –hmdir \\dc1\users\%username%\documents -hmdrv x:
And press Enter. Enter the user’s password and press Enter. Confirm the user’s password and press Enter. The command has completed successfully.

The user Phil Houghton has been added to the Managers OU.

For more help with commands and syntax for Dsadd, type dsadd /? at the command prompt.
For specific dsadd commands type
Dsadd user /?
Dsadd ou /?
Dsadd computer /?
Dsadd group /?
Dsadd quota /?
Dsadd contact /?