Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Recover Corrupted PST & OST Files: Full Toolbox Guide

· 7 min read · Home Tech

In this article
  1. Understanding PST and OST Files
  2. Why PST and OST Files Get Corrupted
  3. Built-in Repair Tools: Inbox Repair Tool (Scanpst.exe)
  4. Manual Recovery Methods for OST Files
  5. Third-Party Recovery Software: What to Look For
  6. Common Mistakes and Misconceptions
  7. Prevention: Backups and Maintenance
  8. Frequently Asked Questions

This article explains how to recover corrupted Outlook PST and OST files using built-in tools, manual methods, and third-party recovery software. You'll learn the causes of corruption, step-by-step repair processes, and how to choose the right approach for your situation.

Understanding PST and OST Files

Outlook stores your emails, contacts, calendar items, and other data in two types of files. PST (Personal Storage Table) files are used for accounts like POP3 or IMAP, and they're stored locally on your computer. OST (Offline Storage Table) files are used for Exchange, Microsoft 365, and Outlook.com accounts—they act as a local cache of your mailbox data, allowing offline access.

Both file types have a maximum size limit (typically 50 GB for PST in modern Outlook versions), and they can become corrupted due to abrupt shutdowns, disk errors, malware, or software bugs. When corruption occurs, Outlook may fail to open, show error messages like "Cannot open your default e-mail folders," or display missing or garbled items.

Why PST and OST Files Get Corrupted

Corruption is rarely a single event—it usually results from a combination of factors. Common causes include:

  • Improper shutdown: Force-quitting Outlook or shutting down the computer while Outlook is still writing data can leave files in an inconsistent state.
  • File size limits: Exceeding the 50 GB limit (or the older 2 GB limit in Outlook 2002 and earlier) increases the risk of corruption.
  • Disk errors: Bad sectors on the hard drive or SSD can damage the file structure.
  • Malware or antivirus interference: Some security software may lock or alter PST/OST files.
  • Network issues: For OST files, unstable connections to the mail server can cause synchronization errors that corrupt the local cache.

Built-in Repair Tools: Inbox Repair Tool (Scanpst.exe)

Microsoft provides a free tool called Inbox Repair Tool, also known as Scanpst.exe, to repair corrupted PST files. It's installed with Outlook and is located in the Outlook installation folder. For 64-bit Outlook on Windows 10/11, the typical path is C:\Program Files\Microsoft Office\root\Office16\ (the exact version number may vary).

To use it:

  1. Close Outlook completely.
  2. Navigate to the Scanpst.exe file in the Office installation folder.
  3. Double-click it, then click Browse to select your PST file (usually found in %LocalAppData%\Microsoft\Outlook).
  4. Click Start to begin the scan. The tool will report errors and ask if you want to repair them.
  5. After repair, it creates a backup file with a .bak extension in the same folder, in case the repair causes further issues.

Scanpst.exe only works on PST files, not OST files. For OST files, Outlook can rebuild the cache by deleting the OST file and letting Outlook download a fresh copy from the server—this is the recommended approach for OST corruption.

Manual Recovery Methods for OST Files

Since Scanpst.exe doesn't support OST files, the primary manual fix is to delete the OST file and let Outlook recreate it. Here's how:

  1. Close Outlook.
  2. Open the folder containing the OST file (usually %LocalAppData%\Microsoft\Outlook).
  3. Locate the .ost file for your account (e.g., user@domain.com.ost).
  4. Rename the file to something like old.ost (or move it to another folder) to keep it as a backup.
  5. Restart Outlook. It will create a new OST file and start synchronizing with the mail server.

This method works only if your mailbox data is still on the server. If you were working offline and have unsynced changes, those may be lost. In that case, you'd need to recover the OST file using third-party tools that can convert OST to PST.

Third-Party Recovery Software: What to Look For

When built-in tools fail or you need to recover data from a severely damaged file, third-party recovery software can help. These tools typically scan the PST/OST file structure and extract as much data as possible, even from files that Scanpst.exe cannot repair.

