Windows 11 · Windows

Fix ‘The Action Cannot Be Completed’ File-in-Use Error in Windows

Source-checked About 10 minutes

Answer

Save your work, close the app using the file, and try again. If the owner is unclear, restart Windows or use Microsoft's PowerToys File Locksmith to identify the locking process.

Confirm the symptom and protect the current Windows state

Record the Windows build, affected app or device, exact message, and the last change before the symptom began. Save open work, keep installers and recovery credentials, and create a current backup or restore point when the supported recovery may change apps, drivers, partitions, or system files. Test one supported change at a time so a useful result can be attributed and reversed.

Start with the supported check

Close every app that may have the file open, including preview, sync, archive, and media apps.

Apply the current setting

Try the action again. If it remains blocked, restart Windows to release ordinary file handles.

Test the result

For a persistent lock, install Microsoft PowerToys, enable File Locksmith, right-click the file, and choose Unlock with File Locksmith before ending only the identified process.

Verify the intended result before broader recovery

Repeat the exact task described by “Fix ‘The Action Cannot Be Completed’ File-in-Use Error in Windows” with a harmless test. Confirm the affected app, account, device, file or setting now matches the Answer, then recheck it after one fresh session or restart when that is part of the supported workflow. Keep the original data and recorded starting state until the result is stable; if only one component still fails, keep further recovery limited to that component.

Optional affiliate links

Affiliate disclosure: these preserved source links may earn Tech How a commission at no additional cost to you. They are optional and do not replace the supported procedure above.

Video walkthrough

If it does not work

  • If Windows still reports the file as open, record its full path and identify the owning app through Task Manager or Resource Monitor. Close only that process or restart Windows; do not force-delete a system, synced, encrypted, or actively saving file.
Sources and verification

Checked against official documentation on . Scope: Windows.

Follow the linked first-party guidance if labels differ after a platform update.

Continue with

Browse more Windows 11 tutorials