• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Understanding an Outlook Profile file (PRF)

Slipstick Systems

› Outlook › Configure and Maintain › Understanding an Outlook Profile file (PRF)

Last reviewed on October 23, 2014     30 Comments

Although Outlook 2007 and Outlook 2010's autodiscover feature makes short work of creating profiles, using a PRF to create profiles is still useful, especially if you use a lot of personal folders (*.pst) or have a large number of POP3 and IMAP accounts and are testing Windows betas.

Most users will be happy just to use a PRF to create and recreate email accounts. You'll need to add the Outlook Address Book service, or remember to remember to add it from Outlook later, otherwise Outlook uses the default services and file locations. If you want your PSTs in different locations, create a PRF.

Sample PRF with PSTs configured This is from an automatically generated PRF file from the Microsoft Office Customization and Installation Wizard (CIW). You can view the contents of this file with Notepad If you accidentally run it and create a profile in Outlook, go to Control Panel, Mail and click the Show Profiles button. Delete My Outlook Profile from the list.

This page explains the sections that you can edit and sections you shouldn't edit are not included. Most of the editable fields are self-explanatory, but I'll explain them anyway.

Sections 2 and 4 deal with the Personal Stores and Address book services.

Section 1 - Profile Defaults

[General]
Custom=1

ValueDescription
ProfileName=My Outlook ProfileThis is the name of your profile.
DefaultProfile=YesIs the profile going to be set as default? Yes or No are valid
OverwriteProfile=YesDo you want to replace the profile or append the changes to it? Valid entries are Yes, No, and Append. Use Append to update a profile.
ModifyDefaultProfileIfPresent=FALSE Modifies the default profile if one exists, even if the profile name is different from the one in the PRF.
BackupProfile=NoUndocumented property to avoid creating backup copies of a profile.
DefaultStore=Service3Which PST should be the default message store? Use the Service name that corresponds to the PST

Section 2 - Services in Profile

This section is pretty straight forward. You'll have one service entry per personal store or address book in your profile. Outlook 2003's Unicode PST is "Unicode Personal Folders" while the Outlook97/2002 (ANSI) format is just "Personal Folders"

[Service List]
;ServiceX=Microsoft Outlook Client
Service1=Personal Folders
Service2=Unicode Personal Folders
Service3=Unicode Personal Folders
Service4=Outlook Address Book

Section 3 - List of Internet Accounts

Each account in your profile is listed in this section, followed by the account type. If you add more accounts in Section 5, be sure to add the accounts here, incrementing the Account#. If you have 6 email accounts, you'll 6 accounts listed, numbered 1 through 6. The account types (POP3, IMAP, HTTP) can be in any order, the examples on this page came from the sample PRF where they were in POP3 and IMAP. Note that HTTP protocol is not longer supported and this PRF does not contain information for Outlook Hotmail Connector.

[Internet Account List]

ValueDescription
Account1=I_MailI_Mail indicates Account1 is a POP3 (Internet) mail
Account2=IMAP_I_MailIMAP_I_Mail indicates Account2 is a IMAP account

Section 4 - Default Values for each Service

ValueDescription
[Service1]Service name, corresponds with the services listed in Section 2.
UniqueService=NoAre you limited to one of this service type in a profile? Answer No for PSTs.
Name=My Personal FoldersService name. For PST, this is the display name in the profile.
PathToPersonalFolders=%USERPROFILE%\ documents\outlook files\outlook.pstWhere is the pst stored and what is the filename? By default, it's in the user profile.
EncryptionType=0x80000000Encrpytion type:
0x80000000 = No encryption
0x40000000 = Compressible encryption, the default (ANSI) or
0x50000000 (Unicode) See Note below
0x20000000 = High encryption

Outlook Address Book service does not need any parameters, it just needs added to the profile:

[Service4]

Section 5 - Values for each Internet Account

Each account needs to be listed here, using the proper format for the account type. The CIW leaves some fields blank, as shown here, unless you selected More options as you added the profiles. To add new accounts, copy the proper account type and paste it following the last account, changing the account information as needed. Don't forget to change the Account# here and add it to Section 3.

POP3 Account Settings

