# How repair an Outlook data file (.pst) file in Windows

Step 1: Exit Outlook and browse to one of the following file locations:

Outlook 2019: C:\Program Files (x86)\Microsoft Office\root\Office16
Outlook 2016: C:\Program Files (x86)\Microsoft Office\root\Office16
Outlook 2013: C:\Program Files (x86)\Microsoft Office\Office15
Outlook 2010: C:\Program Files (x86)\Microsoft Office\Office14
Outlook 2007: C:\Program Files (x86)\Microsoft Office\Office12
Step 2: Open SCANPST.EXE.
Step 3: Select Browse to select the Outlook Data File (.pst) you want to scan. If you need help locating your Outlook Data File, see Locating the Outlook Data Files.
Step 4: Note: By default, a new log file is created during the scan. You can choose Options and opt not to have a log created, or you can have the results appended to an existing log file.
Step 5: Choose Start to begin the scan.
Step 6: If the scan finds errors, choose Repair to start the process to fix them