Win7 how to quickly find out who is taking the file

Source: Internet
Author: User
Tags administrator password

How do I delete a file that is being occupied under Windows7?

Windows7 How do you know a file is occupied by who?

How do I find a registry key that's not going to change me?

Please don't rush to recommend third party software to me, Windows7 new territory inside I can make my own decisions, we look down-

When you delete a file or folder, especially the temp temporary folder, you may experience the following error message "File is in use" or "the operation cannot be completed because the file is open in XXX." (Please note: XXX represents the program that it opens.) )

To successfully delete these files, first find out which processes have called them, and then close the related application. Compared to previous operating systems, the "File in Use" dialog box for Windows 7 has been improved, typically it lists what programs are in the calling file (as shown in the red box above).

However, most of the time, the system still cannot list all the programs that call the file, so the file cannot be deleted smoothly. At this point, Windows 7 Resource Monitor--a small, but useful, tool--works.

Workaround:

Open the Resource Monitor. In the Start search box, type Resource monitor and press ENTER to open.

If you are prompted to enter an administrator password or confirm, type the password or provide confirmation.

In the Resource Monitor dialog box, switch to the CPU tab. Click the small arrow to the right of the associated handle bar to expand it. Enter a filename in the search field (if the filename is longer, enter a partial filename), and then click Enter. All of the files associated with a file are now listed in the image column.

Select the process that calls the file, right-click the mouse, and click End Process.

You can now successfully delete the related files/folders.

Tip: Using the associated handle search, we can also query the registry key value of the corresponding process! ^^

(for reference only, not detailed introduction)

Ps:

Windows Vista and Windows XP systems do not have their own resource monitors to implement similar queries. Instead, you can download a gadget Process Explorer and use it when you need it.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.