How to use Scanpst.exe to repair Outlook data files

Inbox RepairScanpst (aka the Inbox Repair tool) is found in your Office installation folders, usually C:\Program Files\Microsoft Office\OfficeXX, where XX is your version of Office. In Vista and Windows 7 64-bit, the folder is C:\Program Files (x86)\Microsoft Office\OfficeXX.

Note: The scanpst icon is a broken envelope. This is supposed to indicate that it works with broken messages. It does not mean the application is broken.

Office 2010 Home & Business 'Click to Run' users: With Click to Run, Office is installed in a virtual space on the Q drive and you need to look for the path on the Q drive. If you aren't sure if you are using Click to Run, check File, Help in any Office 2010 application. More info on Click to Run is here.

To find the path on the Q drive, open Word and open the File, Save as dialog, choose 'all files' in the file type dialog and browse to Q:\<14####.lan>\Office14. Copy the Q path and paste it into the address bar of windows explorer.

In Outlook 2013 "Click to Run" versions, scanpst is under the root directory in the install path. Users can run it by pasting this path in the address bar of Windows Explorer.

C:\Program Files\Microsoft Office 15\root\office15\scanpst.exe

Replace XX in the following to match your version (the textboxes below are editable), then copy and paste it into the Address bar of Windows Explorer and press enter to open ScanPST.

Outlook 2013 = 15
Outlook 2010 = 14
Outlook 2007 = 12
Outlook 2003 = 11
Outlook 2002 = 10
Outlook 2000 = 9
If you are unsure of your version Help, About will list the version in '12.6310.5000' format. If Outlook was installed as part of a suite, Help, About in any of the Office programs will have the correct version number.

Open Scanpst.exe

On 32-bit Windows or with 64-bit Outlook, using the default installation locations, scanpst.exe is located at:

C:\Program Files\Microsoft Office\OfficeXX\scanpst.exe

On 64-bit Windows with 32-bit Outlook, scanpst.exe is at:

C:\Program Files (x86)\Microsoft Office\OfficeXX\scanpst.exe

You can either use Windows search to find scanpst.exe or browse to it using Windows Explorer. We also offer the following shortcuts you can type or paste into into Start menu's search field or into the Run command (press Windows key + R to open the Run command).

Outlook 2013 Click to Run versions:

C:\Program Files\Microsoft Office 15\root\office15\scanpst.exe

Outlook 2013 32-bit on Windows 64-bit

%ProgramFiles(x86)%\Microsoft Office\Office15\scanpst.exe

Outlook 2013:

%programfiles%\Microsoft Office\Office15\scanpst.exe

Outlook 2010 32-bit on Windows 64-bit

%ProgramFiles(x86)%\Microsoft Office\Office14\scanpst.exe

Outlook 2010:

%programfiles%\Microsoft Office\Office14\scanpst.exe

Outlook 2007 on Windows 64-bit

%ProgramFiles(x86)%\Microsoft Office\Office12\scanpst.exe

Outlook 2007:

%programfiles%\Microsoft Office\Office12\scanpst.exe

Outlook 2003 on Windows 64-bit

%ProgramFiles(x86)%\Microsoft Office\Office11\scanpst.exe

Outlook 2003:

%programfiles%\Microsoft Office\Office11\scanpst.exe

Using Scanpst.exe

After scanpst opens, click Browse and browse to the location of the PST. Or paste the following line in the File name field and click Open. This will open the default PST location in the file browser.

%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook

This path works in all versions of Windows if Outlook created the pst in the local application data path. If you moved the pst or Outlook 2010 created the pst file in My Documents, you'll need to click Browse.

File Browser

Select your PST from the list (most people will have just one) click Open, then Start to begin testing the PST

ScanPST dialog

When ScanPST is finished running the tests, a dialog reports the errors found. If you need to repair the PST, always make a backup.

Scanpst found errors

More Information

See the following articles for more information:

Repair a damaged Personal Folders PST file

Repair a 2gb Personal Folders file or Offline Folders

  • Mark

    I have been through this page every which way. All searches end with the program denying that the pst file exists. This is maddening and the help files are useless.

    Mark Hermodson

  • outlooktips

    What type of email account do you have configured? You may not have pst files.

  • shrimant rathod

    i repair outlook.pst file but not fix my problem outlook 2007 databinding please sole this problem

  • Diane Poremsky

    At what point do you get that error? Does outlook work in Safe mode? (Close Outlook. Hold Ctrl as you click on the Outlook icon to start in Safe mode.)

    I know one cause is related to Outlook Today - right click on the root folder where outlook today is and choose properties, then restore defaults on the folder home page tab. If you can't right click on that folder, go to tools, options, other tab, adavanced and set the start folder to inbox or calendar. Restart outlook and try the right click to restore the home page defaults again.

  • Rod Mason

    I have run the scanpst.exe file on a couple of occasions. It seems to work for a little while and then says it is not responding. how long should the process take? My PST file is almost 15gb. thanks in advance for your help

  • Diane Poremsky

    With a data file that size it's going to take awhile. If possible move the older messages you don't need weekly access to, to a new pst. If you can offload about 10gb it will run better.

  • Rod Mason

    thanks. but the problem is i can't access the file at all and the scanpst.exe always comes up with a "not responding" error.

    i can't reduce the size until i can get access to it. any suggestions on that front?

  • Subhi Abu kweik

    Hello, I have the same problem, I have finished the first step ... scanpst... done ... but once I click on Repair ...it's not responding ... waiting .... waiting ... but not responding ... what should I do in this case ? please , I need your help .How can I open my outlook again ?

  • Diane Poremsky

    How large is the pst file? It can take "forever" to repair large pst files. I get into Outlook "now", rename the pst file and let outlook make a new one. You may be able to open the old pst file using File, Open, Outlook Data file.

  • derek summers

    does scanpst.exe actually works for Outlook PST repair? I have bit of problem, i ran this tool again and again but to no avail. it always fails. Suggest me something good.

  • Diane Poremsky

    Yes, scanpst does work just fine. Occasionally, a pst file may be seriously damaged and you'll need a paid product. A complete list of paid offerings is at Repair a damaged pst file. One of the three listed at the top should be fine, but there are more to choose from at the bottom of the page.

  • Diane Poremsky

    If it is damaged and won't open in outlook, you will need to use a commercial product. See Repair a damaged pst file for instructions and links to all of the pst repair products.

  • Sarah

    This worked a treat for me. Took some time. Thank you!

  • Harry

    Thank you so much. this is the best website I have ever been to for help.

  • pst reparieren

    It helped me fix PST errors quickly with all ease & efficiency.

  • Aurora Fernandez

    My original problem was that when I tried to open Outlook I would get a message to run inbox repair. After much ado I was able to find and run.

    I ran the scanpst.exe on my PC and after 2 runs it says that there are no errors.

    When I try to open my Outlook now. I still get the same message that I got originally
    " Cannot start Microsoft Office Outlook. Can not open the Outlook Window. The set of folders cannot be opened errors have been detected. C:\Users\........etc.

    I have tried to do the reset nav pane, start in safe mode and still the same message.

    I built a guest account with my ATT Yahoo mail info and was able to open and download
    all my e-mail messages from 1-11-12 which was when this whole mess started.

    I am working with someone at Microsoft Communities but so far it seems that we are not communicating ( I can seem to tell him how the problem started) So if you can help me I would very much appreciate your help.
    Pretty desperate and frustrated at this point.

  • Aurora Fernandez

    What would be the next step when after running scanpst.exe 2, when files shows no errors now ( it did show errors originally) and I still get the same message " Cannot Start Microsoft Office Outlook. Can not open the Outlook the set of folders cannot be opened erros have been detected. C:\Users\.....etc.

    I have tried reser nav pane, start in safe mode and still same.

    I built a guest account, plugged in my ATT Yahoo Mail server in and was able to download my e-mails from 1-11-12 which is when this whole mess started.

    I am working with someone at MIcrosoft Communities but so far we do not seem to be communicated.

    I am at a loss and very frustrated. I can read and can follow instructions on what to do.

    Thanks!!!!!!

  • Diane Poremsky

    Try this: close outlook. Go to Control panel and search for Mail. Open your profile and add a new pst file to the profile. Set it as default. Restart outlook. Does it work? If not, go back into the Control panel and open your profile then remove the old pst from your profile. This will get outlook working and we just need to try and repair the old pst file.

  • Yvonne

    Hi Diane -- I discovered your page with great interest and hope! I wonder if you might have any advice for me?.....

    I've located the scanpst tool and have inserted various file extensions that have been recommended, including the one you mentioned above, all to no avail (and yes I did use my personal username).

    Error message reads: the path for the file "C:\yada yada yada...." does not exist. Type a valid path and file name.

    Any thoughts regarding what the problem might be?

    Thank you kindly! :)

    Yvonne

  • Diane Poremsky

    Are you getting that message when you try to scan the pst file? If so, it means the pst is corrupt and scanpst can't repair it.

  • Trey Cooper

    Cannot start Microsoft Office Outlook. Cannot open the Outlook window. The set of folders cannot be opened. Errors have been detected in the file, C:\Users\xxxxxx\AppData\Local\Microsoft\Outlook.pst. 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.

    This is the message I get when I open Outlook. Once it opens it closes and gives me this message. I cannot run the Scanpst.exe from the Inbox because it will not stay open. I have gone to the actual file location on hard drive and tried to run it from there but nothing happens here either.

    I created another profile and tried that but that yeilded the same result.

    I am currently at a loss please help!!

  • abdulkhaliq

    Hi outlook confgiration is wil in yahoo but give this msg
    Errors have been detected in the file D:\abdul khaliq Emil content\outlook.pst.Quit outlook and all mail-enabled applications, and then use the inbox repair toll (scanpst.exe)to diagnose and repair errors in the file.for more information about the inbox repair tool see help. what i can corctly

  • Amr el Chimy

    I try all the steps you mention above and give me their is no Error, my PST file is about 4 GB, I can send or receive or even delete old mail

    Please your advice

    Thanks in Advance

    Amr el Chimy

  • Dave Kelly

    C:\Program Files (x86)\Microsoft Office\Office12\1033
    That is a direct text copy & paste of the address (on my computer) where scanpst.exe is supposed to be.
    The files listed alphabetically do not include scanpst.exe (Ribbon_COL.HXC is followed by SETLANG.HXS.
    I have "show hidden files" checked yes.
    Where is scanpst.exe?

  • Happy

    worked a treat, thank you so much!

  • menno van burken

    i can't locate the scanpst.exe file. I'm running 2010. Can I download it and what is a safe site?

  • Diane Poremsky

    Do you have the click to run version of Office? Scanpst is available in all versions except that one. It's not available for download from a safe site and I'm not sure if you need more than just the exe to use it. check file, help file to see if you have a click to run version

    oh, and are you using 64 bit windows and 32bit office?

  • Diana

    This information worked for me. It took a long time to run the Inbox Repair tool scan after figuring out how to do it. The scan took maybe 4 hours. I went to sleep and it was done in the morning. I had about 257 errors. After clicking repair it took several more hours to repair. My problem was that I couldn't open my Outlook-Inbox file folders, or delete anything out of the deleted file folder. I did cut and paste the file location as per the instructions above. This was how I could run the scan. I am not computer savy and without the instructions above I would have been lost. Thanks for the information.

  • deb inman

    YES! Thanks so much for this fix info: worked perfectly!

  • computer technician

    diane, would datanumen outlook pst repair be worth trying for badly damaged pst?

  • Diane Poremsky

    it is worth a try - it should have a free trial so you can see what it can recover. if it can't find anything, you know the pst is beyond recovery.

  • dan

    Outlook is NOW looking for a Personal Files Password .. will NOT open up. I never had to use a password?? Please help!

  • Govind

    Hi Diane,

    I was initially getting error as "the file is not an outlook data file". I ran the scanpst and then was able to open the datafile in outlook but unfortunately it is not showing any folders which were there inside the pst.

    please help me in digging out this issue as it is very urgent

    Regards,
    Govind

  • KikiD

    I have been having MAJOR outlook issues .... Kept giving me a long error number that I couldn't find anywhere online for reference- sometimes it says Internet calendars didn't close properly-scanning...(forever)... After a week of being able to use it a few hours & freezes an hour and the restarts then freezes- NOW TODAY it's saying I need to scanpst.exe.... I can't find I any where On my PC. HELP.. I work from home. This is my life line.

    I have windows enterprise 2007
    Toshiba laptop (4gb ram) 600gb /model c855
    Windows 7 home premium
    Service pack 1 (all updated loaded)
    2.30ghz processor
    64bit op system

    It seems to be holding my entire PC hostage sometimes when it freezes

  • Diane Poremsky

    Scanpst should be at C:\Program Files\Microsoft Office\Office12\SCANPST.EXE on Windows 64 bit and a 32-bit Outlook.

    Does outlook work better if you use Safe mode?

  • Dave

    Outlook 2010 works perfectly well for me, yet when I run SCANPST it says I have errors. Is that significant? The repair tool doesn't seem to clear whatever the program reports as abnormal; i.e. it doesn't restore it to error free. Will I be unable to import a backup of this file with errors, if I have to reinstall Outlook again?

    Thanks.

  • Diane Poremsky

    It's normal to have some errors in the pst, especially if you use a utility that accesses the data, such as to sync with a smartphone. Whether the errors are enough to cause problems to prevent import/export or other problems is hard to say but if outlook can open the data file and access everything in it, then import/exports should work fine.

  • Nagarjun

    Nagarjun
    The information was of great help! Finally I was able to fix the problems with my pst files. And surprisingly the file size is 14GB and it took about 2 hours to complete the work. Thanks a lot once again.

  • Jerry Mirelli

    I lost the screen so I will enter this again. aoplogies if you get this twice. This one will be shorter.

    I accidently sent a 48mb message with Outlook and it got stuck in my Outbox. I cant delete it and cant send emails but everything else works. How can I delete this email from my Outbox?

  • Diane Poremsky
  • it support

    Hi Diane,i want to to know that if more then one files are corrupted then what will be the best option to recover them?

  • Diane Poremsky

    If they are corrupt, one of the commercial products may be able to recover the data. See the tools list at http://www.slipstick.com/problems/pst-repair/repair-a-damaged-personal-folders-pst-file/ for options. I've used the Stellar product and AOR and both worked well but the others may be just as good.

  • bob

    Hi
    When I try to run scanpst I receive the message, "command argument not valid verify switch". I am able to open my 2007 version of outlook but not load new emails because file is full and receive message to run scanpst

  • lynn spiller

    i have the same problem and cannot open outlook
    in the error message is shows a file path; c/user/home/appdata/local/microsot/outlook.pst
    but is i copy this path when i open the scan program it says it doesnt exist
    i have looked at the control panel and the email section and if you go into the email it lets you bring up the appdata etc as above but if you look in the search, these isnt an appdata come up under user/home

  • Diane Poremsky

    did you try putting %localappdata%\microsoft\outlook in the scan program?

  • Toni

    Thanks for the information! Question: the explanation says there is normally one pst file -- I have 8. One outlook, one outlook1, one archive, then 4 named after my one email account with different "suffixes" in the name (e.g. *-0000000a.pst, *-00000008.pst), one with my gmail account. Is something wrong or did I set something up incorrectly?

    Thanks in advance.

  • Toni

    They also needed multiple tries (~3) before they scanned as "no errors"

  • Diane Poremsky

    You did everything right, but it looks like you've had multiple profiles - Outlook increments the filename if you add/remove accounts or make new profiles with the same account in it. The highest # should be the current pst files - you can confirm by looking at the folder's last modified date when Outlook is closed.

  • william ferrelli

    Hi I ran the scan twice and both times it ended saying that scanned stop running and no changes to the files occurred. Do you know what that means?

  • Diane Poremsky

    So it didn't complete? Was that the compete message?

  • Ken Degen

    I do not seem to have scanpst.exe on my computer (wind 7(64)). How do i get it?

  • Diane Poremsky

    Which version of Outlook do you have? With 64bit Windows, it's one of these locations, where XX is your version #

    C:\Program Files\Microsoft Office\OfficeXX\scanpst.exe
    C:\Program Files (x86)\Microsoft Office\OfficeXX\scanpst.exe

  • TM

    Hi

    The instructions on this link helped me to repair the problem in the Outlook.

    So, a big, massive thank you!

    BRAVO

  • Denise

    I use Vista/Outlook2007-Error msg says"Quit outlook and all mail enabled applications and then use the inbox repair tool (scanpst.exe) to diagnose and repair errors in the file." but I can't locate scanpst.exe. It's not in ProgramFiles/MicrosoftOffice/Office12/SCANPST. I am unable to delete emails and have to reboot each time I want to receive new emails.

  • Diane Poremsky

    What version of Windows do you use? If it's a 64bit version, look in C:\Program Files (x86)\...

  • D. Lee

    Hello, Figured I'd give this a shot since I have been trying to solve this issue for about 30 hours now. I finally found the scanpst exe and its running now. Once is that done do I need to delete anything from he old PST file or will this scanpst program perform everything for me. I tried a 3rd party software, but I could'f figure how to move the new PST in the correct place and I'm stll getting the msg stating file PST Files are corrupt use scanpst. Outlook wont open.
    Hope you can help.

  • D. Lee

    It's D. Lee from above I'm using Vista Home Premium

  • Diane Poremsky

    scanpst will do everything for you - if it fixes the problem. You can point Outlook to the pst in any location using File > Open > Outlook Data File or, if its the default pst, by changing it in control panel, Mail.

  • Jenny

    Hi
    I am using Office 07can't find scanpst either using search or manually. The reason I need to run it is I can't send or receive any emails from Outlook. Anything you can offer would be so appreciated.

  • Diane Poremsky

    What version of Windows?

    Did you paste one of these lines in the address bar of windows explorer and press Enter?
    Use this if you use 64bit windows==> %ProgramFiles(x86)%\Microsoft Office\Office12\scanpst.exe
    32-bit windows ==> %programfiles%\Microsoft Office\Office12\scanpst.exe

  • Jenny

    I recently left a reply saying I was having trouble accessing scanpst. I have now found it so no longer need your help. I didn't realise I had to close outlook to even find it. I did find your website very helpful once I had found scanpst.
    Thanks

  • Diane Poremsky

    Thanks for the update!

  • nisa

    an error has occured which caused the scan to be stopped.no change have been made to th scanned file

  • Diane Poremsky

    That usually means the pst is corrupt beyond scanpst's ability to repair. See if the trial version of Stellar PST Repair sees your mail.

  • Jonathan Weavers

    Hey -

    Your last post [How to start Outlook in safe mode] was freaking awesome. I have gone ahead and added your stuff to my Feedly account. Please keep me updated if you post anywhere else.

    Keep rocking –

    Jon

  • Russell Smith

    Hi,
    Usually it is seen that ScanPST.exe fails to repair your corrupted PST file. At this time, we must have a solution that works as expected requirement over ScanPST.exe. However, technical experts advise to use third party software to repair outlook files.

    Regards:

    Russell

  • Diane Poremsky

    Scanpst will fix a lot of problems, but if by chance it cannot, I highly recommend one of the products at repair a damaged pst file/ - the utilities listed in Tools in the spotlight are recommended.

  • Steve Symmons

    Office 2010, Windows 7 Ultimate 32bit. 6.7GB pst file. Calendar Syncs with Google Calendar for Android smartphone & tablet.
    Scanpst.exe is there & works - right up to the point where you press Repair after Phase 8 has been successfully completed.
    Then the dialogue box goes opaque with "(Not Responding)" (in Task Manager too).
    I've gone through this four times now, with the same result.
    Is there something that I need to do to prevent this happening?
    Should I just leave it overnight to work its way through, what may be a huge raft of errors?
    Or is it beyond Scanpst.exe to repair the problem?

  • Diane Poremsky

    It might be damaged beyond scanpst's capabilities, but I'd give it at least a few hours, depending on how large the pst is.

  • Shannon

    This was very helpful, thank you!

  • Carey Vandenberg (@CareyVandenberg)

    I'm having the same problem as Steve S. with about the same db size. I'll trying leaving it overnight. I'll report back tomorrow.

  • joe mango

    You ROCK! Thanks for the path: %ProgramFiles(x86)%Microsoft OfficeOffice14scanpst.exe

  • Paul Scheon

    Great help. Found the Scanpst.exe file through your tip and repaired the files.
    THANKS SO MUCH :) !!!

  • rnkini

    Hello Diane,

    I ran the scanpst file for my outlook 2007. It took 2 days to scan all and it is taking forever to recover files. I used the scanpst file as I was getting messages that my In box size has reached maximum capacity. I tried to open a folder to move all my old mail to this folder and create space in my in box. It did not let me and kept giving the message that there are errors in the files. So I ran the scanpst and it is taking forever to recover. Is that normal? At the rate it is going it may take 2 more days to repair!! Help!!

  • D Poremsky

    If the data file is oversized and won't open, the only way scanpst will fix it is if you chop off part of the data file. Instructions are here: http://www.slipstick.com/problems/pst-repair/repair-a-2gb-personal-folders-or-offline-folders-file/
    If its large but not over 1.9 GB, then you might be able to export to a new pst. Outlook 2007 supports the new, larger Unicode pst files and that is what you should be using.

  • cottagestyle

    Using Microsoft Outlook 2007 and it will not allow me to open up Outlook. It says; "cannot start Microsoft Office Outlook. Cannot open the Outlook window. The set of folders cannot be opened. Errors have been detected in the file. Quit Outlook and alll mail-enabled applications, and then use the Inbox repair tool (Scanpst.exe) to diagnose and repair errors in the file." Have done so, it says repaired and I still get the same error message when opening, nothing has changed, I have done a scan with 3rd party software and can retrieve but they want your first born to give copy of file. Any suggestions?

  • http://www.slipstick.com/ D Poremsky

    How many times did you run scanpst on the file? I've found 3 times is a charm, so much so that I just run it 3 times in a row before even trying to open Outlook again.

  • Stephen P

    I'm Using Outlook 2007 and Windows 8.
    Have scanned and repaired 4 times with ScanPST.exe. It now says there are no errors...but I still can't open Outlook. (Same sort of error messages as cottage style below). Have used the free download of stellar phoenix- it has retrieved the files...but I have to pay big $ to get them back. Any way of doing this without forking out the cash!? many thanks for any further help you can offer :)

  • http://www.slipstick.com/ D Poremsky

    can you open it in a new profile? How large is the pst?