Questions

how to set the default email account in Outlook using PRF file

Tags:
+
0 Votes
Locked

how to set the default email account in Outlook using PRF file

adrian.mulgrew
Hi,

I'm using a PRF file to configure outlook clients when a user logs in.

We are adding an Exchange email account and a pop3 email account to the profile.

By default the Exchange account is always set to be the default email account.

Does anyone know if there is a way I can configure the PRF file so that the Pop3 account is set as default rather than the Exchange?

Thanks

Adrian
  • +
    0 Votes
    ankurpdesai

    - change the order of the email accounts setup in your PRF file

    - in the PRF file place the account you want to setup as default after all the other accounts

    My Sample PRF file Sections 1 to 5 Exchange setup as a default)
    ;Automatically generated PRF file from the Microsoft Office Customization and Installation Wizard

    ; **************************************************************
    ; Section 1 - Profile Defaults
    ; **************************************************************

    [General]
    Custom=1
    ProfileName=TESTyahoo
    DefaultProfile=Yes
    OverwriteProfile=Yes
    ModifyDefaultProfileIfPresent=FALSE
    DefaultStore=Service1

    ; **************************************************************
    ; Section 2 - Services in Profile
    ; **************************************************************

    [Service List]
    ;ServiceX=Microsoft Outlook Client
    ServiceEGS=Exchange Global Section
    Service1=Microsoft Exchange Server
    ServiceEGS=Exchange Global Section

    ;***************************************************************
    ; Section 3 - List of internet accounts
    ;***************************************************************

    [Internet Account List]
    Account1=IMAP_I_Mail

    ;***************************************************************
    ; Section 5 - Values for each internet account.
    ;***************************************************************

    [Account1]
    UniqueService=No
    AccountName=Workspace IMAP
    IMAPServer=workspace.fitzpatrick.co.uk
    SMTPServer=dispatch.fitzpatrick.co.uk
    IMAPUserName=%username%
    EmailAddress=%username%@fitzpatrick.co.uk
    IMAPUseSPA=0
    DisplayName=
    ReplyEMailAddress=
    SMTPUseAuth=1
    SMTPAuthMethod=0
    ConnectionType=0
    RootFolder=
    ConnectionOID=MyConnection
    IMAPPort=143
    IMAPUseSSL=0
    ServerTimeOut=60
    SMTPPort=25
    SMTPUseSSL=0

    ;***************************************************************
    ; Section 4 - Default values for each service.
    ;***************************************************************

    [ServiceEGS]
    MailboxName=%UserName%
    HomeServer=pat.fitzpatrick.co.uk

    [Service1]
    OverwriteExistingService=No
    UniqueService=Yes
    MailboxName=%UserName%
    HomeServer=pat.fitzpatrick.co.uk
    AccountName=Microsoft Exchange Server

    ;[ServiceX]
    ;FormDirectoryPage=
    ;-- The URL of Exchange Web Services Form Directory page used to create Web forms.
    ;WebServicesLocation=
    ;-- The URL of Exchange Web Services page used to display unknown forms.
    ;ComposeWithWebServices=
    ;-- Set to TRUE to use Exchange Web Services to compose forms.
    ;PromptWhenUsingWebServices=
    ;-- Set to TRUE to use Exchange Web Services to display unknown forms.
    ;OpenWithWebServices=
    ;-- Set to TRUE to prompt user before opening unknown forms when using Exchange Web Services.

  • +
    0 Votes
    ankurpdesai

    - change the order of the email accounts setup in your PRF file

    - in the PRF file place the account you want to setup as default after all the other accounts

    My Sample PRF file Sections 1 to 5 Exchange setup as a default)
    ;Automatically generated PRF file from the Microsoft Office Customization and Installation Wizard

    ; **************************************************************
    ; Section 1 - Profile Defaults
    ; **************************************************************

    [General]
    Custom=1
    ProfileName=TESTyahoo
    DefaultProfile=Yes
    OverwriteProfile=Yes
    ModifyDefaultProfileIfPresent=FALSE
    DefaultStore=Service1

    ; **************************************************************
    ; Section 2 - Services in Profile
    ; **************************************************************

    [Service List]
    ;ServiceX=Microsoft Outlook Client
    ServiceEGS=Exchange Global Section
    Service1=Microsoft Exchange Server
    ServiceEGS=Exchange Global Section

    ;***************************************************************
    ; Section 3 - List of internet accounts
    ;***************************************************************

    [Internet Account List]
    Account1=IMAP_I_Mail

    ;***************************************************************
    ; Section 5 - Values for each internet account.
    ;***************************************************************

    [Account1]
    UniqueService=No
    AccountName=Workspace IMAP
    IMAPServer=workspace.fitzpatrick.co.uk
    SMTPServer=dispatch.fitzpatrick.co.uk
    IMAPUserName=%username%
    EmailAddress=%username%@fitzpatrick.co.uk
    IMAPUseSPA=0
    DisplayName=
    ReplyEMailAddress=
    SMTPUseAuth=1
    SMTPAuthMethod=0
    ConnectionType=0
    RootFolder=
    ConnectionOID=MyConnection
    IMAPPort=143
    IMAPUseSSL=0
    ServerTimeOut=60
    SMTPPort=25
    SMTPUseSSL=0

    ;***************************************************************
    ; Section 4 - Default values for each service.
    ;***************************************************************

    [ServiceEGS]
    MailboxName=%UserName%
    HomeServer=pat.fitzpatrick.co.uk

    [Service1]
    OverwriteExistingService=No
    UniqueService=Yes
    MailboxName=%UserName%
    HomeServer=pat.fitzpatrick.co.uk
    AccountName=Microsoft Exchange Server

    ;[ServiceX]
    ;FormDirectoryPage=
    ;-- The URL of Exchange Web Services Form Directory page used to create Web forms.
    ;WebServicesLocation=
    ;-- The URL of Exchange Web Services page used to display unknown forms.
    ;ComposeWithWebServices=
    ;-- Set to TRUE to use Exchange Web Services to compose forms.
    ;PromptWhenUsingWebServices=
    ;-- Set to TRUE to use Exchange Web Services to display unknown forms.
    ;OpenWithWebServices=
    ;-- Set to TRUE to prompt user before opening unknown forms when using Exchange Web Services.