How To
Summary
Fastest ways to clear the “*.ost is in use and cannot be accessed” error without restarting your computer per verified troubleshooting steps from Microsoft and other 3rd party sources.
Objective
Error:
The file *.ost is in use and cannot be accessed. Close any application that is using this file and then try again. You might need to restart
Environment
Outlook client
Steps
1. Fully close Outlook + all background processes
Even if Outlook looks closed, it often leaves background processes running that keep the OST file locked.
Steps
- Press CTRL + SHIFT + ESC à open Task Manager
- Go to Processes
- End these if present:
- Outlook.exe
- Microsoft Lync / Skype
- UCMAPI.exe
- Communicator
- WebEx
- Teams
- Microsoft Word
These are confirmed causes of OST file locking.
Then try reopening Outlook again.
2. Make sure no other app is touching the OST file
Sync tools sometimes lock OST files temporarily.
Check if any of these apps are running:
- OneDrive syncing your Outlook folder
- Antivirus doing an active email scan
- Backup utilities scanning AppData
Close or pause them, then relaunch Outlook.
Antivirus and file‑scanning tools can indeed lock OST files.
3. Rename the OST file (forces Outlook to rebuild it)
This is safe if your mailbox is Exchange, Microsoft 365, or IMAP. Please know outlook will recreate the OST automatically.
Steps
- Close Outlook completely
- Navigate to: %localappdata%\Microsoft\Outlook
- Find your OST file (Match the file name to the error message you received.)
- Rename it (e.g., filename.ost.bak)
- Open Outlook à It will generate a fresh OST
4. Disable and re‑enable Cached Exchange Mode (quick unlock trick)
- Close Outlook
- Go to Control Panel à Mail à Email Accounts
- Select your account à Change
- Uncheck Cached Exchange Mode à Apply à close
- Reopen Outlook
- Close Outlook again
- Re‑enable Cached Exchange Mode
5. Run SCANPST (Inbox Repair Tool)
If the OST has minor corruption, repairing it can unlock it.
SCANPST can repair OST files when Outlook cannot access them.
Support: Repair Outlook Data files (.pst and .ost)
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
28 April 2026
UID
ibm17271114