Cannot create pst file. The file path is too long.

Get in touch

If you would like help with "Cannot create pst file. The file path is too long." or with any other topic then feel free to get in touch for a chat.

by | 30/10/2020 | Tutorials | 0 comments

Recently when adding new email accounts to outlook we have been coming across the error “Cannot create pst file. The file path is too long.”.

The problem is the default path Outlook uses to store its email data file is already quite long, so by the time your account name has been added on to the end, it has become too long for Outlook to cope with. The solution is to change the default Location for Outlook Data File.

How to Change Default Location for Outlook Data File

Open the Registry Editor by clicking [Start], typing “regedit” and then hitting [Enter]

Navigate to the appropriate key for your version of Outlook (Listed below), by clicking the > next to the title.

  • Outlook 2007:
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook
  • Outlook 2010:
    HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook
  • Outlook 2013:
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook
  • Outlook 2016:
    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook

Right click in an empty space and select [New] [Expandable String Value]. Call the string “ForcePSTPath”

Double click on your new string and add the value data with the full URL to your new folder location then click OK

Restart Outlook and when you add a new account the PST file will default to your chosen location.

Can we help?

If you would like help with this, or any other topic then don’t hesitate to get in touch with us.