Key features to consider when choosing a recovery tool:

  • Support for both PST and OST: Some tools only handle PST; make sure the one you choose supports your file type.
  • Preview before recovery: A good tool lets you preview recovered emails, contacts, and calendar items before saving them.
  • Export options: Look for the ability to export to PST, EML, MSG, or directly to a live Outlook profile.
  • Selective recovery: The ability to recover only specific folders or items can save time and disk space.
  • Compatibility: Ensure the tool works with your version of Outlook (2010, 2013, 2016, 2019, 2021, or Microsoft 365).

Most reputable tools offer a free trial that lets you scan and preview recovered items, but you'll need to purchase a license to actually export the data. Prices vary widely, so compare features and read reviews before committing.

Common Mistakes and Misconceptions

Many users make mistakes that worsen the situation. Here are the most common:

  • Running Scanpst.exe on an OST file: It simply won't work—you'll get an error. Use the delete-and-recreate method instead.
  • Ignoring the backup file: Scanpst.exe creates a .bak file after repair. If the repaired PST still has issues, you can restore the .bak and try a different tool.
  • Using the wrong version of Scanpst.exe: If you have both 32-bit and 64-bit Office, using the wrong version can fail. Match the bitness of your Outlook installation.
  • Writing to the same drive: When recovering data, don't save the output to the same disk as the corrupted file—this can overwrite recoverable data.
  • Assuming all data is recoverable: If the file is severely damaged, some items may be unrecoverable. Always maintain regular backups.

Prevention: Backups and Maintenance

The best recovery is the one you never need. Regular backups of your PST file are essential, but many users forget that OST files are just caches—your server copy is the primary source. For PST files, you can use Outlook's built-in export feature (File > Open & Export > Import/Export) to create a backup copy. Alternatively, you can copy the PST file to an external drive while Outlook is closed.

To minimize corruption risk:

  • Keep Outlook updated with the latest patches.
  • Compact your PST file periodically (File > Account Settings > Data Files > Settings > Compact Now).
  • Ensure your disk has enough free space and run disk error checks regularly.
  • Use a UPS (uninterruptible power supply) to avoid abrupt shutdowns.

Frequently Asked Questions

Can I use Scanpst.exe on an OST file?

No, Scanpst.exe is designed only for PST files. For OST files, the recommended method is to delete the OST file and let Outlook rebuild it from the server. If you need to recover data from an OST file that isn't on the server, you'll need third-party software that can convert OST to PST.

What should I do if Scanpst.exe fails to repair my PST?

If Scanpst.exe reports errors but can't fix them, or if Outlook still doesn't work after repair, try a third-party recovery tool. These tools can often extract data from files that Scanpst.exe gives up on. Also, check if the .bak file created by Scanpst.exe is usable—you can restore it and try a different approach.

Will deleting my OST file delete my emails?

No, deleting the OST file only removes the local cache. Your emails, contacts, and calendar items remain on the mail server. When Outlook recreates the OST file, it will download a fresh copy from the server. However, any changes you made while working offline (and not yet synced) may be lost.

How can I recover a PST file that is password-protected?

If you know the password, you can open the PST in Outlook and remove the password (File > Account Settings > Data Files > Settings > Change Password). If you've forgotten the password, Microsoft does not provide a way to recover it. Some third-party tools claim to remove PST passwords, but use them with caution as they may not work reliably.

Is it safe to use third-party PST recovery software?

Most reputable tools are safe, but you should always download from the official vendor website and scan the installer with antivirus software. Be wary of free tools that bundle adware or malware. Also, never run a recovery tool on the original file without making a backup first—some tools modify the file during the scan.

Can I recover a PST file after my computer crashes?

Yes, if the PST file still exists on the hard drive, you can try the methods above. If the file is damaged due to a crash, Scanpst.exe is a good first step. If the file is deleted, you may need file recovery software to restore it from the disk before attempting PST repair.