File operations in OneDrive can stall when the system displays a “The file is in use” error. This message appears when attempting to open, delete, move, or sync files that Windows or another application believes are still active. Such interruptions can block document editing, disrupt automated backups, and prevent successful file synchronization between devices.
Identify Which Program Is Using the File
Pinpointing the process that has locked your file is the most direct way to resolve the issue. Windows PowerToys now includes a feature called File Locksmith, which lists all processes currently using a file.
Step 1: Download and install