Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - script to add 2000users from excell in 2008server

Reply
 
Old 06-11-2009   #1 (permalink)
nico


 
 

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
Old 06-11-2009   #2 (permalink)
Richard Mueller [MVP]


 
 

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


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

> 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
Old 06-12-2009   #3 (permalink)
nico


 
 

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:
Quote:

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

>> 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
Old 06-12-2009   #4 (permalink)
Richard Mueller [MVP]


 
 

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
Quote:

> 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:
Quote:

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

>>> 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
Old 06-15-2009   #5 (permalink)
nico


 
 

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
Old 06-16-2009   #6 (permalink)
Al Dunbar


 
 

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


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

> 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
Reply

Thread Tools


Similar Threads
Thread Forum
excell 2007 Microsoft Office
Open Excell Spreadsheet VB Script
Excell-Navigating using arrows Vista General
Excell File Won't Restore Vista performance & maintenance
microsoft excell Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46