• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2583
  • Last Modified:

How to execute Outlook.PRF silently

Hi,

Does anyone know a way of executing an Outlook.PRF file silently for Outlook XP and 2003?

If I double click the PRF file, I am asked to confirm the import of the Outlook settings.  I have a script that dynamically creates users mail profiles, and this is the only thing that's preventing it from being completely automated.

Cheers

Mick
0
lambch0p
Asked:
lambch0p
1 Solution
 
lambch0pAuthor Commented:
Got answers from Sue Mosher on the MS Office community.

Sue, if you are an EE user, i'll give you the points.

To execute a PRF silently (I.E NO prompts when OUtlook starts).

Delete this Reg value (value and data, not just data) if it exists:
HKEY_CURRENT_USER\Software\Microsoft\Office\<Outlook Version>\Outlook\Setup\First-Run

Set this Reg value to the path of the PRF, E.g. h:\Exchange\Outlook.prf
HKEY_CURRENT_USER\Software\Microsoft\Office\<Outlook Version>\Outlook\Setup\ImportPRF

Set this Reg value to 0 so that the Select Profile dialog doesn't appear.  Make sure you have the DefaultProfile=Yes entry in your PRF.
HKEY_CURRENT_USER\Software\Microsoft\Exchange\Client\Options\PickLogonProfile

Hope that's of use to someone.  I have a script that creates Outlook profiles automatically, using Modprof or just importing the PRF.  It can be downloaded from http://www.freakyfing.net/downloads/profwiz.html.  Basic documentation is included.

M
0
 
GhostModCommented:
PAQd, 250 points refunded.

GhostMod
Community Support Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now