How to Use the Microsoft Outlook Inbox Repair Tool (SCANPST.EXE)

Microsoft Outlook stores your emails, contacts, calendars, tasks, and other mailbox data in Outlook Data Files. Depending on your account type, these files are stored as PST (Personal Storage Table) or OST (Offline Storage Table) files. If one of these files becomes corrupted due to an unexpected shutdown, hard drive errors, malware, or oversized mailbox files, Outlook may fail to open, crash unexpectedly, display synchronization errors, or report that it cannot access your data file.

To help users recover from these problems, Microsoft includes a free utility called the Inbox Repair Tool, also known as SCANPST.EXE. This built-in tool scans Outlook data files for errors, repairs structural issues, and attempts to recover mailbox information without requiring additional software. While it cannot fix every type of corruption, it is often the first and most effective troubleshooting step for Outlook data file problems.

Update Windows Drivers

In this guide, you’ll learn how to locate and use the Microsoft Outlook Inbox Repair Tool, understand when it should be used, and discover additional troubleshooting steps if the repair doesn’t resolve the issue.

What Is the Microsoft Outlook Inbox Repair Tool?

PC running slow or unstable? Do you want to update drivers?

The Inbox Repair Tool (SCANPST.EXE) is a Microsoft utility included with Outlook installations.

Its primary functions include:

  • Scanning PST files for errors.
  • Repairing minor file corruption.
  • Recovering mailbox folders.
  • Rebuilding damaged indexes.
  • Correcting Outlook data inconsistencies.
  • Creating a backup before repairs.
  • Restoring mailbox accessibility.

The tool is intended for repairing Outlook data files rather than recovering deleted emails.

When Should You Use the Inbox Repair Tool?

You should consider using SCANPST.EXE if Outlook displays errors such as:

  • Outlook won’t open.
  • Cannot start Microsoft Outlook.
  • Outlook data file cannot be opened.
  • Errors accessing the mailbox.
  • PST file corruption messages.
  • Outlook crashes during startup.
  • Missing folders after unexpected shutdowns.
  • Synchronization errors involving local data files.

The utility is especially useful after power failures or system crashes that interrupt Outlook while it is writing to a data file.

Before You Begin

Before running the repair tool:

  • Close Microsoft Outlook completely.
  • Close any Office applications.
  • Ensure the Outlook data file is not being used.
  • Back up important PST files if possible.
  • Verify you have enough free disk space.
Repair PC

The Inbox Repair Tool also creates a backup of the file before making repairs, but maintaining your own backup is always recommended.

Method 1: Locate SCANPST.EXE

The Inbox Repair Tool is installed with Microsoft Outlook. Its location depends on your Office version and installation type.

PC running slow or unstable? Do you want to update drivers?

Common locations include:

Microsoft 365 / Office 2021 / Office 2019 (64-bit)

C:\Program Files\Microsoft Office\root\Office16

Microsoft 365 / Office 2021 / Office 2019 (32-bit on 64-bit Windows)

C:\Program Files (x86)\Microsoft Office\root\Office16

Older versions may use folders such as Office15, Office14, or Office12.

If you can’t find the file, use File Explorer’s search box to search for SCANPST.EXE.

Method 2: Run the Inbox Repair Tool

After locating the executable:

  1. Double-click SCANPST.EXE.
  2. Click Browse.
  3. Select the Outlook PST file you want to repair.
  4. Click Start.
  5. Wait while the scan completes.
  6. Review the scan results.
  7. Ensure Make backup of scanned file before repairing is selected.
  8. Click Repair.
  9. Wait for the repair process to finish.
PC running slow or unstable? Do you want to update drivers?

Depending on the file size, the repair may take several minutes.

Method 3: Locate Your Outlook Data File

If you don’t know where your PST file is stored:

  1. Open Control Panel.
  2. Select Mail.
  3. Click Data Files.
  4. Select your Outlook data file.
  5. Click Open File Location.

Close Outlook before running SCANPST.EXE on the selected file.

Typical locations include:

C:\Users\YourUserName\Documents\Outlook Files

or

C:\Users\YourUserName\AppData\Local\Microsoft\Outlook

Method 4: Run the Repair Multiple Times

Some Outlook data files require multiple repair passes.

If Outlook still doesn’t open after the first repair:

  1. Launch SCANPST.EXE again.
  2. Select the same PST file.
  3. Run another scan.
  4. Repair any remaining errors.
  5. Repeat until no further errors are reported.

Microsoft notes that multiple passes may be necessary for heavily damaged files.

Method 5: Create a New Outlook Profile

If the data file is healthy but Outlook continues to experience issues, the Outlook profile itself may be corrupted.

