Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Release file lock handle (https://forum.exetools.com/showthread.php?t=7701)

baatazu 06-15-2005 17:00

Release file lock handle
 
I have some servers, they act as file servers. They contain lot of EXE files and workstations (XP) run apps from it

\\SERVER1\Files\Project.exe

Till now Servers was running samba (linux) and I was able to delete the Project.exe or replace it with a new file, even if workstations are executing it.

Now, on Windows 2003 Server, of course the file cant be deleted because "its already in use by another process" and Im looking a way to release the file lock handle so I can overwrite the file, without the need of restarting the server.

Does anyone has a utility/way/dll or anything else that will help me to do this? Everything is automatic (no human actions), so something that can work in command line.

Thank you!

gabri3l 06-16-2005 00:38

Shub-Nigurrath released a tool awhile ago that may be able to help you:
http://releases.accessroot.com/
Look for ForceDel 1.2. It's commandline so you will be able to run it remotely. You can use the /C command to only close the handles or just run it and the file will be deleted.

baatazu 06-16-2005 05:10

Thanks! That will help a lot :)

zebediah 06-28-2005 18:34

SysInternals Process Explorer (freeware) can do the same (close the handle)
(look to the view menu for "lower pane" and "show handles" - the other option is "show dlls")

baatazu 06-28-2005 21:45

I want to automate the procedure, to put it this action inside a script/software. Not to do it manually :(

MaRKuS-DJM 06-29-2005 03:13

you can also use unlocker, i think it's the most comfortable of all these

baatazu 06-29-2005 15:52

url or sth?

MaRKuS-DJM 06-30-2005 00:22

hxxp://ccollomb.free.fr/unlocker/

you will find it there. it's not a big app.

it's only working on XP / 2000 (or NT-based) systems and uses a driver to unlock files. it let you also unlock dlls.


All times are GMT +8. The time now is 18:40.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX