Delete file in use by another process (without thirdparty software)

  • Thread starter Thread starter Mark Schneider
  • Start date Start date
M

Mark Schneider

Hi

is there any way to force the deletion of a file altough it is in use
by another process?
We have extended user rights on our clients server but we are not
allowed to install thirdparty software (e.g. like unlocker).
So I am looking for a tool that needs no installation or for some
source code (VB, WSH or VC would be fine) that is able to delete
files in use?

TIA
Mark
 
I use a tool called process explorer from the sysinternals website. It
allows you to look at and end processes that you cannot see from the task
manager. You can kill a process and then delete the associated file. Before
you do this read up on the tool which can be found thru any search engine.
Make sure the file you intend to delete is not a windows system file.
Microsoft has many of the sysinternal tools now and has updated the
products-- and has great documentation on how they work. Most do not need to
be installed, they come as files you download the extract the .exe and just
run it.
 
Back
Top