In
If I have a text file of 100's of users for a 2000 domain is there a
way I can automate the input of these user objects during or after
installing Win2000 Server please?
lazybones
As Herb said, there are numerous tools. If you have a list of users, the
CSVDE would sound like to be your better bet. Create a test user account,
then in a run command, run a csvde -f c:\mydomainOutput.txt. Look at the top
portion of the file. That is the header file describing what attributes are
being used. Search for the test user account, look at the format and the
attributes. If there is a double comma, that means that one attribute is not
being used.
Here's an example below (originally from the 2000 AD courseware, but I
changed it a bit). his will work with 2000, not 2003 unless you temporarily
disable the complexity password requirements. The top line is the header.
Noticed I am only using a handful of attributes. The order in which you
place each attribute in the header must be followed with each user account
you want to add in the list. The attribute 'userAccountControl' dictates
whether the object is enabled (512) or disabled (514). Double commas commas
are called 'delimeters'), such as in the first user - Steven Baldwin - in
front of the 514 value, shows the person has no department indicated.
Customize your user list to accomodate. You can probably get away with the
attributes shown below. If you need more, look at the output from your test
and add them as appropriate. Spelling and character case counts!
================
dn,sAMAccountName,userPrincipalName,telephoneNumber,department,userAccountControl,objectClass
"CN=Steven Baldwin,OU=New Users
OU,DC=testdomain,DC=com",amieb,
[email protected],555-1234,,514,user
"CN=Scott ToiletPaper,OU=New Users
OU,DC=testdomain,DC=com",scottc,
[email protected],555-1236,Accounting,512,user
"CN=Derek Graham,OU=New Users
OU,DC=testdomain,DC=com",derekg,
[email protected],555-1239,Accounting,512,user
"CN=Jason Bourne,OU=New Users
OU,DC=testdomain,DC=com",stephanieb,
[email protected],555-1239,Accounting,512,user
"CN=Matthew Broderick,OU=New Users
OU,DC=testdomain,DC=com",matthewd,
[email protected],555-1230,Accounting,512,user
"CN=Eva Gabor,OU=New Users
OU,DC=testdomain,DC=com",sherrih,
[email protected],555-1231,Accounting,512,user
"CN=Jay Leno,OU=New Users
OU,DC=testdomain,DC=com",jayj,
[email protected],555-1232,Accounting,512,user
"CN=Lorna Doone,OU=New Users
OU,DC=testdomain,DC=com",lanio,
[email protected],555-1233,Accounting,512,user
"CN=Will Smith,OU=New Users
OU,DC=testdomain,DC=com",carolyns,
[email protected],555-4321,Management,512,user
"CN=Bob Lyon,OU=New Users
OU,DC=testdomain,DC=com",robertl,
[email protected],555-4322,Management,512,user
"CN=Steven Stills,OU=New Users
OU,DC=testdomain,DC=com",fidelmam,
[email protected],555-4324,,514,user
"CN=Michelle Carr,OU=New Users
OU,DC=testdomain,DC=com",michellev,
[email protected],555-4325,,514,user
"CN=Ray Bradbury,OU=New Users
OU,DC=testdomain,DC=com",rays,
[email protected],555-4326,,514,user
"CN=Anne Smith,OU=New Users
OU,DC=testdomain,DC=com",annepa,
[email protected],555-2234,,514,user
"CN=Captain Kirk,OU=New Users
OU,DC=testdomain,DC=com",fukikoog,
[email protected],555-2236,,514,user
"CN=James Bond,OU=New Users
OU,DC=testdomain,DC=com",jasmith,
[email protected],555-2239,,514,user
"CN=Jan Michael,OU=New Users
OU,DC=testdomain,DC=com",janmi,
[email protected],555-2239,Accounting,512,user
"CN=Morris Cat,OU=New Users
OU,DC=testdomain,DC=com",jonm,
[email protected],555-2230,Accounting,512,user
"CN=Judy Garland,OU=New Users
OU,DC=testdomain,DC=com",judyl,
[email protected],555-2232,Accounting,512,user
"CN=Kim Kim,OU=New Users
OU,DC=testdomain,DC=com",kimyo,
[email protected],555-2232,Accounting,512,user
"CN=Don Trump,OU=New Users
OU,DC=testdomain,DC=com",laurentve,
[email protected],555-2233,Accounting,512,user
"CN=Luis Nunez,OU=New Users
OU,DC=testdomain,DC=com",luisbo,
[email protected],555-4322,Management,512,user
"CN=Wo Fat,OU=New Users
OU,DC=testdomain,DC=com",mengph,
[email protected],555-4322,Management,512,user
"CN=Bookem Dano,OU=New Users
OU,DC=testdomain,DC=com",smartinez,
[email protected],555-4324,,514,user
"CN=Gil Grissom,OU=New Users
OU,DC=testdomain,DC=com",stefank,
[email protected],555-4325,,514,user
"CN=Jonathank Frakes,OU=New Users
OU,DC=testdomain,DC=com",sunilko,
[email protected],555-4326,,514,user
================
--
Ace
Innovative IT Concepts, Inc
Willow Grove, PA
This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.
Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft MVP - Directory Services
Microsoft Certified Trainer
Having difficulty reading or finding responses to your post?
Instead of the website you're using, I suggest to use OEx (Outlook Express
or any other newsreader), and configure a news account, pointing to
news.microsoft.com. This is a direct link to the Microsoft Public
Newsgroups. It is FREE and requires NO ISP's Usenet account. OEx allows you
to easily find, track threads, cross-post, sort by date, poster's name,
watched threads or subject.
It's easy:
How to Configure OEx for Internet News
http://support.microsoft.com/?id=171164
Infinite Diversities in Infinite Combinations
Assimilation Imminent. Resistance is Futile
"Very funny Scotty. Now, beam down my clothes."
The only constant in life is change...