When Microsoft Outlook fails to launch, displays error messages indicating that your data file cannot be opened, or crashes while syncing email folders, corruption within your Personal Storage Table (.pst) or Offline Storage Table (.ost) is often the root cause. Microsoft includes a built-in diagnostic utility called the Inbox Repair Tool (SCANPST.EXE) with every desktop installation of Office and Microsoft 365 on Windows. Running this utility checks the structural integrity of your email containers and repairs damaged folder hierarchies without requiring third-party software.
When Should You Run the Inbox Repair Tool?
Running SCANPST.EXE is recommended whenever Outlook exhibits abnormal storage-related symptoms, including:
- Startup Errors: Messages stating “Cannot start Microsoft Outlook. Cannot open the Outlook window. The set of folders cannot be opened.”
- File Integrity Warnings: Prompts asserting “Errors have been detected in the file [path]\outlook.pst.”
- Missing Items and Incomplete Folders: Emails, calendar entries, or contacts suddenly disappearing from view despite taking up storage space on disk.
- Unresponsive Search Indexing: Outlook search consistently failing to return recent messages or halting midway through indexing.
- Sync Failures: Microsoft Exchange or IMAP accounts hanging indefinitely on “Synchronizing subscribed folders.”
Where to Find SCANPST.EXE on Windows 11 and Windows 10
The Inbox Repair Tool does not have a dedicated desktop shortcut or Start menu entry; it resides within your Microsoft Office root installation directory. Its exact location depends on your version of Outlook and whether you are running a 32-bit or 64-bit Office build:
| Outlook / Office Version | Bit Architecture | Default Directory Path |
|---|---|---|
| Microsoft 365 / Office 2021 / 2019 / 2016 (Click-to-Run) | 64-bit | C:\Program Files\Microsoft Office\root\Office16\ |
| Microsoft 365 / Office 2021 / 2019 / 2016 (Click-to-Run) | 32-bit | C:\Program Files (x86)\Microsoft Office\root\Office16\ |
| Office 2013 | 32-bit / 64-bit | C:\Program Files (x86)\Microsoft Office\Office15\ |
Step-by-Step Guide: How to Repair Your Outlook Data File
Before launching the repair utility, close Microsoft Outlook completely and verify that the OUTLOOK.EXE process is terminated in Task Manager.
- Press Windows Key + E to open File Explorer, then navigate to your corresponding Office directory path (e.g.,
C:\Program Files\Microsoft Office\root\Office16\). - Scroll down to locate SCANPST.EXE. Right-click the file and select Run as administrator.
- In the Microsoft Outlook Inbox Repair Tool dialogue box, click Browse.
- Navigate to the folder holding your data file. By default, PST files are located in:
C:\Users\%username%\Documents\Outlook Files\orC:\Users\%username%\AppData\Local\Microsoft\Outlook\. - Select your corrupted
.pstor.ostfile and click Open. - Click Start to begin the diagnostic analysis. The utility will perform an eight-phase scan inspecting block headers, table structures, and internal b-trees.
- Once the scan finishes, a summary report will detail the inconsistencies and errors found.
- Ensure the checkbox Make a backup of scanned file before repairing is ticked. This creates a backup file with a
.bakextension in the same directory. - Click Repair. When the process completes, a confirmation prompt reading “Repair complete” will appear. Click OK.
What to Do if SCANPST Requires Multiple Passes
Severe file damage often requires multiple iterations of SCANPST. Because the utility resolves top-level container errors first, deeper structural corruptions in subfolders or message tables may only become accessible during subsequent passes. If Outlook still displays errors upon opening:
- Launch SCANPST.EXE again and select the same data file.
- Repeat the scan and repair cycle until the utility reports “No errors were found in this file” or finds zero inconsistencies.
- For data files larger than 10 GB, allow additional time for each pass to complete without terminating the process.
Alternative Fix for Corrupted Offline OST Files
If the damaged file is an Exchange, Microsoft 365, or IMAP offline cache file (ending in .ost), running SCANPST is optional because you can simply rebuild the cache from the server:
- Close Outlook completely.
- Press Windows Key + R, type
%localappdata%\Microsoft\Outlook, and press Enter. - Locate the
.ostfile matching your email address. - Rename the file extension to
.ost.old(or delete it if you have local backups). - Relaunch Outlook. The application will automatically create a brand new, corruption-free
.ostfile and re-download all your emails, calendar events, and contacts directly from the mail server.
Regularly auditing data file integrity and archiving older messages into manageable sub-files prevents PST containers from exceeding file-size limits, keeping Microsoft Outlook running smoothly and reliably.