Sometimes, when opening or accessing mailbox items or the PST file, you may encounter errors like: “A problem occurred with one of your data files and Outlook must close,” or “Outlook data file is not accessible.” This indicates that the PST file is corrupted or damaged.
A PST file can become corrupted or damaged for several reasons: bad sectors on the hard drive, malware infection, sudden system shutdown, the PST file becoming too large, etc. If your PST file is corrupted, you may not be able to send/receive emails, or even access mailbox items.
It is therefore important to repair the corrupted PST file as soon as possible. Microsoft provides a built-in tool, ScanPST.exe (Inbox Repair Tool), to repair a PST file and resolve corruption-related issues. In this article, we will look at how to use ScanPST.exe to repair a PST.
Steps to use ScanPST.exe to repair a corrupted PST file
ScanPST.exe, also known as the Inbox Repair Tool, is installed automatically with Microsoft Outlook. Here are the steps to use this built-in utility and repair a corrupted PST:
Step 1: Locate the ScanPST.exe location on your system
The location of ScanPST can vary depending on the version of Outlook installed on your computer, and whether you are using Windows 32-bit or 64-bit. For example, for Outlook 2016/2019/365 (64-bit), the default location is:
C:Program FilesMicrosoft OfficeOffice16SCANPST.EXE
Here is a quick reference table of default locations by Outlook version and Windows architecture:
| Outlook Version | Windows Architecture
Windows |
Outlook Architecture
Outlook |
Default Path
to SCANPST.EXE |
| Microsoft 365 / 2021 / 2019 | 64-bit | 64-bit | C:Program FilesMicrosoft OfficerootOffice16SCANPST.EXE |
| Microsoft 365 / 2021 / 2019 | 64-bit | 32-bit | C:Program Files (x86)Microsoft OfficerootOffice16SCANPST.EXE |
| Outlook 2016 | 64-bit | 64-bit | C:Program FilesMicrosoft OfficeOffice16SCANPST.EXE |
| Outlook 2016 | 64-bit | 32-bit | C:Program Files (x86)Microsoft OfficeOffice16SCANPST.EXE |
| Outlook 2013 | 64-bit | 64-bit | C:Program FilesMicrosoft OfficeOffice15SCANPST.EXE |
| Outlook 2013 | 64-bit | 32-bit | C:Program Files (x86)Microsoft OfficeOffice15SCANPST.EXE |
| Outlook 2010 | 64-bit | 64-bit | C:Program FilesMicrosoft OfficeOffice14SCANPST.EXE |
| Outlook 2010 | 64-bit | 32-bit | C:Program Files (x86)Microsoft OfficeOffice14SCANPST.EXE |
Step 2: Locate the corrupted PST file
Your Outlook account may contain several PST files. It is therefore important to locate and select the correct PST file to avoid repairing the wrong file. Here’s how to find the PST file path associated with your Outlook account:
– Open Microsoft Outlook and go to “File.”
– Click “Account Settings,” then use the dropdown to select “Account Settings.”
– In the new window, click the “Data Files” tab. A list of all Outlook data files and their corresponding paths will be displayed. Note the path of the corrupted PST file you want to repair.
Step 3: Run the ScanPST repair tool
Once you have noted the locations of the PST file and ScanPST, you can start the repair process:
Note: Close Outlook before you begin.
– Navigate to the location of SCANPST.EXE, right-click it, and select Run as administrator.
– In the Microsoft Outlook Inbox Repair Tool, click Browse.

– Select the corrupted PST file you noted earlier and click Start to begin the analysis.
– When the analysis finishes, the detected issues will be shown.
– Check the option to Create a backup of the scanned file before repair, then click Repair.

Wait for the process to finish. Once the message Repair complete appears, click OK.

You can then reopen Outlook and verify that everything is functioning correctly.
Limitations of the Inbox Repair Tool
ScanPST is useful for fixing small corruptions, but it has several limitations:
– It only fixes basic structures (B-trees, references, etc.), not the content of emails.
– It does not guarantee recovery of all mailbox items.
– If a folder is damaged, it can be deleted and recreated without data restoration.
– Messages may be deleted without warning.
– Deleted items are not recovered.
– It struggles with severe corruption or a very large PST file.
– It does not support password-protected files.
– It may require multiple runs for a full repair.
What to do if ScanPST fails to repair the PST file?
If the ScanPST tool cannot repair your PST file, you can use specialized software such as Stellar Repair for Outlook to repair the PST more easily and quickly. This tool can repair severely damaged PST files, with no size limits, and recover all messaging items (contacts, calendars, emails, deleted items, etc.) while preserving the original formatting. It also allows you to save the recovered data in various formats, such as PST, EML, RTF, or HTML.
Conclusion
There are many causes that can corrupt a PST file (hardware/software failures, Outlook errors, etc.). You can use ScanPST.exe to perform a basic repair. However, if this tool fails, a professional utility like Stellar Repair for Outlook provides a reliable and effective alternative to restore your data, even in cases of severe corruption, and with no size limit.