How to execute Outlook.PRF silently

Posted on 2005-02-28
Medium Priority
Last Modified: 2012-06-27

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.


Question by:lambch0p
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

ID: 13457076
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.

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.


Accepted Solution

GhostMod earned 0 total points
ID: 13973146
PAQd, 250 points refunded.

Community Support Moderator

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question