ValueDescription
[Account1]Account number. It needs entered here and in Section 3. Use a different number for each account.
UniqueService=NoCan you add the account type more than once? Because you can have more than one POP3, IMAP, or HTTP, you'll use No.
AccountName=Outlook Tips POP3The name displayed in the Accounts dropdown and on the Send/Receive list.
POP3Server=mail.outlook-tips.netPOP3 server name
SMTPServer=mail.outlook-tips.netSMTP server name
POP3UserName=outlooktThe username you use to log on to your account
EmailAddress=tips@outlook-tips.netYour email address.
POP3UseSPA=0Do you use SPA? In most cases, the answer is No, or 0. Enter 1 if you do use SPA.
DisplayName=Diane PoremskyEnter the display name to be used when you send messages.
ReplyEMailAddress=If you use a different reply to address, enter it here.
SMTPUseAuth=1Are you required to authenticate before sending email? 1 = Yes, 0 = No.
SMTPAuthMethod=0What authentication method do you use?
0= use same as POP3 logon.
1= Use different credentials.
2= POP before SMTP
SMTPUserName=dianepUsername to use when you use different credentials to send mail.
ConnectionType=0How do you connect to the internet?
0 = LAN.
1 = Use IE's dialer
2 = Use Phone line
3 = Use modem if LAN unavailable.
LeaveOnServer=0x0Leave mail on the server?
0x0 = No.
0x50001 = Yes, days option unchecked, never delete.
0x90003 = Yes, 9 days, don't delete.
0x50007 = Yes, 5 days, Delete from server when emptying Deleted items
ConnectionOID=MyConnectionDial up connection (DUN) to use.
POP3Port=110The POP3 port. Leave it on the default of 110 unless you are told to change it.
POP3UseSSL=0 Do you use SSL? In most cases, it's No, which is 0.
ServerTimeOut=60 What is your server time out? 60 seconds is default.
SMTPPort=25SMTP port number. 25 is default but some servers use 2525 or 587. Leave it at 25 unless you need a different port.
SMTPUseSSL=0Does your SMTP server use SSL? Leave it on 0 (No) unless told otherwise.

IMAP Account

ValueDescription
[Account2]Account number. It needs entered here and in Section 3
UniqueService=NoCan you add the account type more than once? Use No for HTTP, POP#, or IMAP accounts.
AccountName=AOL-IMAPThe name displayed in the Accounts dropdown and on the Send/Receive list.
IMAPServer=imap.aol.comIMAP server
SMTPServer=smtp.aol.comSMTP server
IMAPUserName=poremskyYour username, used to logon when you check email.
EmailAddress=poremsky@aol.comEmail address
IMAPUseSPA=0Use SPA? 0 = No, only change it if you do need to use SPA.
DisplayName=Diane PoremskyThe display name you want to use when you send messages
ReplyEMailAddress=Reply to email address, if different than your sending email address.
SMTPUseAuth=1Do you need to authenticate to send email? 1= Yes.
SMTPAuthMethod=0What authentication method do you use?
0= use same as POP3 logon.
1= Use different credentials.
2= POP before SMTP
SMTPUserName=dianepUsername to use when you use different credentials to send mail.
ConnectionType=0How do you connect to the internet?
0 = LAN.
1 = Use IE's dialer
2= Use Phone line
3 = Use modem if LAN unavailable.
RootFolder=Do you use a root folder? If so, enter the path here.
ConnectionOID=MyConnectionDial up networking connection to use.
IMAPPort=143The port you use to collect email. Default is 143, don't change it unless told to.
IMAPUseSSL=0Do you use SSL? 0= No.
ServerTimeOut=60Server timeout.
SMTPPort=587The SMTP port to use. Default is 25, change it only if your server uses a different port, as AOL does.
SMTPUseSSL=0Do you use SSL to send mail? 0=No.

More Information

***Note: The CIW uses the wrong encryption code for Unicode psts and you'll need to change it from 0x40000000 to 0x50000000.

Also see Tips for using Outlook .prf files to configure profiles
Customizing Outlook Profiles by Using PRF Files.
Create an Outlook Profile File (*.PRF) Step-by-step using Outlook 2003's CIW

Understanding an Outlook Profile file (PRF) was last modified: October 23rd, 2014 by Diane Poremsky
Post Views: 136

