Re: File will not delete--error says it is in use

From: Pat (Pat_at_discussions.microsoft.com)
Date: 07/05/04


Date: Mon, 5 Jul 2004 15:42:01 -0700

Thank You !!! That found another Explorer running, which I deleted and was then able to delete the video file.

"Carrie Garth" wrote:

> ||| "Pat" <anonymous@discussions.microsoft.com>
> ||| wrote in message news:2523f01c4602c$a910bb10$a501280a@phx.gbl...
> ||| When trying to delete a video file, I get an error that
> ||| it can not delete because it is in use by another person
> ||| or program. I am not on a network, using Windows XP Home,
> ||| and am the only account on the computer. Have tryed
> ||| Norton anti virus scan, rebooting, and starting in safe
> ||| mode to try to delete. Is there a way to find what is
> ||| using the file or to override the error to delete the
> ||| file?
>
> || "Carrie Garth" <PostInGroup@invalid.cxg>
> || wrote in message news:%23hefaTGYEHA.3536@TK2MSFTNGP11.phx.gbl
> || If you are using the Windows Explorer view to "Show common
> || tasks in folders" maybe Windows Explorer is locking and reading
> || the file to populate the Details window of the Show Common
> || Tasks folder view. If that is the problem perhaps temporarily
> || disabling the 'common tasks' feature would allow you to delete
> || the files. To do that: <SNIP>
>
> | "pat" <pat@discussions.microsoft.com>
> | wrote in message news:F0FDBDA8-E3E1-47A5-B9D7-20157D214E3A@microsoft.com
> | I did as you suggested , but the folder was already set To "use
> | windows classic folders". Thanks for the try, but still not able to
> | delete the file.
>
> Maybe the Sysinternals utility named FileMon, which "monitors and
> displays file system activity on a system in real-time" can help you
> determine what process is locking the file. And once you determine
> the name of the process, maybe you could close the offending
> application, or "End Process" on it, and then delete the video file.
>
> For more information about FileMon see the following Web Site:
>
> Sysinternals Freeware
> Utilities for Windows NT and Windows 2000 - FileMon
> Copyright © 1996-2004 Mark Russinovich and Bryce Cogswell
> Last Updated: March 18, 2004 v6.1
> http://www.sysinternals.com/ntw2k/source/filemon.shtml
>
> BTW, you may want to use the filter feature in FileMon to select what
> data will be shown in the list view. For example, if the "video file" is a
> file with the extension .avi enter the following for a filter: *avi*.
>
> And what you are looking for in the FileMon column named Result is
> the phrase "NOT GRANTED". Once you find that look in the
> FileMon column named Process (on the same line as "NOT
> GRANTED") to find out the name of the process.
>
> And to "End Process" on a running process, right-click a blank area
> of the taskbar, click Task Manager, and click the Processes tab.
> Then highlight the offending application and click the "End Process"
> button.
>
>


Quantcast