I tried this kind of stuff. I have the "MS NT Communication Tools for Schools" that includes an Excel spreadsheet for generating student IDs plus a utility to create the accounts from the output of the excel macro. I have wrestled with it for 3 years now & I gave up on it and wrote a command script based upon the resource kit utilities instead. I must say in the end the script is better. In writing the scripts I was highly influenced by the NTReghack site ( http://www.jsiinc.com/reghack.htm ) which gives some tremendous ideas on writing command scripts. It seems primitive but I personally think it is the best choice.
_________________________
Jack