Computer and Software Support


How to repair a PST file

This is from Microsoft posted here to prevent broken links. Click here to go to microsoft

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.

To repair the .pst file

  1. On the start menu, Click run (or type in search area for Windows Vista)
  2. Type "drive:\Program Files\Common Files\System\Mapi\LocalelD\scanpst.exe"
    1. 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
  3. Click OK
  4. 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.

  1. 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.
  2. Click Start
  3. When the file scan is completed, select the Make a backup of scanned file before repairing check box.
  4. 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

  1. Start Outlook
  2. Click File
  3. Click Data File Management
  4. Select the .pst that is damaged
  5. Click Remove.
  6. Click Add
  7. Select Personal Folders File (.pst)
  8. Click OK
  9. Select the .pst file you want to use as the new primary file.
  10. 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

  1. Close Outlook
  2. Click Run
  3. 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.

  1. Click OK
  2. Click either Scan all folders or Choose folder to scan. If you click Scan all folders, this make take several minutes.
  3. Select the Repair errors check box.
  4. 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.

  1. Click Tools
  2. Click E-mail Accounts
  3. Click View or change existing e-mail accounts
  4. Click Next
  5. Click Microsoft Exchange Server
  6. Click Change
  7. Click More Settings
  8. Click the Advanced tab
  9. Click Offline Folder File Settings
  10. Click Disable Offline Use
  11. 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.