View Full Version : Adding users to a domain group via a tool or scripting...


Dan
Other than Adduser.exe, is there other tools or ready made
script to bring AD domain users into a Domain group via a
txt file?

Thanks. Much appreciate your responses.


Oli Restorick [MVP]
Take a look at the TechNet Script Center.

http://www.microsoft.com/technet/community/scriptcenter/default.mspx

Specifically, the following look like they may be of use to you:

Adding 1,000 Users to a Security Group
http://www.microsoft.com/technet/community/scriptcenter/user/scrug158.mspx

Adding a User to Two Security Groups
http://www.microsoft.com/technet/community/scriptcenter/user/scrug68.mspx

Adding New Members to a Group
http://www.microsoft.com/technet/community/scriptcenter/user/scrug188.mspx

Use the Browse for Folder Dialog Box
http://www.microsoft.com/technet/community/scriptcenter/filefolder/scrff72.mspx

Read a Text File into an Array
http://www.microsoft.com/technet/community/scriptcenter/filefolder/scrff58.mspx

Read a Text File Character by Character
http://www.microsoft.com/technet/community/scriptcenter/filefolder/scrff56.mspx

Parse a Comma Separated Values Log
http://www.microsoft.com/technet/community/scriptcenter/logs/scrlog11.mspx

Once you have jumbled some of these scripts around, you should be able to
get a solution. Next, you just need a swanky front-end. I suggest you take
a look at what you can do with HTML Applications (HTA files).

Take a look at how ADSI Scriptomatic does it and you should be able to
easily write a nice-looking solution that is easy to modify.

ADSI Scriptomatic
http://www.microsoft.com/technet/community/scriptcenter/tools/admatic.mspx

Hope this helps

Oli


"Dan" wrote in message
news:0b0f01c425ad$8d760b30$a401280a@phx.gbl...
> Other than Adduser.exe, is there other tools or ready made
> script to bring AD domain users into a Domain group via a
> txt file?
>
> Thanks. Much appreciate your responses.
>



Mark Ramey
Dan,

You can also use ldifde or csvde which is included with 2000. Csvde may be
easlier if the user account does not exist. You ceate a csv file with Excel
and use it as you would any csv file, see the following article.

How to: Use Csvde to Import Contacts and User Objects into Active Directory.
http://support.microsoft.com/default.aspx?scid=kb;en-us;327620

Mark

"Dan" wrote in message
news:0b0f01c425ad$8d760b30$a401280a@phx.gbl...
> Other than Adduser.exe, is there other tools or ready made
> script to bring AD domain users into a Domain group via a
> txt file?
>
> Thanks. Much appreciate your responses.
>



Dan
Thank you Mark, Oli. I'll give them a work over.