Win 7 system files are being used Unable to delete solution

  
When deleting files in the computer in Win7, the prompt "File is in use, cannot be deleted" or "Operation cannot be completed because the file is already open in XXX" is often displayed, especially Is the Temp temporary folder. But look at the Win7 taskbar, obviously no program is started, who is using these files? How to delete them?


To successfully delete these files, first find out which processes are called. They then close the relevant application. Compared to the old Windows system, Win7's "File in use" dialog has been improved, it will tell us what program is calling the file.

However, in many cases, the system cannot list all the programs that call the files, so we still can't delete the files smoothly. At this time, Win7 "resource monitor" will work. Open the resource monitor. In the Start Search box, type Resource Monitor and press Enter to open it.


If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.


In the Resource Monitor dialog, switch to the CPU tab. Click the small arrow to the right of the "Associated handles" column to expand it. Enter the file name in the search field (if the file name is longer, enter a partial file name), and then press the Enter key. Now, all the processes related to the file are listed in the "Image" column.


Select the process that will call the file, right click the mouse, and click "End Process", then these files can be deleted successfully.

Copyright © Windows knowledge All Rights Reserved