I don't think my problem is in the script this time. The script runs the program it needs to run (profgen.exe and newprof.exe) but it's a problem there. It uses the file outlook.prf to collect default information for creating an outlook profile. In the outlook.prf file, one field under service two says MailBoxName=%username%. The idea being that it will sub in the name of whoever is logged in and thereby access his or her e-mail. Instead when I go to run outlook it gives me an error that the name cannot be found. This is because it is trying to sub in the acutal "%username%" and not what username contains (ryanl for example) Doesn't seem to matter which variable I try to use either (%username%, @userid, @fullname) it always puts the variable name in and not what it contains. I could create one .prf for every user... but that would be time consuming enough that I might as well create a login script for every user that would set the e-mail profile. Any suggestions?If you wanna see the part of the .prf file I could post that, but I'm not sure it will be of any help, cause it's not really a kixtart script problem anymore.
~Ryan L