Configuring Default Messaging Profiles

Microsoft Exchange Server provides a tool called the automatic profile generator (Newprof.exe) that can be used as an alternative to the Profile Wizard. If you use Newprof.exe, users don't need to create their own profiles using the Profile Wizard after Microsoft Exchange Client has been installed. It creates a default messaging profile with settings that you have specified. This process is transparent to the user.

Newprof.exe can be run during Setup or from the command line. It uses a .prf file to determine the settings for the new profile. If there is no default profile in the user's home directory and a .prf file is present, Newprof.exe creates a profile based on the information that you specified in the .prf file.

You can run Newprof.exe with a .prf file from the command line with a variety of distribution mechanisms such as SMS, logon scripts, and e-mail. If you use it with logon scripts, Newprof.exe can be used to create default profiles for roving users when they log on to a new computer. Roving users are users who log on to the Microsoft Exchange Client from different computers in an organization.

Automatically Creating Profiles for Roving Users

Many users need to access their e-mail from different Microsoft Exchange Client computers. For example, a roving user can have two offices in two different locations. You can make it easier for a roving user to log on to a new Microsoft Exchange Client computer by using the automatic profile generator to create a default profile. If you preconfigure a default profile, roving users don't need to create a profile using the Profile Wizard every time they log on to a new client computer because the automatic profile generator creates one if needed.

To create profiles for roving users automatically, you can create a .prf file with the user's logon name and home server defined. You can also configure the logon script to verify that a profile does not exist for that user on the computer. If the computer doesn't already have a profile defined for the user, then the logon script calls Newprof.exe. Newprof.exe uses the .prf file in the user's home directory to create a new profile.

For more information about roving user support, see Chapter 3, "Working with Microsoft Exchange Server."

Using Newprof.exe with a .Prf File

You can use the Setup Editor or any text editor to specify settings in the .prf file. The .prf file can be in the client installation point or the user's home directory. If Setup is used to run Newprof.exe, the file must be named Default.prf or it will be ignored. To use a different name, you can run Newprof.exe from the command line as follows:

Newprof.exe -p filepath

where filepath is the path and file name of the .prf file.

You can use the sample Template.prf file provided with the Microsoft Exchange Client to create a customized .prf file.

Creating a .Prf File

Some of the most common entries in a .prf file are described in the following table. For a list of entries in a .prf file and their formats, see the sample Template.prf file.

Entry

Description

Value

MailboxName=

The name of the Microsoft Exchange Server mailbox.

The user's name

HomeServer=

The name of the Microsoft Exchange Server computer where the user's mailbox is located.

The server name

OfflineFolderPath=

The location of the offline (.ost) folder file.

The path and file name

PathToPersonalAddressBook=

The path to the personal address book (.pab).

The path and file name

EmptyWastebasket=

Whether to empty the Deleted Items folder when quitting.

True or false

GenReadReceipt=

Whether to generate a read receipt.

True or false

GenDeliveryReceipt=

Whether to generate a delivery receipt.

True or false

SaveSentMail=

Whether to save sent messages.

True or false


If the default profile's user name is not specified in the .prf file, Newprof.exe obtains the user's name from the registry or the Win.ini file. If this information is not available, the system prompts for a name when the user logs on to the client.