News:

Tekforums.net - The improved home of Tekforums! :D

Main Menu

Bulk user creation / copy within AD

Started by Leon, November 19, 2007, 15:04:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Leon

Right... I got a f**king annoying project call to create 140 users with basic access and RSA tokens and not a chance Im doing it manually. I know for 2000 you had batch cmds like LDIFDE to do mass imports and exports but its never something I really got into...

So question to you guys is anyway I can go about batching this? AD running on 2003 Server SP2


Cheers
Leon
.::. www.leonslost.co.uk .::. Media Server Guide .::.

PC: i5 760 .::.  GA-P55-UD3 .::. 8GB Corsair 'Dominator' DDR3 .::. 1GB EVGA GTX 460 SC .::. Win7 Ultimate  .::. Dell 24" Ultra Sharp
Netbook: HP Mini 311c-1101sa .::. 3GB Ram .::. ION Hack .::. Win7 Ultimate
Server: HP MicroServer .::. 3GB Ram .::. 4x 2TB Storage .::. 512MB nVidia 210 .::. Win7 Ultimate, XBMC 11 (Aeon NOX), Sick Beard & Couch Potato
Phone: SE Xperia Mini Pro .::. MiniCMSandwich Lite (Android ICS Custom) .::. OC @ 1.6Ghz
Tablet: Asus Transformer TF101 w/ Dock .::. EOS JB Nightlies (Android JB Custom) .::. OC @ 1.6Ghz

Beaker

Creat an Arcetype user, then right click>Duplicate User, youll just have to put the names in.  

Leon

Typing in 139 firstnames, lastnames, username and passwords isnt really speeding up the process.
.::. www.leonslost.co.uk .::. Media Server Guide .::.

PC: i5 760 .::.  GA-P55-UD3 .::. 8GB Corsair 'Dominator' DDR3 .::. 1GB EVGA GTX 460 SC .::. Win7 Ultimate  .::. Dell 24" Ultra Sharp
Netbook: HP Mini 311c-1101sa .::. 3GB Ram .::. ION Hack .::. Win7 Ultimate
Server: HP MicroServer .::. 3GB Ram .::. 4x 2TB Storage .::. 512MB nVidia 210 .::. Win7 Ultimate, XBMC 11 (Aeon NOX), Sick Beard & Couch Potato
Phone: SE Xperia Mini Pro .::. MiniCMSandwich Lite (Android ICS Custom) .::. OC @ 1.6Ghz
Tablet: Asus Transformer TF101 w/ Dock .::. EOS JB Nightlies (Android JB Custom) .::. OC @ 1.6Ghz

Beaker

Quote from: DoomsTyping in 139 firstnames, lastnames, username and passwords isnt really speeding up the process.

quicker than creating a  fresh profile, typing in all that info, then adding each user to the correct AD groups.  Its why most places employ an underpaid chod for data entry.

Im assuming you dont have previous data to work from?

Leon

We have couple of those poor underpaid data entry people but becuase this is project based Ive been given these :(

The accounts are simple and it would simple to create one with the correct groups and copy, as you say its slightly faster than each on their own but not what im going towards. More or these might be coming in soon as we have just brought out another company and everyone is moving over to our terminal servers :(
.::. www.leonslost.co.uk .::. Media Server Guide .::.

PC: i5 760 .::.  GA-P55-UD3 .::. 8GB Corsair 'Dominator' DDR3 .::. 1GB EVGA GTX 460 SC .::. Win7 Ultimate  .::. Dell 24" Ultra Sharp
Netbook: HP Mini 311c-1101sa .::. 3GB Ram .::. ION Hack .::. Win7 Ultimate
Server: HP MicroServer .::. 3GB Ram .::. 4x 2TB Storage .::. 512MB nVidia 210 .::. Win7 Ultimate, XBMC 11 (Aeon NOX), Sick Beard & Couch Potato
Phone: SE Xperia Mini Pro .::. MiniCMSandwich Lite (Android ICS Custom) .::. OC @ 1.6Ghz
Tablet: Asus Transformer TF101 w/ Dock .::. EOS JB Nightlies (Android JB Custom) .::. OC @ 1.6Ghz

Eggtastico

Quote from: DoomsTyping in 139 firstnames, lastnames, username and passwords isnt really speeding up the process.

well your going to have to do that somehow, or do you already have them details in a CSV file?

Leon

.::. www.leonslost.co.uk .::. Media Server Guide .::.

PC: i5 760 .::.  GA-P55-UD3 .::. 8GB Corsair 'Dominator' DDR3 .::. 1GB EVGA GTX 460 SC .::. Win7 Ultimate  .::. Dell 24" Ultra Sharp
Netbook: HP Mini 311c-1101sa .::. 3GB Ram .::. ION Hack .::. Win7 Ultimate
Server: HP MicroServer .::. 3GB Ram .::. 4x 2TB Storage .::. 512MB nVidia 210 .::. Win7 Ultimate, XBMC 11 (Aeon NOX), Sick Beard & Couch Potato
Phone: SE Xperia Mini Pro .::. MiniCMSandwich Lite (Android ICS Custom) .::. OC @ 1.6Ghz
Tablet: Asus Transformer TF101 w/ Dock .::. EOS JB Nightlies (Android JB Custom) .::. OC @ 1.6Ghz

M3ta7h3ad

There are ways, but dont think you can do it without coding something up. :)

Just been making something along the same lines in work, and no what Ive done cant help you unfortunately.

However this should: http://technet2.microsoft.com/windowsserver/en/library/59bec076-01fe-4d09-8b4b-296e7fa9c5571033.mspx?mfr=true

Make a batch file and get busy. remember... batch files can read from text files :) So give stuff a delimiter and sorted.


DeltaZero

Google csvde, ldifde, dsadd, dsmod and dsrm and see which combination of tools you need to do what you want. Failing that, you could do it all in a VBScript with ADSI (possibly somthing else for the RSA tokens, not sure)

cornet

Quote from: DoomsRight... I got a f**king annoying project call to create 140 users with basic access and RSA tokens and not a chance Im doing it manually. I know for 2000 you had batch cmds like LDIFDE to do mass imports and exports but its never something I really got into...

Time to get into it then :

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/directory/activedirectory/stepbystep/adbulk.mspx

Cypher


BigSoy

Ah, the life of a techy, when its acceptable to spend 3 days finding a clever solution to something that wouldve probably taken about an hour by hand  :mrgreen:
"Within your 'purview'? Where do you think you are, some f**king regency costume drama? This is a government department, not some f**king Jane f**king Austen novel!"

Leon

lol sounds about right but use the justification "It will be helpful to know for next time!"

Cheers for the links. Looks like its a VB thing :( man I hate VB...
.::. www.leonslost.co.uk .::. Media Server Guide .::.

PC: i5 760 .::.  GA-P55-UD3 .::. 8GB Corsair 'Dominator' DDR3 .::. 1GB EVGA GTX 460 SC .::. Win7 Ultimate  .::. Dell 24" Ultra Sharp
Netbook: HP Mini 311c-1101sa .::. 3GB Ram .::. ION Hack .::. Win7 Ultimate
Server: HP MicroServer .::. 3GB Ram .::. 4x 2TB Storage .::. 512MB nVidia 210 .::. Win7 Ultimate, XBMC 11 (Aeon NOX), Sick Beard & Couch Potato
Phone: SE Xperia Mini Pro .::. MiniCMSandwich Lite (Android ICS Custom) .::. OC @ 1.6Ghz
Tablet: Asus Transformer TF101 w/ Dock .::. EOS JB Nightlies (Android JB Custom) .::. OC @ 1.6Ghz