cannot unlock a file

From: Rolf (corhb_at_student.lboro.ac.uk)
Date: 05/15/03


Date: Thu, 15 May 2003 00:51:38 -0700


Morning all,

Sorry if this is a bit off topic, i wasn't sure which
group was most appropriate, though this seems to be it.

Does anybody know how an administrator can unlock a file
manually in XP Pro? Some program has locked a file and i
cannot do anything do get rid of it. The problem occured
when the program that created the file was terminated
(without error). The program was running on a different
machine however, and was writing the file to a windows
share over the network.

When i try to delete the file, i get an error to say it
is already locked by a user or program, and to sort this
out and try again.

So far i've tried the following:
1. deleting it via 'cmd'
2. renaming it
3. opening/closing it, then trying to delete it
4. rebooted into safe mode and deleting it
5. opening up the remote program that created it, and
trying to get it to delete it again.
6. deleting it via windows explorer

Number 5 was an interesting one, as that program could
not obtain write access to it again either, so it doesnt
look like it still holds the lock.

Anybody got any ideas? This is driving me nuts as it's a
fragmented 300MB file that's causing the rest of the
drive to keep getting fragmented.

Many thanks,
Rolf



Relevant Pages

  • Re: FP03 Locks Up-Curses Upon FP2003!
    ... The cmdui.prf stores your menu bar preferences (deleting will remove any customizations) ... Clear your IE temp files using ID Tools Internet Options ... In Windows Explorer Find and delete all FP Temp Files ... | usually work on the site right from my web hosting server, ...
    (microsoft.public.frontpage.client)
  • Re: server is busy error
    ... or an online site trying to save to your PC? ... In Windows Explorer Find and delete all FP Temp Files ... I have tried the following so far: *deleting all temp files *Deleting my internet cache ... Interestingly, while I am waiting for the error to pop up because the program is hanging there, I pull up my task manager and check the running processes and I see that the FP exe file is using about 99% of my CPU and my CPU use is at 100%! ...
    (microsoft.public.frontpage.client)
  • big iis/asp upload problem
    ... to delete from a command prompt that I could not delete ... through Windows Explorer. ... If it is an entire folder, sometimes deleting the folder's ...
    (microsoft.public.inetserver.iis.security)
  • Re: double copy of file being deleted
    ... you are using windows explorer to delete the files.. ... All that I did was to download photos into "My Pictures"folder in My ... "Jigar Mehta" wrote: ... Give more details as in how are you deleting file (which APIs are you ...
    (microsoft.public.dotnet.general)
  • unable to delete file
    ... I have a .PDF file that I'm unable to delete. ... File was originally downloaded from the net and was a job application that showed no virus. ... I've tried deleting it by right click, dragging, using delete key, etc. I've tried renaming it and get the same message. ... The file shows up in Windows Explorer as having a size of 160KB. ...
    (microsoft.public.windowsxp.help_and_support)