How to Fix a OneDrive Word File Stuck as Open in Another Program
Question details
The user needs to fix a synchronization error where OneDrive falsely reports that a Word document is currently open in another program, preventing the file from being synced or deleted.

- Product
- OneDrive / Microsoft Word
- Device & OS
- not provided
- Scenario
- Attempting to sync, manage, or delete a Word document stored in a local OneDrive folder.
- Observed behavior
- OneDrive displays a persistent file-lock message claiming the Word document is open in another program, even though the file has already been closed or deleted from the device.
Before unlinking your account, ensure that all Microsoft Office applications are completely closed and check the Task Manager to verify there are no hidden background instances of Word running.
Unlink and Relink Your OneDrive Account
Resetting the connection between your PC and OneDrive forces the synchronization engine to rebuild its status, clearing any false file-lock errors.
When the OneDrive client gets stuck in a synchronization loop, it may retain a 'ghost lock' on a document. Unlinking your PC safely halts the sync process without deleting your local or cloud files. Relinking it establishes a fresh connection, allowing OneDrive to recognize that the file is actually closed.
Right-click the OneDrive cloud icon located in the Windows taskbar notification area (system tray) and select 'Settings' (the gear icon).
Navigate to the 'Account' tab within the settings menu and click on the 'Unlink this PC' link. Confirm the action when prompted.
Restart your computer to ensure any temporary system locks or lingering background processes related to the Word file are fully terminated.
Launch the OneDrive application again, enter your Microsoft account credentials to sign in, and complete the setup wizard. Allow a few moments for OneDrive to rebuild its synchronization status.
Avoid OneDrive File-Lock Errors with WPS Office
If you are frustrated by persistent Microsoft Word and OneDrive synchronization bugs, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with seamless, integrated cloud storage that avoids common third-party sync locks.
- 1. Download and Install: Download WPS Office for free from the official website and install it on your device.
- 2. Open Your Document: Launch WPS Writer and directly open your existing Word (.docx) documents to continue working without formatting issues.
- 3. Enable WPS Cloud: Sign in to your WPS account to automatically back up and sync your files seamlessly across all your devices using WPS Cloud.

Frequently Asked Questions
Why does OneDrive think my Word file is open when it is completely closed?
This occurs when the OneDrive synchronization engine fails to receive the 'file closed' signal from Microsoft Word, or if a hidden background process of Word is still running on your computer, creating a false file-lock.
Will unlinking my PC from OneDrive delete any of my documents?
No, unlinking your PC simply stops the synchronization process and signs you out of the local client. Your downloaded files remain safely on your hard drive, and your cloud files remain intact on the OneDrive servers.
Can I use Task Manager to force close the program locking my file?
Yes. Press Ctrl + Shift + Esc to open Task Manager, look for 'Microsoft Word' or 'WINWORD.EXE' in the background processes list, select it, and click 'End Task'. This often clears the file lock without needing to unlink OneDrive.