To create a new profile:

  1. Open Control Panel.
  2. Select Mail.
  3. Click Show Profiles.
  4. Click Add.
  5. Enter a profile name.
  6. Configure your email account.
  7. Choose the new profile as the default.
  8. Open Outlook.

This can resolve problems unrelated to the PST file itself.

Method 6: Repair Microsoft Office

If SCANPST.EXE doesn’t resolve the issue, repairing the Office installation may help.

  1. Open Settings.
  2. Go to Apps.
  3. Select Installed apps.
  4. Locate Microsoft Office or Microsoft 365.
  5. Click Modify.
  6. Choose Quick Repair.
  7. If needed, run Online Repair afterward.
  8. Restart your computer.

This can repair Outlook program files without affecting your mailbox data.

Method 7: Rebuild an OST File

If you’re using an Exchange, Microsoft 365, or IMAP account, Outlook may use an OST file instead of a PST file.

Rather than repairing the OST file, you can often recreate it:

  1. Close Outlook.
  2. Navigate to the OST file location.
  3. Rename the OST file.
  4. Open Outlook again.
  5. Allow Outlook to synchronize and rebuild the file.

This works because the mailbox data is stored on the mail server and can be downloaded again.

Method 8: Check Disk for File System Errors

Disk errors can contribute to Outlook file corruption.

To scan your drive:

  1. Open Command Prompt as Administrator.
  2. Run:
chkdsk C: /f
  1. If prompted, schedule the scan for the next restart.
  2. Restart your computer.
  3. Allow the disk check to complete.

Repairing file system errors may prevent future Outlook corruption.

Method 9: Run System File Checker

Corrupted Windows system files can affect Outlook.

  1. Open Command Prompt as Administrator.
  2. Run:
sfc /scannow
  1. Wait for the scan to finish.
  2. Restart your PC.

If problems continue, run:

DISM /Online /Cleanup-Image /RestoreHealth

Restart after the repair completes.

Method 10: Restore From Backup

If the PST file is severely damaged and cannot be repaired:

  • Restore the latest backup.
  • Import the backup PST into Outlook.
  • Recover missing emails if available.
  • Reconfigure the Outlook profile if necessary.

Regular backups provide the best protection against permanent mailbox loss.

Limitations of the Inbox Repair Tool

Although SCANPST.EXE is useful, it has limitations.

It may not:

  • Recover permanently deleted emails.
  • Repair severely corrupted files.
  • Restore overwritten data.
  • Recover files from failed hard drives.
  • Fix Outlook application issues unrelated to data files.

For hardware failures, professional data recovery may be required.

Tips to Prevent Outlook Data Corruption

To reduce the risk of future problems:

  • Close Outlook properly before shutting down Windows.
  • Keep Microsoft Office updated.
  • Maintain sufficient free disk space.
  • Avoid force-closing Outlook.
  • Back up important PST files regularly.
  • Scan your drive for errors periodically.
  • Use a reliable power source or UPS for desktop PCs.
  • Keep Windows updated.

These practices help maintain healthy Outlook data files.

Frequently Asked Questions

Does the Inbox Repair Tool delete emails?

No. The tool is designed to repair the structure of Outlook data files. However, if severely corrupted items cannot be recovered, Outlook may move them to a Lost and Found folder after the repair.

Can SCANPST.EXE repair OST files?

The tool is primarily intended for PST files. While it can sometimes detect issues in OST files, recreating the OST file is generally the recommended solution because Outlook can download the mailbox data again from the mail server.

How many times should I run SCANPST.EXE?

If errors continue to be found after the first repair, you can run the tool multiple times until it reports no remaining errors.

What should I do if SCANPST.EXE cannot repair my PST file?

Try creating a new Outlook profile, repairing Microsoft Office, restoring the PST file from a backup, or using the mailbox stored on the server if you’re using an Exchange or Microsoft 365 account.

Conclusion

The Microsoft Outlook Inbox Repair Tool (SCANPST.EXE) is an essential troubleshooting utility for repairing damaged Outlook data files. It can resolve many common issues that prevent Outlook from opening, accessing mailboxes, or loading folders by repairing structural problems within PST files. Since the tool is included with Outlook, it’s often the quickest and safest first step when dealing with mailbox corruption.

If the repair tool cannot fully resolve the issue, additional solutions such as creating a new Outlook profile, rebuilding an OST file, repairing Microsoft Office, or restoring a recent backup can help restore normal functionality. By keeping Outlook and Windows updated, backing up important mailbox data, and shutting down your computer properly, you can significantly reduce the risk of future Outlook data corruption.

PC running slow or unstable? Do you want to update drivers?

GeeksDigit.Com
Logo