MSExchangeGuru.com

Learn Exchange the Guru way !!!

 

Delete OST file – Outlook 2010 and Outlook 2013

Often times Outlook issues are solved by simply deleting and recreating the OST file so I made a quick script for our helpdesk folks to get rid of OST file, clear OAB and Remove the Outlook RoamCache folder containing address Autocomplete files.

BEFORE YOU PROCEED: These steps should only be performed by an Administrator who understands the implications of running it.

You could create a BAT file and name it – Delete OST

——————————————————————————————

DeleteOST Script – Download here

Once these commands are run, Outlook will start downloading mailbox from the server.

Ratish Nair

Microsoft MVP | Exchange Server

Team @MSExchangeGuru

6 Responses to “Delete OST file – Outlook 2010 and Outlook 2013”

  1. Frank Says:

    Hi,
    i think your Website has deleted the backslash “\” between the folder names.
    thanks for sharing.

    regards, Frank

  2. Frank Says:

    Hi,

    it’s me again, maybe you shoud use these foldernames:

    TASKKILL /F /IM “outlook.exe”
    del “%userprofile%\AppData\Local\Microsoft\Outlook\*.ost”
    rd /s/q “%userprofile%\AppData\Local\Microsoft\Outlook\Offline Address Books”
    rd /s/q “%userprofile%\AppData\Local\Microsoft\Outlook\RoamCache”

    regdards, Frank

  3. Ratish Nair Says:

    Thank you Frank. WP can get crazy sometimes… 🙂

  4. Frank Says:

    Yes, sometimes it’s pain in the ass 🙂

  5. DSK Says:

    Great solution!

  6. Outlook Delete Ost File Location Says:

    […] Delete OST file – Outlook 2010 and Outlook 2013 … – Often times Outlook issues are solved by simply deleting and recreating the OST file so I made a quick script for our helpdesk folks to get …… […]

Leave a Reply

Categories

Archives

MSExchangeGuru.com