In case if you don’t know the location of ScanPST.exe then you can check this Article
When the process gets complete, recover repaired items to a new PST file in Outlook.Select the PST from “ Browse” and click on Start Button.“Now Inbox Repair tool will scan, and if the problem detected, then it asks to start the repair process.Exit Outlook and start Inbox Repair Tool.You can recover Outlook folder with the help of Inbox Repair Tool. Antivirus applications scan the folder and delete the complete folder even if only one file is infected. Sometimes, during the scanning, the antivirus application installed in the system identifies malware-infected emails or attachments.Deleted PST file deletes important emails ( Recover Deleted emails)and other communication-related data.
Another such situation is when you accidentally delete your Outlook Personal folder, and you are unable to retrieve this folder.