Moving .OST file location unsuccessful!

Not open for further replies.


Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
I have two email accounts in Outlook 16 which I had successfully managed to change the Data Files to D:\Users| Username\Documents\Outlook Files\ IMAP folder.
All steps below have been carried out with Office 16 closed and adding the email thru Control Panel > Mail > email accounts > Manually as I have to enter the Incoming and Outgoing mail servers, New Outlook Data File checked, ports etc.
I have tried to change the location for the data file location using the ForcePSTPath for a new (BT Mail) IMAP account without success, it still stored the data file in C:\Users\Username\AppData\Local\Microsoft\Outlook\email address.ost file.
I removed the IMAP account and deleted the data file saved in C:\Users\Username\AppData\Local\Microsoft\Outlook\email address.ost file.
I altered the location using the ForceOSTPath method and still the data file is saved to C:\Users\Username\AppData\Local\Microsoft\Outlook\email address.ost file.
When I started Outlook 16 it did synchronize with the server but the account pane appears as below;
And these XML documents are the only ones that show in Documents\Outlook\IMAP
I need to move the Data File for the IMAP account to D:\ drive as my SSD has a small capacity.
Any ideas on how to move the .ost file to the D:\ drive?

Any help will be most appreciated.
May I add other issues with Outlook 16 in addition to the above as I cannot find how to edit the post.
I can make the IMAP account to be the default but I cannot make the IMAP account Data File the default I get the following message;

  1. The other issue I have come against is that the Calendar Docking icon does not work.
  2. Importing Contacts that have been exported from Outlook 2007 in CSV format do not appear in Outlook 16 Contacts. When I click to compose a new email with the IMAP account and click To the IMAP account does not appear and neither do any Contacts!:mad:
I'll start with the second message first - it's easier to answer. :)

The message about the imap not being the default data file - its because you have 2 accounts in your profile. They are exchange accounts. If you don't need calendar & contacts syncing from both, remove one and add it as IMAP. However, i really recommend using for calendar and contacts to prevent data loss if anything happens to a default imap ost.

If the problem is just that you want to see the imap inbox first when you open outlook, that is changed in file, options, advanced. Top of the page. Choose the Folder Outlook Starts Up In

Calendar docking: what exactly happens?

Importing contacts: were they imported into the imap data file or the default data file? Find out of the contacts and open it, retype the address. Does it should up in the address book now? If yes, see Imported Addresses are Missing from Address Book Another cause of the To button showing an empty address book is having the wrong contacts folder as default.

See iCloud Contacts are not showing in Address Book - Outlook Tips for the steps to check and fix it. (It applies to more than icloud. :))
Moving IMAP data files: Did you use the forcepstpath or the forceostpath registry key? You mention both - the forcepstpath should be the correct one (unless they changed something since i last tested it). Add both - since you want all of the data files off the SSD.

You definitely need to remove the account and add it back after setting the key - the path is set in the registry when you first add the account. In older versions, you had to make a new profile - when i last tested this, it was not necessary in modern versions. I will retest it and see if that changed.

Alternately, you can use junction points/ symlinks to move the folder. More info is at How to move IMAP data files
My answers to Outlook forum
Seeing the imap inbox first; yes that is the preferred inbox and I shall follow your instructions here Choose the Folder Outlook Starts Up In.
As for the accounts one is used as the Microsoft account for billing of Office 365 Personal only and the other is used for the secretary and minister to sync the calendar to his iPhone only no emails.

Calendar docking; according to Microsoft “When you point to the Calendar icon on the navigation bar, the Calendar peek shows your upcoming appointments and meetings. To always be able to see your upcoming items, dock the Calendar peek to the Outlook window.” So that the appointments show in the To-Do Bar. As I said above the account for the minister is the only account using the Calendar. I have tried the instructions here for the account that uses the calendar and the other two accounts but nothing seems to show on the To-Do bar.
Importing contacts: I imported them to the imap account. I will try again later this evening and post back with the results, as I am unable to get to the pc at the moment.

Moving IMAP data files:
  • I removed the imap account and by default it removes the Data File too, I also deleted the .ost file from C:\Users\Username\AppData\Local\Microsoft\Outlook\email address.ost file so as I believe the imap account is no longer in Outlook.
  • I used the forcepstpath registry key.
  • Opened Control Panel > Mail > E-mail accounts > Account settings > New added the imap account and the account was added to Outlook. But the Data File was placed in C:\Users\Username\AppData\Local\Microsoft\Outlook\email address.ost file and not in the D:\Users\Username\ AppData\Local\Microsoft\Outlook\email address.ost as the screenshots show in my first post.
  • I then proceeded to remove the imap account and associations again and tried the forceostpath registry key but that did not work either.
I have research the net for a solution but your excellent explanations are the best I can find, on another forum they just said and I quote “If it's a OST file there is no need to move it just delete the file an OST file is recreated from the server unlike pst which is local” that I find difficult to believe.

