Windows Vista Forums

script to add 2000users from excell in 2008server
  1. #1


    nico Guest

    script to add 2000users from excell in 2008server

    Hello,



    I want to add 2000users to my 2008server AD using a c-script and a
    excell file.
    Is there anything for that or is there another way than using scripts?
    tx for any help.

    N.


      My System SpecsSystem Spec

  2. #2


    Richard Mueller [MVP] Guest

    Re: script to add 2000users from excell in 2008server


    "nico" <nico@xxxxxx> wrote in message
    news:%237mPVEq6JHA.1716@xxxxxx

    > Hello,
    >
    > I want to add 2000users to my 2008server AD using a c-script and a excell
    > file.
    > Is there anything for that or is there another way than using scripts?
    > tx for any help.
    >
    > N.
    I have an example VBScript program to create users in bulk from the
    information in an Excel spreadsheet linked here:

    http://www.rlmueller.net/CreateUsers.htm

    --
    Richard Mueller
    MVP Directory Services
    Hilltop Lab - http://www.rlmueller.net
    --



      My System SpecsSystem Spec

  3. #3


    nico Guest

    Re: script to add 2000users from excell in 2008server

    Thank you, looks like a better script that that what i us now.
    I get an error though "unable to bind to cn=Users,dc=MyDomain,dc=com

    I typed ou=studenten,dc=local.pcvo-meetjesland,dc=be
    also tried cn=studenten,dc=local.pcvo-meetjesland,dc=be
    but with the same error



    I want the users in the OU "studenten"
    the domain name is "local.pcvo-meetjesland.be"

    What did i type wrong?
    Tx

    N.


    Richard Mueller [MVP] schreef:

    > "nico" <nico@xxxxxx> wrote in message
    > news:%237mPVEq6JHA.1716@xxxxxx

    >> Hello,
    >>
    >> I want to add 2000users to my 2008server AD using a c-script and a excell
    >> file.
    >> Is there anything for that or is there another way than using scripts?
    >> tx for any help.
    >>
    >> N.
    >
    > I have an example VBScript program to create users in bulk from the
    > information in an Excel spreadsheet linked here:
    >
    > http://www.rlmueller.net/CreateUsers.htm
    >

      My System SpecsSystem Spec

  4. #4


    Richard Mueller [MVP] Guest

    Re: script to add 2000users from excell in 2008server

    If the domain is "local.pcvo-meetjesland.be" and the ou "ou=studenten" is in
    the root of the domain, then I would expect the DN to be:

    ou=studenten,dc=local,dc=pcvo-meetjesland,dc=be

    --
    Richard Mueller
    MVP Directory Services
    Hilltop Lab - http://www.rlmueller.net
    --

    "nico" <nico@xxxxxx> wrote in message
    news:eebUGnz6JHA.5756@xxxxxx

    > Thank you, looks like a better script that that what i us now.
    > I get an error though "unable to bind to cn=Users,dc=MyDomain,dc=com
    >
    > I typed ou=studenten,dc=local.pcvo-meetjesland,dc=be
    > also tried cn=studenten,dc=local.pcvo-meetjesland,dc=be
    > but with the same error
    >
    >
    >
    > I want the users in the OU "studenten"
    > the domain name is "local.pcvo-meetjesland.be"
    >
    > What did i type wrong?
    > Tx
    >
    > N.
    >
    >
    > Richard Mueller [MVP] schreef:

    >> "nico" <nico@xxxxxx> wrote in message
    >> news:%237mPVEq6JHA.1716@xxxxxx

    >>> Hello,
    >>>
    >>> I want to add 2000users to my 2008server AD using a c-script and a
    >>> excell file.
    >>> Is there anything for that or is there another way than using scripts?
    >>> tx for any help.
    >>>
    >>> N.
    >>
    >> I have an example VBScript program to create users in bulk from the
    >> information in an Excel spreadsheet linked here:
    >>
    >> http://www.rlmueller.net/CreateUsers.htm
    >>


      My System SpecsSystem Spec

  5. #5


    nico Guest

    Re: script to add 2000users from excell in 2008server

    Tx for the info.
    The problem is solved now, however i don't understand why.

    I made a new admin-user eg. testadmin and added the testadmin to all the
    same groups as the normal administrator.

    I could add users with the testadmin manually with ad
    but with a script i could not, with the regular adminaccount the script
    works fine.

    Why?

    Tx
    N.

      My System SpecsSystem Spec

  6. #6


    Al Dunbar Guest

    Re: script to add 2000users from excell in 2008server


    "nico" <nico@xxxxxx> wrote in message
    news:e510izY7JHA.728@xxxxxx

    > Tx for the info.
    > The problem is solved now, however i don't understand why.
    >
    > I made a new admin-user eg. testadmin and added the testadmin to all the
    > same groups as the normal administrator.
    >
    > I could add users with the testadmin manually with ad
    > but with a script i could not, with the regular adminaccount the script
    > works fine.
    >
    > Why?
    I don't know. I run scripts all the time from my OU administrator account to
    create and delete accounts, set passwords, etc. etc.

    /Al



      My System SpecsSystem Spec

script to add 2000users from excell in 2008server problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Allow more than 2 simultaneous RDC sessions on Windows Server 2008Server trey Server General 1 10 Apr 2010
good documentation on the new task scheduler under windows 2008server? Tim Server General 1 15 Feb 2010
excell 2007 pjuchem Microsoft Office 5 12 Sep 2009
Excell File Won't Restore Bruce Vista performance & maintenance 0 15 Jan 2008
microsoft excell HelplessAtlanta Vista hardware & devices 1 21 Dec 2007