SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software Microsoft Office Tutorials and Downloads
Development resources, articles, tutorials, code samples and tools and downloads for ASP.Net, SQL Server, R Script, Windows, Windows Phone, AWS, SAP HANA and ABAP, like SAP UI5, Screen Personas, etc.

ScanPST and ScanOST Office Outlook Repair Tools

In this tutorial, I want to show how to use the Inbox Repair tool Scanpst.exe or Scanost.exe OST Integrity Check tool to recover email messages in Microsoft Outlook. Recently I had experienced an error in my Outlook mailing tool. I used first ScanPST then ScanOST tools to repair my mailbox. As a last step, I had to move my .ost file to enable exchange server to synchronize the .ost file contents which replaces corrupted local datafiles from mail server.

The error I had on my Windows 7 client PC is as follows

Microsoft Office Outlook Offline Folders
Errors have been detected in the file
C:\Users\yilmazer\AppData\Local\Outlook\outlook.ost. Quit Outlook and all mail-enabled applications, and then use the Inbox repair tool (Scanpst.exe) to diagnose and repair errors in the file. For more information about the Inbox repair tool, see Help.

use Inbox repair tool Scanpst.exe

As mentioned in the error message, I first closed Microsoft Office Outlook and mail-enabled Lync messaging application. Then I run ScanPST.exe aka Microsoft Personal Folders Scan/Repair Utility tool.
For a Microsoft Office Outlook 2007 installed on Windows 7 PC, the Scanpst.exe Outlook repair tool can be found in "C:\Program Files (x86)\Microsoft Office\Office12" folder.

When the Outlook Repair tool is executed, you can point to the outlook data .pst file for scan.

scanpst Office Outlook repair tool

For my case the damaged Outlook .pst file was located in folder "C:\users\kodyaz\AppData\Local\Microsoft\Outlook" by default for a Windows 7 installation.


Press the Repair button to let ScanPST repair reported errors for you.


For more on how to use Outlook Repair tool please refer to Microsoft Support knowledge base article KB287497.

An other tool to repair Outlook data files is the .ost data file scan tool named as SCANOST.EXE OST Integrity Check Tool.
Scan OST tool SCANOST.EXE is also placed in the same folder C:\Program Files (x86)\Microsoft Office\Office12 with Scanpst.exe
Before running scanost.exe you must quit Outlook. When you are ready double-click on the OST Integrity Check tool.

OST Integrity Check tool enables the user to choose specific mail folders or choose to scan all folders.


Choose the mailbox folder and mark "Repair errors". Then press "Begin Scan" button.
After OST integrity check scan and repair process is completed, below message is displayed.


At the end of the process, you will see a mail in your Deleted Items mailbox with subject "OST Integrity Check" Here is a sample OST scan result.

20:11:54 Beginning offline folder file integrity check.
20:11:54 Performing initial synchronization.
20:11:54 Synchronizer Version 12.0.6672
20:11:54 Synchronizing Mailbox 'Yilmaz, Eralper (CIT-CBTRD)'
20:11:54 Done
20:11:54 Performing integrity detection scan.
20:11:54 Scanning folder CZSK.
20:11:55 Done

Additionally you can find a log entry like below on the file folder where your .ost and .pst files located. When I checked those logs after scan tools are executed on the Outlook data files, I saw below log entries.

**Attempting to validate AMap
!!AMap page <@82805760> has csFree of 132, but should have 227
!!AMap page <@89408512> has csFree of 172, but should have 255
!!AMap page <@96773120> has csFree of 114, but should have 255
!!AMap page <@110486528> has csFree of 128, but should have 219
!!AMap page <@164070400> has csFree of 171, but should have 223
!!AMap page <@274285568> has csFree of 149, but should have 255
!!AMap page <@390341632> has csFree of 248, but should have 255
!!AMap page <@420815872> has csFree of 114, but should have 255

If ScanPST and ScanOST don't help, as a last chance, I moved the .ost file outlook.ost from its default folder C:\Users\yilmazer\AppData\Local\Microsoft\Outlook to another folder.
After data file is moved, I run Microsoft Outlook. When Outlook started to run after the .ost file is moved away (as a backup), the message folders are populated with messages from server and stored locally in a newly created .ost file which is replacing the corrupted Outlook datafile.

Microsoft Office

Office 2013 Download
Install Office 2013
Activate Office 2013
Download Office 2010

Download Project 2016
Project 2013 Download
Project 2010 Download

Visio 2013 Download

Outlook Social Connector

Microsoft Office 2010, Office 2013 Download, Tutorial and Articles
Create Word Document for Label Printing using Excel Data
Color Cell Background Partially in Excel using Data Bars
Import Contacts to Outlook from VCF Export File
Cannot Open Hyperlink URL from Outlook Emails
Download Microsoft Project 2016
Import Data from SQL Server in Excel Document using Microsot Query
Outlook Social Connector for Facebook and LinkedIn
Change Default File Locations for Microsoft Office Documents
ScanPST and ScanOST Office Outlook Repair Tool
Calculate Age in Excel using DateDif Excel Function
Compact Outlook PST File
How to view Outlook Folder Size
Download Microsoft Visio 2013 Professional Edition free
Microsoft Excel 2013 Flash Fill Data Entry Assistant Tool
Microsoft Excel 2013 Flash Fill Samples
How to Install Microsoft Office 2013
How to Activate Microsoft Office 2013
Free Microsoft Project 2013 Download Trial Edition
Free Microsoft Office 2013 Download
Microsoft Office 2013: Couldn't install Office. Please try installing again
Microsoft Project 2013 for Office Developers
LinkedIn Outlook Social Connector Download
Download Microsoft Outlook Social Connector for Facebook
Free Download Microsoft Office for Mac 2011
How to Create Master Project, SubProject in Microsoft Project 2010
Microsoft Project 2010 Download Free Trial
Microsoft Project 2010 Team Planner
Add Column to Gantt Chart in Microsoft Project 2010
Copy and Email Timeline in Microsoft Project 2010
Microsoft Project 2010 Activation Error
Microsoft Office 2010 Installation (Professional Plus Edition)
Microsoft PowerPivot Download for Office 2010 Excel
Microsoft Office Redistributable Primary Interop Assemblies Download
Free Download Microsoft Office 2010
How to Save Office Communicator IM Conversation to Communicator Conversation History Folder
Restore Outlook Personel Folder from Outlook .pst (Outlook Data) File

Copyright © 2004 - 2020 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems