How to use the Inbox Repair Tools to recover e-mail messages in Outlook 2002, Outlook 2003 and Outlook 2007
This article was previously published under Q287497
For a Microsoft Outlook 2000 version of this article, see 197316 (http://support.microsoft.com/kb/197316/).
For a Microsoft Outlook 2000 (IMO) version of this article, see 197315 (http://support.microsoft.com/kb/197315/).
For a Microsoft Outlook 98 version of this article, see 181325 (http://support.microsoft.com/kb/181325/).
On This PageSUMMARY
This article describes how to use the Inbox Repair Tool to recover folders and items from a corrupted Personal Folders (.pst) file. This article also describes how the tool validates and corrects errors. MORE INFORMATIONNOTE: The examples listed below refer to using the Inbox Repair Tool on a .pst file. The same procedures apply to an offline folder (.ost) file. To locate the offline folder (.ost) file, click to select Offline Folders (*.ost) in Select File to Scan.
The Inbox Repair Tool (Scanpst.exe) is a tool designed to help repair problems associated with Personal Folder (.pst) files. The Scanost.exe tool is used to repair offline folder (.ost) files. The Inbox Repair Tool installs automatically during setup. These programs are typically located in one of the following folders:
Run the Inbox Repair Tool
What the Inbox Repair Tool DoesWhen you run the Inbox Repair Tool on a Personal Folders (.pst) file, it does the following:
How the Inbox Repair Tool validates and corrects errorsScanPST mostly validates and corrects errors in the internal data structures of a .pst file. The .pst file is a database file. Therefore, structures, such as BTrees and reference counts, are checked and repaired as necessary. These low-level objects have no knowledge of the upper-level structures, such as messages, calendar items, and so on, that are built upon them. If ScanPST determines a specific block of the structure or table is unreadable or corrupted, ScanPST removes it. If that block was part of a specific item in Outlook, the item will be removed when it is validated. User may not expect this behavior. However, the removal of the item is appropriate given the circumstances. Also, this specific type of situation is probably very rare, and it will always be entered in the ScanPST log file.At a higher level, the more visible changes that users will see involve folders and messages. FoldersAt some point, ScanPST will examine every folder in the PST. When ScanPST finds a folder, it performs the following operations:
MessagesMost users will be concerned by message operations, because a corrupted item is likely to cause something to be deleted from the .pst file. ScanPST performs the following operations on messages:
Recovered Personal Folders FileAfter you run the Inbox Repair Tool, start Outlook by using the profile that contains the Personal Folders (.pst) file that you tried to repair. On the View menu, click Folder List to turn on the Folder List view. In your Folder List, you should see the following recovered folders:
Recovered Personal Folders
Calendar
Contacts
Deleted Items
Inbox
Journal
Notes
Outbox
Sent Items
Tasks
These recovered folders are usually empty, because this is a rebuilt .pst file. You should also see a folder called "Lost And Found" (without quotation marks). This folder contains folders and items that the Inbox Repair Tool recovered. Items that are missing from the Lost and Found folder are beyond repair.
How to Recover Repaired ItemsYou should move as many of the items from the Lost And Found folder to a new Personal Folders (.pst) file in your profile. First, create a new Personal Folders (.pst) file entry in your profile and drag any recovered items from the Lost And Found folder to the appropriate location in your new Personal Folders (.pst) file.How to Create a New Personal Folder (.pst) File in Your Profile
How to Recover Items from the Backup Personal Folders (.pst) FileNOTE: If you cannot open your original Personal Folders (.pst) file before you run Inbox Repair Tool, it is possible that the following procedures may not work. If you are able to open the original Personal Folders (.pst) file, then it is possible that the following procedures may allow you to recover additional items from your damaged Personal Folders (.pst) file.When you run Inbox Repair Tool, the option to create a backup of the original Personal Folders (.pst) file is selected. This option creates a file on your hard disk called <file name>.bak, and is a copy of the original <file name>.pst file with a different extension. The .bak file resides in the directory of your original Personal Folders (.pst) file. You may be able to recover items from the .bak file that Inbox Repair Tool could not. Make a copy of the .bak file, giving the file a new name with a .pst extension, for example "Newname.pst" (without quotation marks). Open Outlook using the profile that contains the your new Personal Folders (.pst) file from step 4 in the "Recovering Repaired Items" section of this article, and try to import the "Newname.pst" folder by using the Import And Export Wizard. To do this:
If a file has approached the 2 GB size limit and the Inbox Repair Tool is not working, you can try the PST/OST cropping tool. You can use this procedure if you are using Outlook 2002 or if you using an ANSI .pst file with Outlook 2003. For more information about the PST/OST cropping tool, click the following article number to view the article in the Microsoft Knowledge Base: 296088 (http://support.microsoft.com/kb/296088/)
Oversized PST and OST Crop tool
For more information about binary trees (btrees), visit the following Microsoft Web site: http://msdn2.microsoft.com/en-us/library/Aa289150(VS.71).aspx (http://msdn2.microsoft.com/en-us/library/Aa289150(VS.71).aspx) APPLIES TO
| Article Translations
|

Back to the top
