Auto Mapi profile help

J

Joe Cool

Hello
I have a problem, I have a Citrix server that has a application on it
that calls sends mail. I have office setup so that when a user open
outlook 2003 the system makes a mapi profile. The problem is that a user
who has not run outlook first runs the application that trys to send
mail it fails. In days of old I would just use newprof. Is there any way
I can get it so that when a user launches anything from this server the
system makes a mail profile for them?
 
J

Jason

Joe Cool said:
Hello
Is there any way I can get it so that when a user launches anything from
this server the system makes a mail profile for them?

Outlook Profiler
 
G

Guest

Jason said:
Outlook Profiler


I have a script that may be of use. It dynamically creates mail profiles for users and works with Outlook 2000, 2002 and 2003. It can be used in a login script.

It will search a users home folder for PSTs and a PAB and add them into the
profile if they exist. If none exist, it will create a profile with a single
PST and a single PAB using the users login name.

If you would like a copy, give me your email address.

Thx

Mick
 
S

Sue Mosher [MVP-Outlook]

What you'd have to run would be Outlook, so that it can generate the new
profile.
 
M

max_beaverdong

Hi Joe Cool,
It's a tricky one! I had this problem a while ago, but I used a
default .PRF file as a template, and then shelled a VBScript to parse
the .PRF file and fill in the blanks (default email server, PST file
location... etc). You can then use the command "Outlook.exe
/importprf" to import that PRF file for the user.
If you need a hand, let me know and I'll see what I can do!

We have it set up so that as a user signs on, the Office 2003 user part
executes, takes a copy of the template PRF file, fills in the blanks
and then uses the Outlook /Importprf command to automatically start
Outlook for the user.

Cheers,
Lee
 
G

Guest

Thanks Lee (and Sue). That's exactly why I wanted to know. I've written a
script that does exactly the same.

I've now opted for modifying the registry so that Outlook imports the PRF
the next Outlook is run.

Despite DefaultProfile being set to Yes, Outlook still prompts the user to
select a profile when it starts. I would like it to set the new profile as
default so that no user intervention is required.

Any ideas?

FYI - My script is available at www.freakyfing.net/downloads/profwiz.html

Thx

Mick
 
S

Sue Mosher [MVP-Outlook]

Try this registry value:



Key: HKEY_CURRENT_USER\Software\Microsoft\Exchange\Client\Options\

Value Name: PickLogonProfile

Value Type: REG_DWORD

Value: 0 to log on with the default profile, 1 to present the Choose
Profile dialog


--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

Wow, thanks Sue.

You're answering these too quickly, I'll have to try and think of something
more taxing.

M
 

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