You moved your Outlook Data File to a new drive or folder, and now Outlook cannot open it. This happens because Outlook stores the exact file path to your data file. When you move the file manually, Outlook’s internal pointer breaks. This article provides the steps to relink Outlook to your moved data file and restore access to your emails and calendar.
Key Takeaways: Relinking a Moved Outlook Data File
- Account Settings > Data Files: Use this dialog to remove the broken file reference and add the new, correct location.
- Control Panel > Mail > Show Profiles: Create a new mail profile if the standard relink process fails to resolve the issue.
- File > Open & Export > Open Outlook Data File: Manually open a data file as a secondary archive without changing your primary account settings.
Why Outlook Loses Track of a Moved Data File
Outlook uses a Personal Folders File, known as a PST file, to store local copies of your emails, calendar, contacts, and tasks for accounts like POP3 or IMAP. It also uses this file type for archive folders. The path to this file is recorded in your mail profile within the Windows Registry. When you use Windows File Explorer to move or rename the PST file, the path stored in the registry is no longer valid. Outlook attempts to start using the recorded path and fails, resulting in an error message that the file cannot be accessed.
This is different from moving data files for a Microsoft 365 or Exchange account. For those accounts, you manage the data file location through Outlook’s account settings while the program is closed, which updates the registry path correctly. The manual move method bypasses this update process. The fix involves directing Outlook to the new file location through its configuration menus, which will write the correct path back to the registry.
Steps to Relink Outlook to the Moved Data File
First, ensure Outlook is completely closed. Locate your PST file in its new location using File Explorer. Note the full path, such as D:\Outlook Files\archive.pst. Then, follow these steps to update Outlook’s settings.
- Open Outlook and Navigate to Account Settings
Launch Outlook. Go to the File tab on the ribbon. Click on Account Settings, then select Account Settings again from the dropdown menu. - Access the Data Files Tab
In the Account Settings window, click on the Data Files tab. You will see a list of all data files currently associated with your profile. The file with the broken link will likely show an error icon or an incorrect path. - Remove the Broken Reference
Select the data file entry with the wrong path. Click the Remove button above the list. Confirm any prompt that appears. This action only removes the reference from your profile; it does not delete the actual PST file from your drive. - Add the Data File from its New Location
Click the Add button. In the new window, ensure Outlook Data File (.pst) is selected and click OK. Navigate through the file browser to find and select your PST file in its new location. Click OK. - Set as Default if Needed and Close
The newly added file will appear in the list. If this is your primary delivery location, select it and click Set as Default. Click Close to exit the Account Settings window. Restart Outlook for the changes to take full effect.
Alternative Method: Using the Mail Control Panel
If the standard method does not work, you can create a new mail profile, which is a clean configuration that will automatically find the data file. Close Outlook. Open the Windows Control Panel, select Mail, and click Show Profiles. Click Add, enter a name for the new profile, and follow the prompts to add your email account. When setting up the account, Outlook will typically find existing PST files, or you can add it manually during setup.
If Outlook Still Cannot Access the File
Error: “The file .pst cannot be accessed”
This persistent error often indicates file permission issues. Right-click the PST file in File Explorer, choose Properties, and go to the Security tab. Ensure your Windows user account has Full Control permissions. If not, edit the permissions to grant Full Control.
Outlook Creates a New Empty PST File After Relinking
This occurs if you removed the default data file and did not correctly re-add the original. Outlook must have a default delivery location. Follow these steps to correct it:
- Re-add the Correct File
Use the Data Files tab in Account Settings to add your original PST file from its new location. - Set as Default
Immediately select the newly added, correct file and click Set as Default. - Remove the Empty File
Select the new, empty PST file that Outlook created and click Remove. Restart Outlook.
The PST File is Grayed Out or Unselectable in the Add Dialog
A grayed-out file usually means it is already connected to another Outlook profile or is in use. Ensure all Outlook windows are closed, including any hidden ones in the system tray. Also, check if another user profile on the same PC is using the file. The file may also be marked as read-only in its properties.
Methods for Managing Outlook Data Files
| Item | Relinking via Account Settings | Creating a New Mail Profile | Opening as a Secondary Archive |
|---|---|---|---|
| Primary Use Case | Fixing a broken link after moving a primary or archive PST | Resolving complex profile corruption or persistent errors | Accessing an archive file without making it your default store |
| Complexity | Medium, requires navigating specific Outlook menus | High, involves Windows Control Panel and re-adding accounts | Low, a simple open file command within Outlook |
| Impact on Data | None, only changes the path reference | None, old profile can be deleted after verification | None, file is added in a read/write state |
| Outlook Restart Required | Yes, for changes to fully apply | Yes, to switch to and use the new profile | No, the file appears immediately in the folder list |
You can now restore Outlook’s connection to your emails and calendar after moving the data file. Use the Account Settings method for a direct fix. If you encounter permission errors, check the file’s security properties in Windows. For future moves, use the Outlook Data File settings while Outlook is closed to change the location safely and avoid this issue.