An Outlook user asks:
Without starting Outlook, I moved the IMAP pst from C to D. I hoped Outlook would ask me where the file is. However it creates a new one in the same location. How do I make Outlook use the new location?
That method is used to move *.pst files used by POP3 accounts, it won't work with the IMAP protocol (and is no longer recommended for moving PST files; you should move the PST then point the profile to the new location before opening Outlook.)
While I don't recommend moving the IMAP data files unless your drive space is tight, you can change the default location for IMAP data files. Note: because IMAP syncs with the server, everything in Outlook IMAP account is also on the server so the IMAP data files do not need to be backed up, with one exception: if you have "'(this computer only folders)'", you risk losing calendar and contacts in those folders.
You cannot reuse an IMAP data file with a different profile.
Use ForcePSTPath registry value to relocate Outlook IMAP .ost or .pst data files, not the ForceOSTPath key.
I recommend using ForcePSTPath with Outlook 2010 and up, not the steps to move the IMAP data file found here. Note: IMAP *.ost files honor the ForcePSTPath key, not ForceOSTPath even though the data file extension is *.ost.
Symbolic Links
and Junction Points can be used.Outlook 2007 and up use the ForcePSTPath registry key to change the default data file path from C:\Users\username\AppData\Local\Microsoft\Outlook
. This change will not move existing pst files in your profile. If you create new accounts in your profile (or create a new profile), .pst or IMAP .ost files will be placed in the path entered in the registry.
This key works for for POP3, IMAP, and SharePoint data files but does not affect Microsoft Exchange (including Outlook.com) .ost files; Microsoft Exchange data files can be relocated using the ForceOSTPath key.
Using ForcePSTPath | Reusing an IMAP data file | Move the PST
Using the ForcePSTPath regedit
Use the ForcePSTPath regedit to change the default *.pst path and in Outlook 2013 and newer, the IMAP *.ost path.
The ForcePSTPath key will recreate the pst files used by IMAP accounts in Outlook 2010 and up but not in earlier versions. If you use Outlook 2007, you'll need to move the pst file and repoint the profile to it, following the steps below.
Note: This does not change the path for existing accounts. It works only for accounts created after the key is set. Remember to create the folder you want to store the IMAP pst files in before you set the key.
In Start menu, Run (Windows key + R) or the Start menu or Task bar Search field type regedit and click OK.
Browse to the following subkey in the registry.
In Outlook 2016 go toHKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook
In Outlook 2013, the path isHKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook
In Outlook 2010 go toHKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook
In Outlook 2007 (POP3, Sharepoint, and default pst files only):HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook
Right click on the key and choose New then click String Value.
String Value: ForcePSTPath with your desired data path as the value data
Click OK and edit the registry editor. If Outlook is open, close it then restart. Newly created data files will default to the location. Existing data files would need to be moved.
Do It For Me
If you don't want to edit the registry directly, you can use one of these text files - you need to edit the path before changing the file extension to reg and double clicking on it to run it.
Be sure the path exists before adding the key to the registry. If it does not exist, Outlook will drop back to the default Microsoft\Outlook location under the user account (and in Outlook 2010 and up, to My Documents\Outlook files for POP3 and additional pst files.)
Remember to use double \\ between folder names in the path in the reg file. (Use single slashes if you edit the registry directly.)
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook] "ForcePSTPath"="C:\\folder\\folder\\folder\\folder\\folder"
Outlook 2016 Outlook 2013 Outlook 2010 Outlook 2007
Remember: you need to edit the path name, the save it using the .reg extension (or change the extension to reg after saving). Then you need to double click on the reg file to update the registry!
Reusing an IMAP data file
We receive a lot of questions from people who want to reuse the IMAP data file, either on a new computer or with a new profile. Sorry, this is not possible currently. Only the profile that created the IMAP data file can use it.
Using it in a new profile would not make the process faster as Outlook would re-sync every thing in the data file.
Note: If you download full messages, you can open and view the contents of the Outlook 2010 and older IMAP *.pst file in another Outlook profile. While this may suffice as a backup of the mailbox or an archive, if you need to clean out the IMAP account, we recommend moving messages to a local pst file to insure the full message bodies are downloaded. Outlook 2013/2016's IMAP *.ost file can't be reused (and will be automatically deleted when you delete the account from a profile).
Steps to Move the PST
Note that this method works to move and reuse an IMAP data file in older versions of Outlook but is not recommended with Outlook 2010 and newer. With Outlook 2013 and newer, set the ForcePSTPath registry key then remove and re-add the account to Outlook.
First, close Outlook then make sure Outlook is not listed in Task Manager, Processes tab a few minutes after you close it.
- Open the profile (Control panel, search for Mail) and click on Data files.
- Select the IMAP acct and click Open Folder to open the folder containing the PST.
- Move the PST to the desired location. Do not rename the file Outlook creates a new file in the default location if you try to rename it - you can only move it.
- Switch to the Data Files window and double click on the account's data file.
- Now you'll get the 'can't find' error and can tell outlook where to find it.
- Close the dialogs and you are ready to restart outlook.
Video Tutorial: Move IMAP *.pst
More Information
If the above methods don't work and you are serious about moving the pst, you can use symbolic links or junction points. See Symbolic Links (MSDN), Junction Points (MSDN), and How to Move Shell Folders (and contents) for more information.
See To move a Personal Folders .pst file for instructions for moving POP3 pst files.
sir
how to move the imap defalt store location to new locatiopn
If the account is in outlook already, symbolic links or junction points would be the easiest way to move it.
You can try the methods in this article to move it - the pdf method near the end should work.
https://www.slipstick.com/exchange/moving-outlook-ost-file/
Am I the only one for whom this didn't work!
Could it be because I'm on Windows 7?!!!
It works on 7 too. You need to set the key them add the account to outlook - it won't work on accounts already in outlook.
Amazing solution. I was breaking my head to fix it for 3 hours, with all the tricks on the web, this one is miracle. At peace :)
Dear Ms. Diane, You have written: "You cannot reuse an IMAP data file with a different profile." I am going to move on my Outlook's data to a new computer, including Business Contact Manager's data. The problem that I see is linking of items seen in history of BCM's clients (e-mail's titles) with messages stored in PST files. When the link works properly, after double click on the item, a window of Outlook's message is opening (then I see original message incl. attachments, so I can forward it, reply etc). In case when the link is broken I see a different window, that consists only a plain text copy of the original message, without possibility to forward it or reply). What should I do to avoid this undesired result? How does BCM identify a particular message stored in a PST file? By its name? Or by a folder's name which is displayed in Outlook? Earlier I have moved on all my old Office 2007 incl. BCM and SQL server, settings and data files to a new computer copying also an Outlook's profile from a registry, but result was disappointing. Outlook itself worked almost perfectly - all IMAP PST files were… Read more »
First IMAP data files (and cached Exchange data files) are a little different than POP PST files. They are linked to the account/profile that created the data file. PST files can be used in any profile, with any account. >> How does BCM identify a particular message stored in a PST file? By its name? Or by a folder's name which is displayed in Outlook? It uses the EntryID and may use the pst path (many things do) and a user account/hardware id for the computer. The entryID should not change if you move the BCM database and the pst - it will change if you import/export, so always open the pst in the new profile. >> But there was impossible to enter into 'signatures' and 'stationary and fonts' settings (these buttons were dead). Best guess: it wasn't the registry or moving the profile, but the new computer had the windows store version preinstalled. https://www.slipstick.com/problems/the-stationery-and-font-button-doesnt-work/ >>> And the worst thing was that a history button in BCM, in client's history, was also dead - there was not possible to see items in history. This may be due to a new security setting. There is a reg key to fix it.… Read more »
Thank you very much for your immediate reply. So... but it is possible, under some circumstances, reuse IMAP PST files to a new installation, expecting that messages will be reachable from client's history in BCM. So I am going to repeat my the first try moving my current Outlook's profile from the old computer, then installing Office on a new one, but this time I will follow your suggestions to remove problems mentioned before. And to be sure that EntryID of PST files will be preserved, I will reconstruct the same folder's path where they are stored using junction points (there is a different user folder name on a new computer, that's why).
Diane - what a GREAT website! You wrote above " ... reuse the IMAP data file, either on a new computer or with a new profile [?] Sorry, this is not possible currently. Only the profile that created the IMAP data file can use it." Questions: 1) My PC dual-boots Win 7 Pro 64-bit and Win 10 Pro 64-bit. I have Office 365 Home on the Win 7 side and will also put it on the Win 10 side.. (Its Outlook is currently version 16 - no year is given.) I suppose your info means that the two Outlooks cannot point to the same .ost file - correct? 2) Can the two Outlooks point to the same .pst file? 3) From your numerous articles, I am now confused whether an IMAP email account MUST generate an .ost file. Can it be set to create and use only a .pst file? This will be helpful if your answers to Qs 1 and 2 are No and Yes. 4) O365's Outlook really doesn't permit an initial setup without a forced Wizard that demands an initial email account. I want to make that my old [MyName]@verizon.net, which I have used as POP3 for… Read more »
1. Correct, they cannot share the ost.
2. Yes, pst files can be shared as long as they are in a location accessible ot each partition.
3. Imap can only use an ost file in outlook 2013 and up. Previously it has an pst extension, but it was still only synced with the account that created the pst.
4. If you don't want an email account, you can create a no mail profile then add an account later... but you can also add the account as imap and add the pst to the profile. (I would open the pst using file, open & export, open outlook data file rather than import it. )
5. Yes, its the same dialog as in control panel, mail.
I would really like to know why Microsoft always has to make things harder in new versions. I have used the same pst file through several versions of outlook and now they feel they must make it difficult to do this. I despise Microsoft.
The pst file shouldn't be any harder to use. They removed the forced requirement for pst files with imap accounts due to user requests - a lot of people hated having the separate pst for calendar & contacts.
Outlook attacked me a couple of weeks ago. I have two email accounts, one is gmail and one is hosted on a different site.
The email I sent from my gmail account vis Outlook is not showing up in the recipients spam box. If I send the email from the goal client it is ok
I spent 2+ hours chatting with Microsoft help and they identified the problem was my account was corrupted and created a new one for me. Gmail sent from it works great.
However, I have been using the same pst file for a year for both emails. The new 'new' outlook email is imap, which will not synch with my other account. It appears that if I set up the gmail (as it had been) as pop it turns my sent mail into spam.
Since I need the gmail account to be secondary (it may go away) how can I share the folders.
gamil -> imap -> not spam -> cannot share folders
gamil ->pop -> is spam -> can share folders
I need the best of both worlds.
As long as the pop account is using the gmail servers, it should be treated the same... plus imap/pop is incoming only, it wouldn't affect mail you send.
Are you using a 3rd party antivirus program that installed an outlook addin? if so, disable it.
I have an IMAP account that I initially setup in Outlook. Then later I added an Outlook.com account, only for syncing contacts. As soon as I added it, the default data file changed to be the Outlook.com account.
Should I set the default data file back to the original OST, or leave it with the new one?
leave the default data file on outlook.com - the default email account should be the imap account. If the "wrong" folder opens when outlook starts (probably the outlook.com inbox), select the desired folder in options, advanced - Start outlook in this folder selector is right at the top. You can also put the imap account at the top of the folder list.
if you have folders labeled 'this computer only' in the imap account, move the contents of the folders into the folders in outlook.com then close outlook and delete the imap data file - it will resync the mail and not recreate those folders.