What I might do in the next couple of days is to remove all tree email accounts use the both forcepstpath and forceostpath registry keys and the add the imap account first followed by the two accounts and see if that helps.
On another issue; When I archive emails I wish to archive emails, so as to reduce the number of emails in the inbox, by date for example all 2014 in one folder, all 2015 in separate archive folder and so on. So that each year's email are archived in their respective archive folder and can archive folders name be changed.
The issue with changing the location of the Data File for the IMAP email account I have now resolved by removing the IMAP email account and deleting the Data File from C:\Users\Username\AppData\Local\Microsoft\Outlook\email address.ost. Restarting the pc adding the ForcePSTPath and the ForceOSTPath registry keys and restarting the pc again. Added the IMAP email account using the Control Panel > Mail > E-mail Accounts > New adding the IMAP account manually.
The issue with archiving emails has also been resolved.
The issue with the "peek icon" is ongoing, the icon does not work when following the instruction on this web page
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
O Moving .ost file Using Outlook 12
Diane Poremsky Moving an Outlook offline data file (*.ost) Using Outlook 3
M Outlook changes the "Modified" field when moving/copying a Contact. Using Outlook 0
N Reply to Outlook messages by moving messages to a specific Outlook folder Outlook VBA and Custom Forms 1
P Moving from 2010 to 365 Using Outlook 3
O Moving "tasks" to inbox in Outlook 2016 Using Outlook 1
Abraham Outlook 2013 Lost my folders when moving from PST to IMAP Using Outlook 11
F Moving Outlook to new PC Using Outlook 0
R Moved 6 months worth (approx 1500 emails) lost from moving from TPG inbox to Icloud inbox (folders) Using Outlook 3
A Moving Public Folders to New Database Exchange Server Administration 3
R Problem moving file “Email folders.pst” to new PC Using Outlook 5
glnz Moving from Outlook 2003 to MS365 Outlook - need basics Using Outlook 4
E Having some trouble with a run-a-script rule (moving mail based on file type) Outlook VBA and Custom Forms 5
F Moving Contacts to New Profile Using Outlook 0
J Moving Imported folder Using Outlook 2
J Outlook 2016 Moving IMAP emails to Exchange Using Outlook 1
A .restrict results changing after moving to Exchange online Outlook VBA and Custom Forms 0
T I'm thinking about moving from to the Outlook I have in my Office 365 Using Outlook 1
L Moving emails with similar subject and find the timings between the emails using outlook VBA macro Outlook VBA and Custom Forms 1
M Moving mail to another folder is much slower than before (Office365) Using Outlook 0
D Any updates or fixes that would make this code stop working just moving emails to another folder Outlook VBA and Custom Forms 1
B Moving account, contacts & emails to another H/D with MSOutlook Using Outlook 5
M I'm Having problems Moving Contacts to a New List Using Outlook 8
D Moving Emails Based on Recipient/Sender Outlook VBA and Custom Forms 4
U Outlook 2010 'freezes' before moving emails Using Outlook 2
S Moving Emails Between Archive Folders Using Outlook 1
P Moving Outlook.pst & archive1.pst Using Outlook 3
A Moving archived contents in Outlook 2007 back into working folders Using Outlook 0
Diane Poremsky Moving Deleted Items Using Outlook 0
Diane Poremsky is moving to Office 365! Using Outlook 3
Diane Poremsky Check Contacts before moving them to Hotmail Contacts folder Using Outlook 0
V Problem moving folders Using Outlook 4
Diane Poremsky Moving Outlook to a New Computer Using Outlook 0
Diane Poremsky Moving from Outlook Express to Outlook Using Outlook 0
M1ck53 Moving Outlook Using Outlook 9
D After Moving or Deleting Open Item - Meeting Requests Using Outlook 4
E Moving autoarchive settings to new computer (Outlook 2007) Using Outlook 1
Nick Truscott Lost custom forms after moving mailbox Outlook VBA and Custom Forms 3
L Moving Message Class email via script and Rule Outlook VBA and Custom Forms 3
R Moving contacts from ICloud back to Outlook 2010 Using Outlook 4
M which Outlook recommended to buy for moving Outlook 2000 versions Contact Data Using Outlook 2
P Moving PST file questions Using Outlook 3
Klaas "To Address" duplicated when moving msg to another folder Using Outlook 2
A Outlook 2013 EAS: moving message causes duplicates Using Outlook 3
C Moving BCM Database to Server Share BCM (Business Contact Manager) 1
A Moving .msg files back into outlook Using Outlook 2
S automatically moving flagged sent e-mail to a special folder Outlook VBA and Custom Forms 1
M moving custom field data between outlook and excel? Using Outlook 4
G Moving "Delete" button on Outlook for Mac Using Outlook 1
Commodore Message becomes "unread" after moving to a local folder Using Outlook 2

Similar threads