πŸ“§ Recipe Β· Exchange & Email

Repair Corrupted Outlook .pst/.ost Data File

Diagnose and fix Outlook startup errors caused by corrupted local data files

Complexity

Intermediate

Impact

end-user-impacting + data-integrity + workstation

Context

Why This Matters

Outlook stores mailbox data locally in two file types: .pst (Personal Storage Table β€” used for POP accounts, archives, and imported data) and .ost (Offline Storage Table β€” a cached copy of an Exchange/Microsoft 365 mailbox). When these files become corrupted due to abrupt shutdowns, disk errors, oversized files, or synchronization conflicts, Outlook typically fails to open with errors such as:

  • "The file <path>.ost is not an Outlook data file (.ost)."
  • "Cannot start Microsoft Outlook. Cannot open the Outlook window. The set of folders cannot be opened."
  • "Errors have been detected in the file. Quit Outlook and all mail-enabled applications, and then use the Inbox Repair Tool."

This recipe walks through repairing or rebuilding the affected data file. Because .ost files are merely a local cache of a server-side mailbox, the safest remedy is usually to delete and let Outlook rebuild them. .pst files, however, contain authoritative data and must be repaired with scanpst.exe (the Inbox Repair Tool).

Expected Outcomes

  • Outlook launches successfully without data-file errors.
  • Corrupted .ost files are rebuilt from the server mailbox (no data loss for Exchange/M365 accounts).
  • Corrupted .pst files are repaired with scanpst.exe and a backup preserved.
  • You have a documented path for recurring corruption (profile recreation, OST size monitoring).

Risks & Considerations

Important warnings

  • Always back up the .pst file before running scanpst.exe. The tool modifies the file in place and can occasionally make corruption worse.
  • Do NOT delete a .pst file without confirming its contents are archived elsewhere β€” .pst data is not stored on the server.
  • Deleting an .ost is safe only when the account is an Exchange, Microsoft 365, or IMAP account that syncs from the server. Verify account type first.
  • Very large .ost files (>50 GB) are a common cause of recurring corruption. Consider reducing cached mail range (e.g., to 12 months) after recovery.
  • Running scanpst.exe on a file currently in use by Outlook will fail β€” close Outlook completely (check Task Manager for OUTLOOK.EXE) before starting.
  • If the user has Personal Archive or Online Archive mailboxes, those are separate and not affected by local file repair.

Required Permissions

PermissionWhy It's Needed
Local administrator on the user's workstationRequired to access Outlook data file locations under the user profile and to run repair tools.
User's mailbox credentialsNeeded to re-sign in to Outlook after the .ost file is rebuilt.

The fastest way to get this done β€” just ask Dex. Copy the prompt below and paste it into your Dex conversation.

For IT Admins

Paste into Dex CoAdmin

Outlook on {user}'s workstation won't open due to a corrupted data file error. Identify whether the affected file is a .pst or .ost, back it up, then repair the .pst with scanpst.exe or rebuild the .ost from the server mailbox. Confirm Outlook launches successfully afterward.
Try in Dex CoAdmin

For End Users

How an employee would ask Dex for help

Outlook won't open on my computer β€” it keeps showing an error about my Outlook data file.
Try in Dex Playground