2010-05-02

Automatic configuration of Outlook profile when user logins in.

Part 1  for Outlook 2000/ 2003
Create a *.prf file and apply it using a Logon Script.
http://www.outlook-tips.net/howto/prf.htm

Type in %username% for the username.

This way when a user logs into a session it creates their Outllook Profile for them.

Create a custom installation using the resource kit. The custom installation would contain the information from the PRF file mentioned above. The user wouldn't have to type in anything - Outlook would configure automatically based on their domain login information.

You may have to reinstall Outlook/Office to get the custom installation to take correctly, but it will be worth the hassle.


Part 2, for Outlook 2007
About Office Customization Tool (OCT)
You use the Office Customization Tool (OCT) to customize an installation of the 2007 Microsoft Office system. The OCT is part of the Setup program and is the recommended tool for most customizations. You run the OCT by typing setup.exe /admin at the command line. The OCT is available only with volume licensed versions of the 2007 Office system. Office Standard 2007, Office Small Business 2007, Office Professional Plus 2007, and Office Enterprise 2007 are available for purchase through volume licensing.



Creating PRF files by using the Office Customization Tool

A straightforward way to create a PRF file with Office Outlook 2007 profile settings is to customize the settings by using the Office Customization Tool, and then export the settings to a PRF file.

To create a PRF file by using the Office Customization Tool
1.In the Office Customization Tool, on the Outlook: Customize Default User Profile page, select how you want to customize profiles for your users. To specify settings to be included in a PRF file, choose Modify Profile or New Profile, and click Next.
2.On the next three pages, customize profile information such as configuring Microsoft Exchange server connections and adding accounts.
3.On the Outlook: Remove Accounts and Export Settings page, click Export Profile Settings, and when prompted, enter (or browse to) a file name and location.


Applying Outlook user profiles by using a PRF file

You can apply a PRF file in several ways to update Outlook profiles:
Method 1:
Import the PRF file in the Office Customization Tool to specify profile settings in a transform, and then include the transform when you deploy or update Outlook.
Method 2:
Specify the PRF file as a command-line option for Outlook.exe to import a PRF file without prompting the user. Example: outlook.exe /importprf file://server1/share/outlook.prf.
Method 3:
Specify the PRF file as a command-line option for Outlook.exe, but prompt the user before importing the PRF file. Example: outlook.exe /promptimportprf \\localfolder\outlook.prf. If you put the specified PRF file in a shared folder on a network, the settings might not be applied if the file is not found or is not available when Outlook runs.
Method 4:
Configure the registry to trigger Outlook to import the PRF file when Outlook starts up. You can use the Add/Modify Registry Entry page in OCT to deploy these registry key options to your users. You can also use the OCT to distribute the PRF file to users by using the Add/Remove Files page.

1.Delete the following registry key values:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Setup\First-Run
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Setup\FirstRun

2.In the HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Setup subkey, set the value of ImportPRF to a string value that specifies the name and path of the PRF file. For example, set ImportPRF to \\server1\share\outlook.prf


Further reading:
Tech net article: Customize Outlook profiles by using an Outlook Profile (PRF) file
http://technet.microsoft.com/en-us/library/cc179062.aspx

No comments: