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:
Section 1 includes the [General] section.
Section 2 includes the [Service List] section.
Section 3 includes sections that describe individual message services.
Section 4 includes sections that map to profile properties.
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
Assemble information from existing .PRF files.
Place the profile name in the ProfileName= line of the [General] section.
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.
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.
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:
With a Windows-based setup script.
With the Run command on the File menu in Program Manager or File Manager.