Win7 files are being used to resolve the

  
that cannot be deleted. When deleting files in the computer in Win7, it often pops up "The file is in use and cannot be deleted" or "The operation cannot be completed because the file has been opened in XXX" Especially 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 called them and then close the related application. Compared with the old Windows system, Win7's "File is using" dialog has been improved, it will tell us what program is calling the file.
File is in use

However, many times the system can not list all the programs that call the file, so we still can not successfully delete the file. At this time, Win7 & ldquo; Resource Monitor & rdquo; will play a role.

Open the resource monitor. In the Start Search box, type “Resource Monitor", press Enter to open.
Open Win7 Resource Monitor

If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.
Enter the administrator account password
In the <quo;Resource Monitor” dialog, switch to the  quo;CPU” tab. Click the small arrow to the right of the “ associated handle” bar 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.
Find the process
Select the process that will call the file, right click the mouse, click “end the process”, these files can be deleted successfully.

Copyright © Windows knowledge All Rights Reserved