1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DSADD - problems

Discussion in 'Active Directory Exams' started by itgremlin, Sep 26, 2010.

  1. itgremlin

    itgremlin Bit Poster

    11
    0
    14
    i have created a DSADD batch file as a test in preperation for mass user entry but i am getting a problem see below. Could someone please help me understand why this isnt working.

    C:\Users\Administrator\Desktop>dsadd user "cn=Simon.Rogers,ou=NYUsers,ou=NewYork
    OU,dc=globomantics,dc=com" -fn Simon -ln Rogers -display Simon Rogers -pwd P@ssw
    0rd -mustchpwd yes
    dsadd failed:'Rogers' is an unknown parameter.




    Many Thanks
    Simon
     
    Certifications: MCDST
    WIP: 70-682 exam and 70-640 exam
  2. Sparky
    Highly Decorated Member Award

    Sparky Zettabyte Poster Moderator

    10,191
    296
    319
    Try the display name as "Simon Rodgers"
     
    Certifications: MSc MCSE MCSA:M MCSA:S MCITP:EA MCTS(x5) Security+ Network+ A+
    WIP: Exchange 2007\2010
  3. LukeP

    LukeP Gigabyte Poster

    1,194
    41
    90
    -display value needs to be in quotes.

    Otherwise -display Simon is one parameter and Rogers is the unknown one.

    Edit: Slower than Sparks!
     
    WIP: Uhmm... not sure
  4. itgremlin

    itgremlin Bit Poster

    11
    0
    14
    That worked a treat thanks guys.

    just one thing missing mainly because i havent included it is the user login name this is still blank

    its filled in the pre windows 2000 details just not the one above, thought i created enough info for this to be filled out.

    could you chaps let me know the details for adding this via DSADD

    thanks
    simon
     
    Certifications: MCDST
    WIP: 70-682 exam and 70-640 exam
  5. LukeP

    LukeP Gigabyte Poster

    1,194
    41
    90
    -samid ?
     
    WIP: Uhmm... not sure
  6. Fergal1982

    Fergal1982 Petabyte Poster

    4,196
    171
    211
    No, that will be UserPrincipalName (UPN) - Pre-windows 2000 is the SAM. UPN is the topmost shown on the account tab, that consists of two parts, the username, and the domain qualifier.

    THats:

    -upn
     
    Certifications: ITIL Foundation; MCTS: Visual Studio Team Foundation Server 2010, Administration
    WIP: None at present
  7. itgremlin

    itgremlin Bit Poster

    11
    0
    14
    thanks for your help guys, sorry for the questions just wanted to fully understand where i was going wrong
    thanks again

    simon
     
    Certifications: MCDST
    WIP: 70-682 exam and 70-640 exam
  8. Josiahb

    Josiahb Gigabyte Poster

    1,336
    40
    97
    Never apologise for asking questions, if you don't ask then you end up with a real reason to say sorry when it all goes tits up! :p
     
    Certifications: A+, Network+, MCDST, ACA – Mac Integration 10.10

Share This Page

Loading...