Importing user accounts from a Text file

  • Thread starter Thread starter ziplock007
  • Start date Start date
Z

ziplock007

I am wanting to add a list of about 125 user id's and passwords to
my Active Directory. The only format that the information was
provided to me was in a text file.

someuser:pass
someuser2:pass2
someuser3:pass3
etc...

I have seen tools such as CSVDE but haven't had much luck. Any
suggestions?
 
I am wanting to add a list of about 125 user id's and passwords to
my Active Directory. The only format that the information was
provided to me was in a text file.

someuser:pass
someuser2:pass2
someuser3:pass3
etc...

I have seen tools such as CSVDE but haven't had much luck. Any
suggestions?

Write a script using DSAdd (or even Net User) that loops through
the text file with a 'For /f "delims=:" ... in (FILE) do COMMAND'
command (/f makes it read from a text file, and you can change the
delimiters as shown.

Or write a VB etc. Script (you can get a lot of help from the
Script-o-Matic download, available free at Microsoft; Google:

[ site:microsoft.com "script-o-matic" ]
 
Back
Top