Helping people with computers... one answer at a time.

.pst files are Microsoft Outlook's email and data storage containers. They can occasionally be damaged, but Microsoft Office includes a repair tool.

I am running Windows 7 and my Outlook has stopped working. It states that the folder that the .pst is in is damaged. I was hoping that you could provide me with a fix please and thanks. Error Message: Cannot start MS Outlook. Cannot open the Outlook window. The set of Folders cannot be opened. Errors have been detected in the file C:\Users\Avery\AppData\Local\Microsoft\Outlook\Outlook.pst

".pst" files are the container files used by Microsoft Office's Outlook email program to store all of your data. (Note that this is not Outlook Express, which is a different, unrelated program that I recommend that people stop using.)

When that file becomes corrupt for whatever reason, the potential for data loss is high. Fortunately, it doesn't happen often and being a single file makes it almost trivial to backup regularly.

But because it can happen, Microsoft includes a tool with Office to help repair your Outlook .pst file: scanpst.

Before you start

Before you run scanpst, you'll need to close Outlook if you have it running. Scanpst can't do its job if Outlook has the .pst file open at the same time.

After closing Outlook, I recommend making a backup of the .pst file. Because it's a single file, just copy it somewhere for safe keeping in case scanpst makes things worse or causes unexpected data loss (it's been known to happen.)

Locating scanpst

Scanpst, as its name implies, scans your .pst files for errors and repairs them if it can.

Even though you probably won't find it on any Start menu, scanpst should be included with your installation of Microsoft Office:

ScanPst.exe in the Microsoft Office 2010 installation

Here you can see ScanPst.exe in Windows Explorer where it's located in "C:\Program Files (x86)\Microsoft Office\Office14".

"Program Files (x86)" may be simply be "Program Files", depending on your version of Windows, and "Office14" may be some other number depending on your version of Microsoft Office (this example uses Office 2010 in Windows 7 64-bit).

Running scanpst

Double-click scanpst to run it.

Scanpst's interface is very simple:

Scanpst's interface

It only asks you for the location of the .pst file that you want to scan.

In your case, the error message told you exactly where to look: "C:\Users\Avery\AppData\Local\Microsoft\Outlook\Outlook.pst" and that's exactly what you would enter, or you could use the Browse button to locate the file.

In my example, my pst file is at "C:\Users\LeoN\Documents\Outlook Files\Outlook.pst".

After you've entered the .pst file location, click Start.

Scanpst results

If your .pst file is large, scanpst will take a while to perform its checks. If it finds any anomalies, it will prompt you before repairing them:

Scanpst reporting results

Even though you made a backup of the .pst file before we began, it's a good idea to let scanpst make another. You can never really have too many backups.

Click Repair and let scanpst do its thing.

After running scanpst

Assuming that all succeeds, you can now re-open Outlook and hopefully the errors will have been resolved.

If not or if you're at all curious, you'll also find a ".log" file in the same folder as your ".pst" file that may give you some clues as to what might be happening. Chances are that there will be a lot of technical gibberish, as .pst files are very complex, but as I said, perhaps there will be a useful clue.

Things to note

One of the most common causes of .pst corruption, and unfortunately data loss, is having an "old format" .pst (pre-Outlook 2003) that exceeds two gigabytes in size. Even though you may have upgraded Outlook itself, the file format may not have been automatically converted to a newer format capable of handing larger file sizes. If that happens to you, you'll need to upgrade the file format yourself.

In general, large .pst files are something to be avoided for a number of reasons. I do have a few hints for dealing with large pst files.

Unfortunately PST repair topics tend to be magnets for comment spam relating to third party tools that supposedly repair PSTs. As a result I'll have to reject any comment that looks like that kind of comment spam. If you're legitimately sharing a good experience - I apologize, please blame all the spammers - if you have a product you wish to promote, you can read up on advertising on Ask Leo!.

Article C4942 - September 30, 2011

Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

Recent Comments
9 Comments

Microsoft has for year "hidden" like Larry G says, maybe the most important data file of all times.

