Link to home
Start Free TrialLog in
Avatar of lambch0p
lambch0pFlag for Afghanistan

asked on

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
Avatar of lambch0p
lambch0p
Flag of Afghanistan image

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of GhostMod
GhostMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial