A file that is still open cannot be fixed. Most not-closed-properly errors are a leftover process holding the data file — release it properly before any repair.
Repairs fail in a very boring way when the patient is still being held by someone else. Before removing data files, resetting apps or reaching for repair tools, make sure nothing is still holding your Outlook data file. These five cards release the lock the safe way, in order.
olk.exeRunning in backgroundOUTLOOK.EXERunning in backgroundOutlook — both versions — can keep running after its window closes: sync finishes in the background, a reminder is pending, or the app simply did not exit cleanly, which is how this whole error family starts. So when any guide says close Outlook, it means the process, not the window. If the icon is gone but olk.exe or OUTLOOK.EXE still sits in Task Manager, the data file is still held.
olk.exe if present and click End task. Do the same for OUTLOOK.EXE.Ending the task is safe for your mail: messages are stored in the data file and on the server, not inside the running process.
This sounds like a superstition; it is not. With Fast Startup enabled — the default — Windows Shut down saves part of the system state to disk and restores it at boot, so locks and half-closed states can survive a shutdown. Restart always performs a full, clean boot. When an error talks about a file that was not closed properly, Restart is the correct reset button.
After an improper close, classic Outlook quietly checks the data file in the background the next time it opens — older versions even showed a note that the file is being checked for problems and that performance may be affected. If you click around impatiently or force-close again during that check, you restart the cycle. Open Outlook, give it a few quiet minutes on a large file, and only then judge whether the error is still real.
The new Outlook keeps its synced copy under the app data folder (%LocalAppData%\Microsoft\Olk), and because the real mail lives on the server, this cache can always be rebuilt. But be honest about the order of operations: deleting cache folders by hand is not the first fix. Process locks and the classic-side conflict cause this error far more often. If the cache does need clearing, the supported way is the app's Repair and Reset buttons in Settings, which do it cleanly.
The video walks through the same order — close everything properly first, then fix.
▶️ Watch Full VideoYes. Your emails live in the data file and on the mail server, not inside the running program. The only thing at risk is an unsent draft still open in a compose window, so save or copy it first.
Fast Startup makes Shut Down partly a hibernation, so the locked state can be restored at the next boot. Restart always boots Windows fully fresh, which clears process locks.
On a large data file, a few minutes is normal. If Outlook still reports the file as unchecked after a long wait and a clean restart, move on to the conflict fix in the main guide.