I ALWAYS move that file to a location where I can easily track it, and where I easily can include it in regular backups (in my case, it is in a subfolder of "Documents").

Microsoft also has a nifty plug-in for Outlook that automatically prompts you - and does the work - of backing up your pst files when you shut down Outlook. Highly recommended add-on.

Posted by: Per-Ola at October 5, 2011 2:34 PM

Leo, in this article and at least one other, you have recommended against the most reliable e-mail program available, Outlook Express. I am writing this from a fairly speedy laptop with an i5-450 processor and 8 gigs of ram using Windows 7 Professional Edition. In order to download my e-mail quickly, I have to switch into Microsoft's Virtual XP. Virtual XP is slow, clunky, and an extra step I'd rather not take, but even so, by using Outlook Express in the virtual machine, I can still download my e-mail much quicker than I can using Thunderbird with Windows 7 in the non-virtual mode, and I'm pretty sure you could too. I have saved e-mail messages going back over ten years in Outlook Express, with never a lost message or any other glitch. Dropping Outlook Express was, in my opinion, one of the most user-unfriendly things Microsoft has done. I've tried at least seven other e-mail client programs that would run in Windows 7, and for ease of use, simplicity of interface, and just plain no-nonsense speed, none of them can touch Outlook Express. I don't have much hope that Microsoft will revive it with Windows 8, but it would sure be helpful if some smart developer would come up with a decent clone for it that would run under the newer operating systems.

You don't see what I see - based on questions to Ask Leo! more people lose email because of Outlook Express than any other email program I hear of. There are many reasons why I strongly advise moving away from it: Why Outlook Express Must Die
Leo
10-Oct-2011
Posted by: Edward at October 10, 2011 11:11 PM

I ran scanpst.exe as suggested. It reported no errors. Then I booted Outlook in safe mode and continue to get a "Databinding..." message at the bottom of the screen. Then a box opens that says the file is being checked for problems. Eventually, that box closes, but the program continues to be locked up (not responding) indefinitely. This loop is repeated endlessly.
I use Outlook for several email accounts including a hotmail POP file. Any suggestions would be much appreciated.

Posted by: Grant at March 9, 2012 12:14 PM

IT WORKED!!!!! Thank goodness it worked!!!!! 2.3G of information almost lost. It took awhile to scan and repair but it was worth the wait. Your instructions here were easy to follow. Thank You!!

Posted by: Chris Bailey at March 30, 2012 2:11 PM

Hi Leo,

I might have a similar problem after my organisation moved from Office 2007 to 2010. Now suddenly I'm repairing pst's all over the place. This keeps coming back though as soon as users put\file any new emails into the pst's, as they go bust again. Maybe i had dodged a bullet since the pst's were created in Office 2003 and the pst's sizes has grown exponentialy as user's tend to use them as "dumping sites" as soon as they get the message that their mailboxes are full. Hope you can assist. God Speed.

Make sure that the PSTs are *created* using Office 2007 or later. Upgrading Office Outlook does not automatically upgrade the file format and older PSTs will break when the cross the 2 gigabyte size threshold.
Leo
02-May-2012
Posted by: Jack Somana at May 2, 2012 2:37 PM
Post a comment on "How do I repair a corrupt .pst file?":





Remember Me?

(You may use HTML tags for style)

Before commenting, please...

  • READ THE ARTICLE. A comment that shows you didn't will be deleted and ignored.

  • Comment only on the article. Use the search box at the top of the page if you have a question about something else.

  • NO PERSONAL INFORMATION in the comment. No email addresses. No phone numbers. No physical addresses.

  • Anything that looks the least bit like spam will be deleted. Links to unrelated sites or links that appear to be primarily promotional will be deleted, or the comment will be deleted.

  • Don't ask me to recover lost passwords or hacked accounts. I can't. Those comments will be deleted.

  • I can't respond to every comment. And I can't vouch for the accuracy of others who do.

Please wait. Your comment is being processed ...