Wednesday, November 7, 2007

Outlook files

Today I received the outlook error :

Outlook exited without properly closing your outlook datafile

it also indicated that it was the ost file that was damaged
after that outlook closed, retrying gave the same problem. 

Lucky for us Outlook user Microsoft has added a well hidden recovery program :
Scanpst.exe
(when installed with the default settings this will be in : C:\Program Files\Microsoft Office\Office12  for office 2007 (a guess would be office11 for 2003 ) )

Just run this,
Select the file indicated in the error message (C:\Documents and Settings\%UserName%\Local Settings\Application Data\Microsoft\Outlook, select the pst or ost file accordingly)
Scan it and repair it : voila problems gone!

PS : I found out there's a scanost.exe and a scanpst.exe, I used scanpst.exe for my ost file and it worked.