Using a PRF to configure exchange and leave current PST RRS feed

  • Question

  • Current setup:

    Pop3 using Outlook 2003.


    Migrate to Exchange Server 2010, use a prf file to connect all users to their mailbox, set it default, leave their pst file open and remove the pop3 account.


    So I've got a PRF file that will connect the users to their mailbox and leave their PST file open. The problem is that the old account (pop3) is left as default thus the users won't be able to send mail through exchange. Is there anyway to do this so that the prf will connect the user, set exchange as default, remove pop3 account but leave their pst open? 


    Note: We are not importing all the users old mail into the Exchange server which is why we need the PST left open. There isn't a standard for what their PST files are named.

    Thursday, March 10, 2011 5:06 PM


  • Hi!

    A PRF will not allow you to remove a POP3 account. --Even if you don't include the account in the PRF; when you modify the profile the new Exchange account is added, but the POP3 account remains along with its associated PST (data file).

    What I would suggest is a new Outlook 2003 profile with the Exchange 2010 account configured. Set this new profile as the default Outlook profile.

    The POP3 profile is still on the machine. --You'll want to set Outlook to "Prompt for a profile to be used". <Control panel > All Control Panel Items > Mail > Show Profiles>

    You can instruct your users on how to find their POP3's PST file and how to add it to their new Outlook 2003 w/ Exchange account profile, so that their old data is available in there nee default Outlook profiles.

    Thinking outside the box:

    You can:

    1. Create and deploy a custom PRF with a new Outlook profile with Exchange 2010 account added.

    Once the new profile is on the machine....

    2. Programmatically locate any PST files (or a specific) on the machine and add them to the new Outlook 2003 profile.

    3. http://msdn.microsoft.com/en-us/library/aa210225(v=office.11).aspx  "Adds a Personal Folders (.pst) file to the current profile"

    - You could use the FileSystemObject reference to look for any PST files in the default location Outlook uses. <root drive>\Documents and Settings\<var>username</var>\Local Settings\Application Data\Microsoft\Outlook

    For each PST in the folder, you can feed the file path into the .AddStore method as show in the MSDN article.

    Or, give the users instructions on how to add the PST files manually to their new Outlook profiles. :-)

    4. Once the PSTs and anything else has been saved off, you can delete the POP3 profile. --You can delete the profile by removing its registry key from HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles

    This is has the same result as deleting the profile from <Control panel > All Control Panel Items > Mail > Show Profiles>


    I hope this answered your main question, though. --Which is the POP3 account cannot be removed using a PRF, so the PST will remain along with the account.

    If you have more PRF questions, I would refer to the Whitepaper: Configuring Outlook Profiles by Using a PRF file:  http://office.microsoft.com/en-us/office-2003-resource-kit/whitepaper-configuring-outlook-profiles-by-using-a-prf-file-HA001140305.aspx?CTT=5&origin=HA001140258

    It's pretty all-inclusive whitepaper, but if you have any follow questions just ask.


    Hope that helps!

    Jahawk MSFT

    • Marked as answer by Jennifer Zhan Thursday, March 17, 2011 7:22 AM
    Monday, March 14, 2011 11:54 PM