How to Fix “Items can’t be synced because they are open” Loop

The “Items can’t be synced because they are open” loop occurs when the OneDrive sync client cannot upload or update a file because a local process, background service, or hidden lock file maintains an exclusive handle on it. Even after you close the file in Word, Excel, or PowerPoint, OneDrive continues displaying sync error badges and repeatedly warns that the document is in use.

Fast Fix:

Close related Office apps and terminate lingering background handles. Open Task Manager (Ctrl + Shift + Esc), end any active background processes for WINWORD.EXE, EXCEL.EXE, or POWERPNT.EXE, and delete any hidden lock files (starting with ~$) in the affected folder. If the warning persists, toggle OneDrive sync off and on by pausing for two minutes.

Diagnostic Snapshot

  • Direct Causes: Orphaned background Office processes, hidden owner lock files (~$filename.docx), antivirus or preview pane file indexing locks, or stalled Microsoft Office Upload Center / File Collaboration caches.
  • Risk Level: Low. Local changes remain saved on your local drive, but the cloud version will not update for other devices or co-authors until the lock is released.
  • Scope: Local system handle contention; cloud files remain intact and accessible via OneDrive for Web.

Step-by-Step Resolution Path

Follow these actions in order, moving from simple process termination to cache purging and collaboration settings.

1. Terminate Orphaned Office Processes

A lingering Office process often holds an invisible lock on the document:

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Click the Processes tab and scroll to Background processes.
  3. Look for instances of Microsoft Word, Microsoft Excel, or Microsoft PowerPoint.
  4. Right-click the process and select End task.
  5. Wait 10 seconds. OneDrive will typically detect the released handle and complete the sync.

2. Delete Hidden Owner Lock Files

If an application crashed previously, the hidden lock file must be manually removed:

  1. Open File Explorer and browse to the folder containing the locked file.
  2. In the top menu, click View > Show > Hidden items.
  3. Look for a hidden, semi-transparent file with the same name beginning with ~$ (for example, ~$Strategy2026.docx).
  4. Select the ~$ file and press Delete.
  5. OneDrive will immediately clear the “open file” warning.

3. Disable File Explorer Preview Pane

The Windows preview handler frequently conflicts with real-time cloud sync engines:

  1. In File Explorer, click the View menu at the top.
  2. Under the Show submenu, ensure Preview pane is deselected.
  3. If the preview pane was active, click a different file and wait 15 seconds to let Windows release the background handle.

4. Clear the Office File Collaboration Cache

If Microsoft 365 co-authoring settings desynchronize with the local sync engine:

  1. Click the OneDrive cloud icon in the taskbar.
  2. Select Settings (gear icon) > Settings > Sync and backup > Advanced settings.
  3. Locate File collaboration (or “Use Office applications to sync Office files that I open”).
  4. Toggle this setting off, wait 10 seconds, and toggle it back on.

5. Reset the Local OneDrive Sync Engine

When the sync catalog retains a phantom handle record despite the file system being completely clear, resetting the client clears the internal transaction logs.

  1. Press Windows Key + R to open the Run dialog box.
  2. Paste the following command and click OK:DOS %localappdata%\Microsoft\OneDrive\onedrive.exe /reset
  3. The OneDrive icon will close. Wait up to 2 minutes for it to restart automatically. If it does not reappear, run:DOS %localappdata%\Microsoft\OneDrive\onedrive.exe

Escalation & Hard Stops

If restarting the computer fails to release the lock, use Resource Monitor (resmon.exe) under the CPU > Associated Handles search bar to identify third-party software (such as continuous local backup agents, endpoint DLP scanners, or indexing utilities) holding an open handle on the file. If enterprise endpoint security software is intercepting the directory, contact your IT administrator to add the local OneDrive path to the security client’s exclusion list.