Process Explorer is a GUI tool from Sysinternals that allows you to search for open file handles.
Steps:Launch Process Explorer as Administrator.
Press Ctrl + F or go to Find > Find Handle or DLL.
Enter the folder path or partial filename (e.g., C:\Users\You\Pictures).
Look at the list of processes that have open handles to files in that folder.
Open Command Prompt as Administrator
(cd into the folder where you saved handle.exe)
Run the following command:
Replace with the actual path to your folder. This will list all open handles that reference files or subfolders.
Look for processes like:
dllhost.exe (used by preview handlers)
explorer.exe (shell / thumbnail handlers)
Third-party viewers/editors