hi Ken

that's where i'm using my code from...imn effect i'm querying thet the use of the -N -R -L

If the following works then a user should be able to start Outlook for the firstime & starght inot their email ? No...when out look is run it starts the outlook wizard looking for a service to install ! ~Windows 2000 !

$returncode = writeprofilestring($locprof,"general","profilename",$username)
$returncode = writeprofilestring($locprof,"service2","MailboxName",$username)
$returncode = writeprofilestring($locprof,"service2","HomeServer",$exserver)

SHELL '%COMSPEC% /C '+$scrdir+'\Profgen.exe '+$scrdir+'\Newprof.exe -p default.prf -N -R -L > nul'

i also refer anyone readin this that there is a couple of Microsoft KB articles in regards to the -S swith on newprof & to obtain the latest newprf & profden code

stevie