Creating a Profile with NEWPROF

The NEWPROF utility is a tool that creates a profile without user interaction. All of the configuration settings are contained in a template file, a file that is expected to have the .PRF extension. MAPI provides a default .PRF file called DEFAULT.PRF that lists the services implemented by Microsoft and is divided into the following four sections, similar to the sections in a profile:

You can create a new .PRF file using portions of DEFAULT.PRF as a model or modify the DEFAULT.PRF file directly, adding portions that pertain to your profile and configuration. For each service you plan to use, copy the section that lists the name, type, and property identifier for each configuration property. The section must have the same name as the service.

    To create a .PRF file
  1. Assemble information from existing .PRF files.
  2. Place the profile name in the ProfileName= line of the [General] section.
  3. Create the [Service List] section after the [General] section. In this section, list each message service that you require and the name of the section that contains its configuration properties. For information about ordering services in profiles, see Profiles.
  4. For each service listed in the [Service List] section, create an individual message section that lists the value for each configuration property. The section must have the same name as the service. See Section 3 in the DEFAULT.PRF file for an example.
  5. Invoke the NEWPROF utility. On 32-bit operating systems, NEWPROF can be run from a command line or batch file. On 16-bit Windows systems, NEWPROF cannot be run from an MS-DOS shell. Instead, run NEWPROF: