Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2005, 17:00
baatazu
 
Posts: n/a
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!
Reply With Quote
  #2  
Old 06-16-2005, 00:38
gabri3l's Avatar
gabri3l gabri3l is offline
Parity Error 0x0FF2131D
 
Join Date: Aug 2003
Location: Eastern Shore
Posts: 118
Rept. Given: 0
Rept. Rcvd 5 Times in 1 Post
Thanks Given: 8
Thanks Rcvd at 21 Times in 10 Posts
gabri3l Reputation: 5
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.
__________________
-=RETIRED=--=http://cracking.accessroot.com=--=RETIRED=-
Reply With Quote
  #3  
Old 06-16-2005, 05:10
baatazu
 
Posts: n/a
Thanks! That will help a lot
Reply With Quote
  #4  
Old 06-28-2005, 18:34
zebediah
 
Posts: n/a
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")
Reply With Quote
  #5  
Old 06-28-2005, 21:45
baatazu
 
Posts: n/a
I want to automate the procedure, to put it this action inside a script/software. Not to do it manually
Reply With Quote
  #6  
Old 06-29-2005, 03:13
MaRKuS-DJM's Avatar
MaRKuS-DJM MaRKuS-DJM is offline
Cracker + Unpacker
 
Join Date: Aug 2003
Location: Virtual World / Network
Posts: 553
Rept. Given: 7
Rept. Rcvd 6 Times in 4 Posts
Thanks Given: 3
Thanks Rcvd at 16 Times in 10 Posts
MaRKuS-DJM Reputation: 6
you can also use unlocker, i think it's the most comfortable of all these
Reply With Quote
  #7  
Old 06-29-2005, 15:52
baatazu
 
Posts: n/a
url or sth?
Reply With Quote
  #8  
Old 06-30-2005, 00:22
MaRKuS-DJM's Avatar
MaRKuS-DJM MaRKuS-DJM is offline
Cracker + Unpacker
 
Join Date: Aug 2003
Location: Virtual World / Network
Posts: 553
Rept. Given: 7
Rept. Rcvd 6 Times in 4 Posts
Thanks Given: 3
Thanks Rcvd at 16 Times in 10 Posts
MaRKuS-DJM Reputation: 6
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Handle Hijacking TechLord General Discussion 2 05-15-2017 20:11
How to lock a file completely from being read MarkusO General Discussion 17 10-25-2005 00:43
Softice: hwnd -> invalid window handle dreamershl General Discussion 2 04-19-2004 09:58


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


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )