Basic .PRF file for use with NEWPROF.EXEShown below are the contents of a basic .PRF file which can be used to automatically create an Outlook Profile using NEWPROF.EXE or the ImportPRF registry key. This file was edited from the sample/template OUTLOOK.PRF which is included with the NEWPROF.EXE download. See also: Creating a Profile with NEWPROF. This example will create a profile for the current user (%USERNAME%) to connect to a mailbox on Exchange server SERVERNAME and load the default Outlook Address Book service. To use this file, copy the contents below into Notepad, modify the servername and/or username to match your environment, and save the file with the extension .PRF. Before making any other modifications, make sure you understand what each section is for as most comments have been removed. For information on how to use NEWPROF please see either of the links above. Sample .PRF file:
; ************************************************************************
; Section 1 - Profile defaults. ; ************************************************************************ [General] Custom=1 ProfileName=%USERNAME% DefaultProfile=Yes OverwriteProfile=No DefaultStore=Service1 ; ************************************************************************ ; Section 2 - Services in profile. ; ************************************************************************ ; The list of MAPI services that will be added to the profile. [Service List] Service1=Microsoft Exchange Server Service2=Outlook Address Book ; ************************************************************************ ; Section 4 - Default values for each service. ; ************************************************************************ [Service1] ConversionProhibited=TRUE HomeServer=OCEEXCH01 [Service2] Ben=TRUE ; ************************************************************************ ; Section 6 - Mapping for profile properties. DO NOT MODIFY. ; ************************************************************************ ; ************************************************************************ ; Outlook settings stored in the profile [Microsoft Outlook Client] SectionGUID=0a0d020000000000c000000000000046 FormDirectoryPage=PT_STRING8,0x0270 WebServicesLocation=PT_STRING8,0x0271 ComposeWithWebServices=PT_BOOLEAN,0x0272 PromptWhenUsingWebServices=PT_BOOLEAN,0x0273 OpenWithWebServices=PT_BOOLEAN,0x0274 ; ************************************************************************ ; Microsoft Exchange Server service definitions. [Microsoft Exchange Server] ServiceName=MSEMS MDBGUID=5494A1C0297F101BA58708002B2A2517 MailboxName=PT_STRING8,0x6607 HomeServer=PT_STRING8,0x6608 OfflineFolderPath=PT_STRING8,0x6610 OfflineAddressBookPath=PT_STRING8,0x660E ExchangeConfigFlags=PT_LONG,0x6601 ConversionProhibited=PT_BOOLEAN,0x3A03 ; ************************************************************************ ; Outlook Address Book service definitions. [Outlook Address Book] ServiceName=CONTAB Ben=PT_STRING8,0x6700 ; ************************************************************************ ; Microsoft LDAP Directory service definitions. [Microsoft LDAP Directory] ServiceName=EMABLT LDAPServer=PT_STRING8,0x6600 LDAPServerPort=PT_STRING8,0x6601 UserName=PT_STRING8,0x6602 SearchBase=PT_STRING8,0x6603 SearchFilter=PT_STRING8,0x6604 MAPIAddressType=PT_STRING8,0x6605 EMailAttribute=PT_STRING8,0x6606 LDAPTimeLimit=PT_STRING8,0x6607 LDAPSizeLimit=PT_STRING8,0x6608 LDAPTimeLimitLowBand=PT_STRING8,0x6609 LDAPSizeLimitLowBand=PT_STRING8,0x660a LogFilePath=PT_STRING8,0x660b ErrorLogging=PT_STRING8,0x660c DisplayNameSource=PT_STRING8,0x6611 DisplayFailDialog=PT_STRING8,0x6612
Author: ASAK Created: Dec 9 2005 (last modified Jan 8 2007) Categories: Outlook TechByte #109 Warning: By visiting this site and/or by using any information contained herein, you agree to the Techbytes.ca terms of use. Add a comment about this TechByteIf you wish to add a comment regarding this TechByte, please use the form below. Please note that by submitting comments using this form you are allowing all of the information submitted to be visible on this website. Any comments submitted using this form will only be shown on the website if they are approved by the administrators of this site. IF APPROVED, COMMENTS MAY TAKE SEVERAL DAYS TO BE POSTED. Other TechBytes: |
|