Related Posts:

  • Exchange Server and SMTP Servers
  • When you have an Exchange Server account in Small Business Server 2003
    Exchange Account Gets Set as the Default Account
  • We'll be adding more issues to this page for Outlook users who send an
    Internet Mail Issues with Outlook
  • Using Multiple IMAP or Outlook.com Accounts and Data Files (*.pst)

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Comments

  1. Rodney Aries says

    April 20, 2016 at 4:54 pm

    Hi Diane,

    I am looking to delete a mailbox within a default Outlook 2010/2013 profile that contains a particular domain name for users via their logon script. I was thinking using PRF has the potential to do this. In your experience, is this a possible way to go? Best Regards

    Reply
  2. Richard Lowe says

    September 8, 2015 at 8:58 pm

    Hi There. I found a way to put any information you want using %???%. This is done using a script to put environment variables.

    This is a Script that I created.

    Dim oShell
    Set oShell = WScript.CreateObject ("WScript.Shell")
    oShell.run "xcopy G:\Scripts\????.prf c:\ /c/h/r/k/y"
    ' This likes to run from C Drive so this Is a simple copy command to put it there
    Set oShell = Nothing

    Set objShell = CreateObject("WScript.Shell")
    Set objUserEnv = objShell.Environment("USER")
    Set objADSysInfo = CreateObject("ADSystemInfo")
    Set objUser = GetObject("LDAP://" & objADSysInfo.UserName)
    ' This will create the variable %first.last% for the first.lastname
    'objUserEnv("first.last") = objUser.givenName & "." & objUser.sn
    ' This will create the variable %first% for the first name
    objUserEnv("first") = objUser.givenName
    ' This will create the variable %last% for the surname
    objUserEnv("last") = objUser.sn
    ' This will create the variable %mail% for the primary mail address
    'objUserEnv("cn") = objUser.mail

    'objUserEnv("ExPro") = strValue

    msgbox "Please Exit Outlook and press ok."

    Set oShell = WScript.CreateObject ("WScript.Shell")

    oShell.run "outlook.exe /importprf c:\rangitoto.prf"
    Set oShell = Nothing

    ---------------------------------------------------------------------------
    You can use objUserEnv to put anything in the prf file.

    Eg Like %first% %last% in the name field. I have setup exchange and google this way.

    Reply
  3. Mark Foley says

    September 6, 2015 at 12:29 pm

    I will continue to peruse prf files for this, but this may not be the solution for my question. I want to use "Windows Authentication" for Outlook. I have an AD/DC server, but am using an IMAP mail server, not Exchange. Is it possible to configure Outlook to use AD authentication (and not have to configure ID/PW in Outlook) in the absence of Exchange?

    Reply
    • Diane Poremsky says

      September 6, 2015 at 1:13 pm

      I don't think you can do that, at least not natively. There might be 3rd party utilities that can do it.

      Reply
  4. Erick Nobleza says

    May 25, 2015 at 1:50 am

    Hi! ms Diane sorry to bother you again but is it somehow possible to tell the prf to get the information it needs from the computer itself? something like this "DisplayName=%username%".

    Reply
    • Diane Poremsky says

      May 26, 2015 at 1:36 am

      You can use variables in the prf - that one should work.

      Reply
  5. Erick Nobleza says

    May 11, 2015 at 10:53 pm

    thanks s lot for the reply ms. diane :)

    Reply
  6. Octavia says

    May 9, 2015 at 6:35 pm

    Diane - I am upgrading a user from Outlook 2010 to Outlook 2013. This user is extremely detailed and I need to carry over all of his Outlook settings. Do you know of a reputable Microsoft Outlook software that I can use the carry over every setting??

    Reply
    • Diane Poremsky says

      May 9, 2015 at 11:32 pm

      There are there places where settings are stored - the data file, the registry, and under the microsoft\outlook folders in local appdata and roaming appdata. If you are upgrading on the same computer, everything should transfer to the new version. I have a list of backup utilities at https://www.slipstick.com/outlook/config/how-to-backup-your-outlook-account-settings/#tools

      Reply
  7. Erick Nobleza says

    May 4, 2015 at 3:00 am

    Thanks for the quick reply your a life saver :) i have another question is there a way to set the prf file to configure the account to check message automatically at startup?

    Reply
    • Diane Poremsky says

      May 9, 2015 at 10:48 pm

      If this: configure the account to check message automatically at startup is the option to automatically check mail, that is set via group policy or the registry, not a prf.

      Reply
  8. AusNetIT Solutions (@ausnetit) says

    April 30, 2015 at 7:26 am

    Hi After i set UniqueService=Yes i cannot deploy to new pc's?

    if i set to NO backup copy is creating?

    Reply
    • Diane Poremsky says

      April 30, 2015 at 9:14 pm

      Unique service means you can only have one of the item in the profile - like exchange accounts (older outlook) and outlook address book.

      BackupProfile controls whether a backup is created.

      Reply
  9. Erick Nobleza says

    April 22, 2015 at 10:06 pm

    Hi Good Day, you have a very good article here you really helped me a lot i was just wondering in the "SMTPUseSSL=0 Do you use SSL to send mail? 0=No."
    how can i declare "TLS" as the type of encrypted connection?

    Reply
    • Diane Poremsky says

      April 23, 2015 at 12:36 am

      I don't have a sample with it in it, but you can set SMTPSecureConnection to 2 for TLS or 3 for auto. If your prf doesn't have smtpsecureconnection in the mapping section, try it with the mapping here.

      Reply
  10. Ian says

    February 2, 2015 at 1:59 am

    Thanks again, Diane - you're having a late night :) - leave this for another day
    I haven't found a download link for the OCT, though I will check MSDN Subscriber downloads. And the Microsoft online instructions recommend installing from a network location. Is there a less-involved way?

    Reply
    • Diane Poremsky says

      March 5, 2015 at 12:04 am

      The OCT is only available with the volume licensed versions. In Office 2013, you need the MSI version. If you have an MSDN subscription, you should have access to it.

      Reply
  11. Ian says

    February 2, 2015 at 12:57 am

    Thanks, Diane.
    So, can I use the tool (? is it called OCT) to export a PRF? Or, can I edit the preferences in some way without the tedious changes that are possible within the Outlook desktop interface itself?
    Although I use just Outlook 2010 desktop (not Exchange with numerous accounts), I like to keep 2 or 3 profiles in the applet that launches Outlook (I assume that the Control Panel Mail applet calls the same thing that I see when I don't have a default startup profile). I would like to be able to change these profile preferences - and even rename them - in a fairly simple way.

    Reply
    • Diane Poremsky says

      February 2, 2015 at 1:32 am

      You can use the OCT to create a PRF. Once you have a working PRF, you can edit it in notepad - you can change profile names, accounts and servers. If you only have pop accounts, the sample prf on this page should meet your need - make copies and edit it in notepad. You'll need to remove Service5 (in the service list and default values for the service section) as Outlook 2010 doesn't support it.

      Reply
  12. Ian says

    February 1, 2015 at 5:51 pm

    Where are PRF files stored, for Outlook 2010 desktop?

    Reply
    • Diane Poremsky says

      February 2, 2015 at 12:21 am

      They can be anywhere you put them - Outlook doesn't create a PRF file - it reads the PRF you supply.

      Reply
  13. Phillip Richardson says

    October 22, 2014 at 3:54 pm

    This is great information. Do you know how to remove a PRF off a computer that was deployed during an Office 2013 installation? The PRF was referenced in the MST file created with the Office Customization Tool.

    Reply
    • Fab says

      January 12, 2015 at 12:25 pm

      it located Under c:\program files (x86)\Microsoft Office\custom14.prf

      Reply
  14. Ahmed says

    July 16, 2014 at 4:37 am

    can i save the password for POP3 account ,because i have many users in my domain using pop3 accounts and i want to change the password for all pop3 accounts.

    Reply
    • Diane Poremsky says

      July 16, 2014 at 10:58 pm

      The password can't be saved in the PRF files. Sorry.

      Reply
  15. Kevin Dondrea says

    March 17, 2014 at 5:29 am

    Thank you Diane, this information is perfect. I had an old copy but it had things they left out.

    Reply
  16. Kevin Dondrea says

    March 17, 2014 at 5:28 am

    If you use a VBScript to Automate the Outlook setup process you should be able to add a Sub for a registry key to turn off the check mark for "Remember Password"

    Add the 'Security" key and "PromptForCredentials" value to the registry with the following command:reg.exe add "HKCU\Software\Policies\MicroSoft\Office\12.0\Outlook\Security" /v PromptForcredentials /t REG_DWORD /d 1 /f

    https://www.itninja.com/question/disable-remember-password-option-in-outlook

    Reply
  17. Dean says

    July 11, 2012 at 9:30 pm

    Is there a setting to uncheck the 'remember password' option for an IMAP account? I am using a PRF file to automate the configuration of a users email account, however, this option is checked by default and so Outlook attempts to connect to the mail server without prompting the user for their password. And because the password field is blank and not yet set, it fails. I would like to turn this option off so the user can enter their password before Outlook tries to connect to the server. Is this something configurable in the PRF file?

    Reply
    • Diane Poremsky says

      January 19, 2013 at 2:11 pm

      No, its not configurable in the PRF, sorry.

      Reply
    • runge says

      November 22, 2016 at 2:44 pm

      Does anyone know if there is a way on how to tell if the user has successfully launched Outlook 2010 that would apply for cached and non-cached mode. This can be a file in the user’s profile or a registry key. I have an outlook add in that I want to install once the outlook profile is created. I need solutions for both win 7 and Win 10.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 31 Issue 7

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • Reset the New Outlook Profile
  • Disable "Always ask before opening" Dialog
  • How to Hide or Delete Outlook's Default Folders
  • Change Outlook's Programmatic Access Options
  • Removing Suggested Accounts in New Outlook
  • Understanding Outlook's Calendar patchwork colors
  • This operation has been cancelled due to restrictions
  • Shared Mailboxes and the Default 'Send From' Account
  • Sync Issues and Errors with Gmail and Yahoo accounts
  • Error Opening iCloud Appointments in Classic Outlook
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Sync Issues and Errors with Gmail and Yahoo accounts

Error Opening iCloud Appointments in Classic Outlook

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2026 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.