newprof.exe issue in winxp

V

visualbasicide

I have a mixed invironment with Windows 2000, Windows XP, Office
2000/2003 standard/2003 Small biz

i wrote a little app in vb that detects os/outlook version based on the

pc name, copies anything important over (prf, or newprof.exe in the
case of outlook 2000) and everything works fine.


except outlook 2000 on a windows xp machine.


when i try to shell newprof.exe -p "profilepathhere"


which the profile gets edited on the local machine to include the
username for that profile, for whatever reason, it doesnt pull that
name out of the profile correctly, or loses the data somewhere along
the line.


every part of the operation works fine except that, so you end up with
an error message stating that "could not resolve name to a mailbox in
exchange" or some similar equivelant.
so the program runs, you get this message, it shows the exchange server

name, but nothing in the username.
I have tried different formats for winxp and office 2k, with reguards
to username:
first.last
first last
(e-mail address removed)
first (e-mail address removed)


doesnt seem to matter at all.
seems like some error in the newprof.exe when run in xp. I take the
same thing to a machine with windows 2000 and it works like a champ.
and the other versions of office install like its nobodys business. I
dont know how to troubleshoot this issue so im at a loss.


all my app does is change the mailboxname=%replacename% in the prf file

to the user's login name. and then shell either outlook or newprof.exe
with a path to the prf file. should be simple and, in all other
versions of os' and office, it is.


thanks in advance. and if im not clear enough, let me know and i will
try to explain better.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top