Results 1 to 7 of 7

Thread: DSAdd Users Multiple Users

  1. #1
    Join Date
    Sep 2005
    Posts
    157

    DSAdd Users Multiple Users

    Can anyone tell me a way to add multiple users using dsadd user command? If I am typing this comman, then it completes properly and the user is added. I have merged a doc in word and excel to create a .txt file saved as dsadd.txt and used unicode formatting. If I am copying and pasting into the cmd prompt then I get the error message that "dsadd failed: 'OU=Students,' is an unknown parameter." Is there any solution for this issue? Thanks.

  2. #2
    Join Date
    Sep 2005
    Posts
    1,434

    Re: DSAdd Users Multiple Users

    I normally use VBScript for that, and have it read from an Excel Spreadsheet. Most of the code that I use was liberally borrowed from a website called rlmueller.net. Search for the CreateUsers script.

  3. #3
    Join Date
    Sep 2005
    Posts
    157
    Thank you, but when I rung the script then I am getting an error saying that "a referral was returned form the server. Code:8007202B source: (null)". I dont know what else to do?

  4. #4
    Join Date
    Jan 2006
    Posts
    2,257
    Those are normally generic scripts. Since with all VBScripts, you will have to edit them for your own domain and put the changes in both the Excel file and the VBScript file that related to your domain. You can try to edit the VBScript by right clicking on it and selecting edit.

  5. #5
    Join Date
    Nov 2008
    Posts
    2

    Re: DSAdd Users Multiple Users

    hey all
    i need some help with my project,

    i have to get an excel(2003) spreadsheet for my lecturer to be able to copy and past all the student names and student id's, the student user names will be determined by there whole last name and the first letter of there first name eg: Stuart Hayes HyesS and there passwords will be there student id until the first logion when they have to change it to the Microsoft standards (numbers and letters) My project will have to be an excel spread sheet that will when you click a macro Add the user account names and passwords with the correct settings (all roaming profiles) on the server 2003 that will be able to be used over the campus. please help me i need to know how this can be done.

  6. #6
    Join Date
    Nov 2008
    Posts
    2
    does the server needs excell installed to run it ?

    well it's weird I tried to use it and I got an error . vbscript cannot open excel.. i did some search and i was told that the error is because the vbscript tried to open excel that is not installed at the server. if i run the same script in my workstation it dont appear this error..but gives me an error regarding the domain name..

    do you have the link for this version that uses vbscript and xls file and works without the excel installed on ?

  7. #7
    Join Date
    Nov 2008
    Posts
    2

    Re: DSAdd Users Multiple Users

    I downloaded your code and when i tried to run it on the DC I got an error when i tried to run the vbs.
    line 50 char 5
    error: could not locate automation class named "excel.application".
    code: 80020009
    source: wscript.createobject

    the line 50 is this one Set oXL = WScript.CreateObject("EXCEL.application")

    can you help me out please ??

Similar Threads

  1. Sample Script for DSADD for Bulk Users
    By Debra Brown in forum Active Directory
    Replies: 8
    Last Post: 05-05-2012, 10:58 AM
  2. One apple Id used by multiple users in iOS 5
    By X-MaaN in forum Portable Devices
    Replies: 8
    Last Post: 24-10-2011, 11:42 PM
  3. Multiple users with same login without session mix up
    By joshpaddy in forum Software Development
    Replies: 1
    Last Post: 05-10-2011, 06:09 PM
  4. how to create multiple Users at one time
    By Wahib in forum Operating Systems
    Replies: 4
    Last Post: 18-03-2009, 03:18 PM
  5. Single Document With Multiple Users
    By XDRoX in forum Tips & Tweaks
    Replies: 0
    Last Post: 29-12-2008, 05:12 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,665,188.28845 seconds with 17 queries