PST File Not an Outlook Data File? How to Fix It
In this article
The error "PST file is not an Outlook data file" means Outlook cannot open the .pst file because it is either corrupted, not actually a PST file, or was created by a different program or Outlook version. The quickest fix is to run the built-in Inbox Repair tool (scanpst.exe) on the file, then try opening it again. If that fails, you can try importing the file instead of opening it, or use a third-party recovery tool as a last resort. Before you start, make sure you have a backup copy of the PST file and know its exact location.
What You'll Need
- A backup copy of the PST file (copy it to a safe folder before any repair attempt).
- The full path to the PST file (e.g., C:\Users\YourName\Documents\Outlook Files\backup.pst).
- Access to the computer where Outlook is installed (the repair tool is part of Outlook).
- Administrator rights may be needed to run the repair tool.
Step-by-Step
- Locate the PST file. Open File Explorer and navigate to the folder containing the PST file. If you are unsure, search for *.pst in the Windows search bar. Note the full path.
- Make a backup copy. Right-click the PST file, choose Copy, then paste it into a different folder (e.g., Desktop). This ensures you have an untouched original if something goes wrong.
- Close Outlook. Make sure Outlook is not running. Check the system tray and Task Manager to end any lingering Outlook processes.
- Run the Inbox Repair tool (scanpst.exe). The tool is typically located at:
- 32-bit Windows: C:\Program Files\Microsoft Office\root\Office16\scanpst.exe
- 64-bit Windows: C:\Program Files (x86)\Microsoft Office\root\Office16\scanpst.exe
- Select the PST file. In the Inbox Repair tool window, click Browse and navigate to your PST file. Click Start to begin the scan.
- Repair the file. After the scan, if errors are found, check the box to make a backup of the file (recommended), then click Repair. Wait for the process to complete.
- Try opening the PST file in Outlook. Open Outlook, go to File > Open & Export > Open Outlook Data File, and select the repaired PST file. If it opens without error, the issue is resolved.
- If the repair tool does not work, try importing. In Outlook, go to File > Open & Export > Import/Export. Choose Import from another program or file, select Outlook Data File (.pst), and follow the wizard to import the file. This sometimes bypasses the error.
- Use a third-party recovery tool (last resort). If the file is severely corrupted, consider a reputable PST recovery tool. Download only from the official vendor website, and test the tool on a copy of the file first.
Common Mistakes
- Not backing up the file first. Repair attempts can further damage a corrupted file. Always work on a copy.
- Running the repair tool on the wrong file. Double-check the path; repairing an unrelated PST file wastes time.
- Ignoring Outlook version differences. The scanpst.exe location varies by Office version (e.g., Office 2016 vs. Microsoft 365). Search for the file if the default paths don't match.
- Assuming the file is a PST when it's not. Some files with a .pst extension are actually another format (e.g., a renamed .ost or .mbox). Verify the file type by checking its properties or using a file identifier tool.
- Skipping the backup option in scanpst. Always let the tool create a backup before repairing, in case the repair makes things worse.
Tips
- Regularly back up your PST files to an external drive or cloud storage to avoid data loss.
- Keep Outlook updated to the latest version to minimize compatibility issues.
- If the PST file is very large (over 2 GB for older Outlook versions, or 50 GB for newer), consider splitting it or archiving old emails to reduce size and corruption risk.
- Use the Windows Event Viewer to check for application errors related to Outlook, which might give clues about the corruption.
- If you frequently move PST files between computers, ensure Outlook is closed before copying, and always use the safe removal method for external drives.
Troubleshooting
If the Inbox Repair tool fails or the error persists, try these steps in order:
- Check file permissions. Ensure you have read/write access to the PST file and the folder it's in. Right-click the file, choose Properties > Security, and verify your user account has Full Control.
- Try opening the file on a different computer. This helps determine if the issue is with the file or your Outlook installation.
- Create a new Outlook profile. Go to Control Panel > Mail > Show Profiles > Add. Set up a new profile and try opening the PST file there. This can bypass profile corruption.
- Run Outlook in safe mode. Press Windows + R, type outlook.exe /safe, and press Enter. Then try opening the PST file. If it works, an add-in may be causing the problem; disable add-ins one by one.
- Use the System File Checker. Open Command Prompt as administrator and run sfc /scannow to repair corrupted Windows system files that might affect Outlook.
- Reinstall Office. As a last resort, uninstall and reinstall Microsoft Office. This will not delete your PST files, but back them up first.
Frequently Asked Questions
Can I fix a PST file without Outlook?
No, the built-in repair tool (scanpst.exe) is part of Outlook. However, some third-party recovery tools can repair PST files without Outlook installed, but they are paid and not officially supported by Microsoft.
What causes the "not an Outlook data file" error?
Common causes include file corruption (due to sudden shutdown, virus, or disk errors), using a PST file from a newer Outlook version in an older version, or the file being renamed from another format (e.g., .ost) to .pst.
Will I lose data if I repair the PST file?
Usually not, but there is a risk. The Inbox Repair tool creates a backup before repairing, so you can revert if needed. Always work on a copy to be safe.
How do I know if a file is a real PST file?
You can check the file header using a hex editor; PST files start with "!BDN" (hex: 21 42 44 4E). Alternatively, try opening it in Outlook; if it fails with this error, it's likely not a valid PST.
Can I merge multiple PST files?
Yes, you can import them into Outlook and then move items into a single PST file, or use the Archive feature. But first, ensure each PST file is valid and opens without errors.
Is it safe to use third-party PST repair tools?
Reputable tools from well-known vendors are generally safe, but always download from the official website and scan for malware. Avoid free tools of unknown origin, as they may contain adware or steal data.