how to see where a file is still opened
To see what is still holding a file open on Windows, the quickest built-in method is Resource Monitor : open it, go to the CPU tab, and check Associated Handles for the file name or path. Windows can then show the process that is using it, and you can close that app or end the process if needed.
Fastest ways
- Resource Monitor : Start menu → type
resmon→ open it → CPU tab → search in Associated Handles for the file name or folder path.
- Process Explorer : Use the handle search to find which process has the file open, then close that process or the specific handle.
- OpenedFilesView : This utility lists all opened files and shows the process, handle, and path; it can also close the process or file handle.
What to try first
- Close the program you think is using the file, like Word, Excel, or an editor.
- If that does not work, open Resource Monitor and search the file name or full path under Associated Handles.
- If Windows still does not show it clearly, use Process Explorer or OpenedFilesView to identify the exact process.
- As a last step, restart the computer or boot into Safe Mode if the file remains locked.
Small example
If report.docx will not delete, search for report.docx in Resource Monitor
or Process Explorer. If WINWORD.exe appears, Word is still holding it open;
once Word closes, the file is usually released.
Note
Some locks come from syncing tools, antivirus, or File Explorer itself, not just the app you opened. That is why searching the handle list is more reliable than guessing.