With Process Hacker you can identify what processes are holding your files easily:. The above upvoted answers cover situations where a program process is holding the file handle open, which fortunately is most of the time - however in some cases as is occurring on this system at the moment , the system itself holds a file handle open.
If that happens, your option so far as I'm aware is to restart - or forget about doing anything with that file. I got turned on to the Free Extended Task Manager a while ago by Jeremy Zawodny's blog, and it's great for tracking down further info on processes too. Its hard to keep up with its display if you watch it live, it does so quickly. Now owned by Microsoft but originally by Sysinternals. Sign up to join this community. The best answers are voted up and rise to the top.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. How do you find what process is holding a file open in Windows? Ask Question. Asked 12 years, 8 months ago. Active 3 months ago. Viewed k times. Any suggestions on how to find the culprit? Improve this question. Alan Fleming 73 8 8 bronze badges. You would think that after all this time, the Windows guys would give us a way to do this easily from within Explorer.
I wonder why this hasn't happened? I find that Explorer is very often the problem process that is holding onto a file for no obvious reason. I know this doesn't help you much, but I think I remembered that this was a planned feature of the next Windows release after vista and server. Issue still exists in Windows Randomly got to this question on unrelated search. When I stumble upon this problem with something holding the file, it's often explorer.
Now you need to restart your explorer. Show 1 more comment. Active Oldest Votes. Improve this answer. Eddie Eddie You can close the handle, but keep in mind, you're pulling the rug out from under an application, results will be unpredictable at best. Walden: Absolutely. When this happens on a file you need to delete, you have the choice of forcing the handle closed, or rebooting. So far, having done this dozens of times, I have suffered no ill effect. As with any advanced tool, use with caution and judgment.
Closing the handles can cause the app to re-use the handle on another file, causing corruption - see Jeff's answer below: serverfault. For explorer, btw, hold ctrl-shift and right-click a blank area of the start menu, and you'll get "Exit Explorer" - ps, not quite Jeff's answer.. It should be noted that ProcessExplorer must be run as Administrator or it may not able to see files open by system processes.
Teams Walkie-Talkie. PCI Express 6. Wordle Scams. T-Mobile iCloud Private Relay. Avira Antivirus Crypto Miner. Linux PinePhone Pro. Google Green Messages. Use Your iPhone as a Webcam. Hide Private Photos on iPhone. All Microsoft's PowerToys for Windows. Take Screenshot by Tapping Back of iPhone.
Windows 11 Default Browser. Browse All Windows Articles. Windows 10 Annual Updates. OneDrive Windows 7 and 8. Copy and Paste Between Android and Windows. Protect Windows 10 From Internet Explorer. Mozilla Fights Double Standard. Connect to a Hidden Wi-Fi Network. PsTools The PsTools suite includes command-line utilities for listing the processes running on local or remote computers, running processes remotely, rebooting computers, dumping event logs, and more.
ShellRunas Launch programs as a different user via a convenient shell context-menu entry. VMMap See a breakdown of a process's committed virtual memory types as well as the amount of physical memory working set assigned by the operating system to those types. Identify the sources of process memory usage and the memory cost of application features. Skip to main content. This browser is no longer supported.
Download Microsoft Edge More info. Privacy policy. Download Handle KB. Ever wondered which program has a particular file or directory open? Now you can find out. Handle is a utility that displays information about open handles for any process in the system. You can use it to see the programs that have a file open, or to see the object types and names of all the handles of a program. You run Handle by typing "handle".
You must have administrative privilege to run Handle.
0コメント