Fix: change offline Outlook Data File (.ost) location in Microsoft Outlook on Windows 10

By: Madeleine Dean
3 minute read

If you tried to change the location of the offline Outlook Data File (.ost) in Microsoft Outlook, you have seen that the browse button is disabled. This is due to the deprecation of the classic offline mode in Outlook, which is an online mode connection to Microsoft Exchange Server. This is what happens when you try to do something offline using a tool designed for online use. But the good news is that there is a fix for this.

Users have also described this issue on Microsoft’s forum:

My current default location for my OST file is C:\Users\…\*** Email address is removed for privacy ***
I have been trying to change the location to D:\Users\…\*** Email address is removed for privacy ***, but nothing I try seems to work.
In Outlook, I go to change the location of the data file, but it doesn’t allow me to edit or change the file. […]
How can I change the location in which outlook points to the data file for my email? It is pulling the emails off of the exchange server, but caching them to my OST file on my local C drive, instead of my other local D drive?

Here’s how to change the location of the offline Outlook Data File:

1. Create a new Outlook Profile and change the location of the .ost file

  1. Go to Control Panel > type mail to search for the Mail item > open it.
  2. Click on Show Profiles > click Add and type a name for the profile > click OK.
  3. create new profile outlookClick on Next and wait for the setup to complete.
  4. Select the Change account settings check case > click on Next.
  5. change account settings outlookIn the Server Settings windows, select More Settings.
  6. save account settings outlookIn the Microsoft Exchange Windows, click on the Advanced tab and then on Outlook Data File Settings
  7. In the new windows that appears on the screen, click on Browse and then on Open.
  8. Click on Finish to complete the email account setup.
  9. Return to the profile list >Control Panel > type mail to search for the Mail item > open it> Click Show Profiles.
  10. Select the optimized profile> check the Always use this profile box > click OK.

2. Change the location via the ForceOSTPath registry entry

We suggest you to back up the registry before you change the settings. If you modify the registry incorrectly, you can use the back up to restore the registry.  If you also want to monitor registry changes, this tool can help you.

    1. Type regedit in the search box > click OK.
    2. Locate the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Office\xx.0\Outlook
      ( xx.0 represents your Office version (15.0 = Office 2013).

outlook regedit                3. Right-click Outlook >New > click on Expandable String Value.

regedit outlook string               4. Type ForceOSTPath> press Enter.

5. Right-click ForceOSTPath, and then click on Modify.

6. In the Value data box, type the path where you want to store the .ost file (C:\MyOSTfiles) > click OK.

rededit outlook string setup

7. Remove and re-add your account. Setting the Registry value does not affect existing accounts. You can also use Microsoft FixIt tool if you don’t want to use the regedit path.


For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download this PC Repair Tool with Microsoft Technologies
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).