π§ 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
.ostfiles are rebuilt from the server mailbox (no data loss for Exchange/M365 accounts). - Corrupted
.pstfiles are repaired withscanpst.exeand 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
.ostis safe only when the account is an Exchange, Microsoft 365, or IMAP account that syncs from the server. Verify account type first. - Very large
.ostfiles (>50 GB) are a common cause of recurring corruption. Consider reducing cached mail range (e.g., to 12 months) after recovery. - Running
scanpst.exeon a file currently in use by Outlook will fail β close Outlook completely (check Task Manager forOUTLOOK.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
| Permission | Why It's Needed |
|---|---|
| Local administrator on the user's workstation | Required to access Outlook data file locations under the user profile and to run repair tools. |
| User's mailbox credentials | Needed 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
For End Users
How an employee would ask Dex for help