Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium



Posted on 2007-10-17
Medium Priority
Last Modified: 2009-12-01
When using DSADD, I've been unsuccessful specifying the Logon Name.  Ive had no trouble specifying Display Name, Profile, Email Address..., but no matter what I try, Logon Name on the Account tab of the Users Properties in ADUC always ends up blank.  Suggestions?
Question by:jdana

Expert Comment

ID: 20094438
It's difficult to help if you don't show us what you've already done, what the error was and what you intended to do ... can you provide more information.

Author Comment

ID: 20094580
Sure.  Here's a simple example:

dsadd user "cn=Test User 4,cn=users,dc=mydomain,dc=com" -pwd Password -disabled no

The dsadd is successful. I open properties for Test User 3 in ADUC, go to the Account tab, the User Logon Name is blank.  What switch do I need to add in the command to include the User Logon Name?
LVL 30

Accepted Solution

LauraEHunterMVP earned 1000 total points
ID: 20094629
-samid "test4" will create a samAccountName of "test4".

- upn "test4@mydomain.com" will create a UPN of "test4@mydomain.com".

dsadd user /? will show you all of the available attributes that you can set at time of creation, including firstname, lastname, display name, description, etc.

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Sometimes it necessary to set special permissions on user objects.  For instance when using a Blackberry server, the SendAs permission needs to be set. I see many admins struggle with the setting that permission only to see it disappear within a few…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question