Creating new users with the dsadd command

Adding a new user with the dsadd command with Command Prompt

Distinguished name (DN) for the new AD object, and is required.

Cn – comman nameDc – Domain controller Fn – First nameIn – Last namePwd – Password

dsadd user “cn=Tech Bir,cn=Users,dc=kb,dc=com” -samid techbir -upn -fn Tech -ln Bir -display “Tech Bir” -disabled no -pwd “PassW0rd” -mustchpwd yes

After successfully user created. You can check by find users as like below.

See users properties and all details.

Click to rate this post!
[Total: 2 Average: 5]

Share and Enjoy !

Get Weekly KBV Tips !

Learn and improve day to day Knowledge & lifestyles.