2
1
Possible Duplicates:
How do I delete a 'locked' file?
Tool to determine what has locked a file
While trying to remove an empty directory on Windows 2000, I am told that I can't do that, because the file is possibly opened.
As mentioned in "How do I delete a 'locked' file?", I tried the Unlocker, but it didn't seem to find anything. Also, I am not able to use the Process Explorer.
So on Windows 2000 server, how do I found out the process/program which opened the folder, and how do I make it unopen it?
EDIT: With a bit of luck I found out that once I killed one of the httpd process running (for a totally unrelated reason), I was able to remove the folder. The question are now: why didn't net file
pick it up? And how would I have been able to detect the right process in the first place?
Are you able to reboot the machine? Did you? – Ƭᴇcʜιᴇ007 – 2011-08-11T12:17:02.337
@techie: I saw the thread you linked and mentioned I tried the solution without success. Furthermore it has a
windows-xp
tag, and I have the problem on windows 2000. As to me being able to reboot the machine, a web application is running on the machine, so if there were a solution which didn't require me to reboot the machine it would be good. – Eldros – 2011-08-11T12:23:40.520@Eldros I know you said you couldn't install process explorer, but it doesn't really install anything you just run it and so long as you accept the license it just runs. There's no install routine or rebooting. – Col – 2011-08-11T12:35:34.507
@Col, on their site, they state that the application is on Server-side for Windows 2003 or higher. Furthermore, the exe is complaining about a missing dll to be able to run.
– Eldros – 2011-08-11T12:39:45.617@Eldros is it possible that someone has the folder open in a remote desktop or from the server console? In case you hadn't noticed I'm starting to clutch at straws now. – Col – 2011-08-11T12:42:28.537
@Col no, it is a generated folder, and outside from me and the web application, noone as access to the machine. – Eldros – 2011-08-11T12:45:10.803
@Eldros I guess I'm officially out of ideas now, hopefully someone else out there will come up with something for you. Good luck. – Col – 2011-08-11T12:49:47.153
@Col let us continue this discussion in chat
– Eldros – 2011-08-11T13:01:17.757