How to repair a PST file
This is from Microsoft posted here to prevent broken links. Click here to go to microsoft
- To repair the .pst file
- To begin using your backup file as your new primary file
- To disable the .ost file and create a new one.
If you are keeping Outlook data on your computer, you are using a Personal Folders file (.pst) or an Offline Folder file (.ost). To prevent data loss, you need to know how to repair these files.
If your .pst file becomes damaged, Outlook includes a tool that may be able to correct the problem without your switching to a backup copy. This tool, the Inbox Repair Tool, is installed on your hard disk when you install Outlook.
If your .ost file becomes damaged, Outlook includes a tool that may be able to correct the problem. This tool, the OST Integrity Tool, can scan and repair .ost files. If that doesn't completely solve the problem, you can disable the .ost file and create a new one.
Repairing a Personal Folders file (.pst)
You may need to use the Inbox Repair Tool if you open your Outlook .pst file and receive this message:
Unable to expand the folder. The set of folders could not be opened. Errors could have been detected in the file drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook\Outlook.pst. Quit all mail-enabled applications, and then use the Inbox Repair Tool.
Note The path to the file specified in the message may vary depending upon the operating system you are using on your computer.
- On the start menu, Click run (or type in search area for Windows Vista)
-
Type "drive:\Program Files\Common Files\System\Mapi\LocalelD\scanpst.exe"
- Where LocaleD is the locale identifier (LCID) for your installation of Microsoft Office. For example, the LCID for English (United States) is 1033. For a list of LCIDs, see Microsoft Office Help
- Click OK
- In the Enter the name of the file you want to scan box, type the path and file name given in the error message above.
Note. You may not be able to use the Browse button to locate this file because it is located in a hidden folder.
- To change the options for logging errors during the scan, click Options. If you choose Replace log or Append to log, the log file is saved to the same directory as the .pst file.
- Click Start
- When the file scan is completed, select the Make a backup of scanned file before repairing check box.
- Click Repair
If the file is successfully repaired, you will se a Repair complete message. If the Inbox Repair Tool was unable to repair the file, you will need to use a backup of your file.
To begin using your backup file as your new primary file
- Start Outlook
- Click File
- Click Data File Management
- Select the .pst that is damaged
- Click Remove.
- Click Add
- Select Personal Folders File (.pst)
- Click OK
- Select the .pst file you want to use as the new primary file.
- Click OK
Important You should not rely solely on the Inbox Repair Tool for disaster recovery. A system of regular backups of your .pst file is an important part of preventing data loss. You can back up the file in several ways, including copying it to another location, backing up all of the files on your computer, or by using the Personal Folders Backup utility, available on the Microsoft Office Online site.
Repairing an Offline Folder file (.ost)
You may want to scan and repair your .ost if you:
- Encounter a large numbers of conflict items.
- Cannot open particular Outlook items when offline.
- Receive unexpected synchronization error messages (as shown in the synchronization log in the Deleted Items folder).
- Receive the message:
Unable to expand the folder. The set of folders could not be opened. Errors could have been detected in the file drive:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook\Outlook.ost. Quit all mail-enabled applications, and then use the Inbox Repair Tool.
Note The file path specified in the message may vary depending upon the operating system you are using on your computer.
In addition, you might be able to open folders in the .ost but get synchronization error messages that do not go away. This happens when a single e-mail message is damaged and the synchronization process cannot correct it. You can use the OST Integrity Tool to fix damaged messages or to move them so you can synchronize successfully.
Important You may need to run scanpst.exe (see the first procedure above) first if the OST Integrity Tool cannot open the .ost file.
To scan and repair the .ost file
- Close Outlook
- Click Run
- Type "drive:\Program Files\Common Files\System\Mapi\LocaleD\scanost.exe"
Where LocaleD is the locale identifier (LCID) for your installation of Microsoft Office For example, the LCID for English (United States) is 1033. For a list of LCIDs, see Microsoft Office Help.
- Click OK
- Click either Scan all folders or Choose folder to scan. If you click Scan all folders, this make take several minutes.
- Select the Repair errors check box.
- Click Begin Scan.
Details of actions performed during the scan and repair are saved as a message in your Outlook Deleted Items folder with the subject "OST Integrity Check."
If the Offline Folder file cannot be repaired, you can disable it and create a new one.
To disable the .ost file and create a new one.
- Click Tools
- Click E-mail Accounts
- Click View or change existing e-mail accounts
- Click Next
- Click Microsoft Exchange Server
- Click Change
- Click More Settings
- Click the Advanced tab
- Click Offline Folder File Settings
- Click Disable Offline Use
- In the File box, type the path to the file you want to use as the new .ost file. The default file name is outlook.ost. If this file name already exists, you are prompted for a new name.
PST size - Size limit for the PST file
To create another PST file, click here.
How to open an existing PST file, click here.
How to rename a PST file, click here.