Offender Plugin
-
- Plugin Developer
- Posts: 216
- Joined: 09 Dec 2005, 23:23
- Location: Ceske Budejovice, Czech Republic
- Contact:
Offender Plugin
Offender Plugin displays list of applications that locked a particular file. Simply focus the locked file in panel and select Plugins > Offender > Find Offending Processes or just press Ctrl+Shift+O. You can then Terminate all the offending processes and then perform the required operation on the file. After that you may try to Restart previously terminated applications. However note, that an application needs to be specially designed for this feature to work. Such applications include critical system processes (e.g. Explorer) and services.
The plugin requires Windows Vista or later since it uses component not available in prior versions or Windows.
Download
The plugin requires Windows Vista or later since it uses component not available in prior versions or Windows.
Download
Re: Offender Plugin
I was looking for something like this...but don't use Vista.
How about a universal plugin to work across platforms? A task Manger for Salamander would be awesome. 


Re: Offender Plugin
One question, is it possible to do as same as Unlocker (http://ccollomb.free.fr/unlocker/)? Not terminate proces, but "unlock files". It is so bad that Unlocker doesn't work in x64 bit Windows.
-
- Plugin Developer
- Posts: 216
- Joined: 09 Dec 2005, 23:23
- Location: Ceske Budejovice, Czech Republic
- Contact:
Re: Offender Plugin
I consider this as an option for the future if there's interest.vld wrote:How about a universal plugin to work across platforms?
What do you mean with task manager? Can't you use TC Proxy with ProcFS for example? Any feature missing?vld wrote:A task Manger for Salamander would be awesome.
I would suggest using Process Explorer. It features the Close Handle function and is 64b friendly. However closing files in a running application can make it crash.Raptor wrote:One question, is it possible to do as same as Unlocker (http://ccollomb.free.fr/unlocker/)? Not terminate proces, but "unlock files". It is so bad that Unlocker doesn't work in x64 bit Windows.
Re: Offender Plugin
Yes, you are right, it can crash another application, but it is user decissionmanison wrote:I would suggest using Process Explorer. It features the Close Handle function and is 64b friendly. However closing files in a running application can make it crash.


Well and another thing - is it possible for you to implement check on whole folder? For example I have folder with many files. One file is locked, so I want to select parent folder and check for locked files. After that should be great to see all processes and files that are locked. Now only process and PID is visible, file name not.
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: Offender Plugin
Interesting. Is any documentation available regarding the restart feature requirements? Is it some technology introduced in Windows Vista?manison wrote:After that you may try to Restart previously terminated applications. However note, that an application needs to be specially designed for this feature to work. Such applications include critical system processes (e.g. Explorer) and services.
-
- Plugin Developer
- Posts: 216
- Joined: 09 Dec 2005, 23:23
- Location: Ceske Budejovice, Czech Republic
- Contact:
Re: Offender Plugin
You're right, you cannot kill a process through TC Proxy since I didn't bother to implement the Delete (F8) function yetvld wrote:I didn't realize this existed. I just added it and I cannot figure out a way to kill tasks as in this snapshot.

No doubt. You have been warnedRaptor wrote:Yes, you are right, it can crash another application, but it is user decissionSometimes I just need it. For example if there is any "bad" application that locks files and using it just for read etc.

Unfortunately Windows component utilized by the plugin does not support closing files in running applications. Will you be interested in adding fronted for the handle utility? This would also enable the plugin under WIndows XP.Raptor wrote:Another thing is locked directory. So I just asked if there is any chance you can implement it or not. I like shell extension in unlocker, so I can just click - check processes and unlock all. Process Explorer is just another application and I'm too lazy to start another program, look for process etc. Plugin in AS is better
Recursive directory scanning? Alright, added to my to-do list.Raptor wrote:Well and another thing - is it possible for you to implement check on whole folder? For example I have folder with many files. One file is locked, so I want to select parent folder and check for locked files. After that should be great to see all processes and files that are locked. Now only process and PID is visible, file name not.
Please take a look at the Restart Manager and RegisterApplicationRestart function new to Windows Vista.Jan Rysavy wrote:Interesting. Is any documentation available regarding the restart feature requirements? Is it some technology introduced in Windows Vista?manison wrote:After that you may try to Restart previously terminated applications. However note, that an application needs to be specially designed for this feature to work. Such applications include critical system processes (e.g. Explorer) and services.
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Offender Plugin
Great! Sometimes I need this functionality, so I'll probably use this plugin, thanks! 
Suggestions/bugs:
-focus (or better select) first process in Offending processes listview (now it seems no process is selected but when I click Terminate, the first process is terminated)
-Restart button works well with Explorer, but with older processes (in my case hexedit.exe 1.0.0.1, from 1997) it says "The operation completed successfully.", but hexedit.exe process is not running (it was not restarted)
-use you own thread for Offending processes dialog (accelerators (e.g. F5, F3 keys) are not working in Salamander during you dialog is opened)
-it's not possible to exit Salamander when Offending processes dialog is opened
-capitalize dialog title: Offending Processes
BTW, what is offender.exe?

Suggestions/bugs:
-focus (or better select) first process in Offending processes listview (now it seems no process is selected but when I click Terminate, the first process is terminated)
-Restart button works well with Explorer, but with older processes (in my case hexedit.exe 1.0.0.1, from 1997) it says "The operation completed successfully.", but hexedit.exe process is not running (it was not restarted)
-use you own thread for Offending processes dialog (accelerators (e.g. F5, F3 keys) are not working in Salamander during you dialog is opened)
-it's not possible to exit Salamander when Offending processes dialog is opened
-capitalize dialog title: Offending Processes
BTW, what is offender.exe?
-
- Plugin Developer
- Posts: 216
- Joined: 09 Dec 2005, 23:23
- Location: Ceske Budejovice, Czech Republic
- Contact:
Re: Offender Plugin
The selection does not matter. Windows Vista Restart Manager always shuts down all the offending applications (or at least tries to).Petr Solin wrote:-focus (or better select) first process in Offending processes listview (now it seems no process is selected but when I click Terminate, the first process is terminated)
I admit that it's confusing. Maybe the best solution would be disabling the selection entirely.
Yes, this is how the Restart Manager works. It reports success even if an application couldn't be restarted/didn't register itself for restart. I'll check the docs, maybe there's mechanism how to query restart result on per application basis.Petr Solin wrote:-Restart button works well with Explorer, but with older processes (in my case hexedit.exe 1.0.0.1, from 1997) it says "The operation completed successfully.", but hexedit.exe process is not running (it was not restarted)
I know, I was lazyPetr Solin wrote:-use you own thread for Offending processes dialog (accelerators (e.g. F5, F3 keys) are not working in Salamander during you dialog is opened)
-it's not possible to exit Salamander when Offending processes dialog is opened

Good point.Petr Solin wrote:-capitalize dialog title: Offending Processes
It's being launched as elevated process to display GUI on limited user accounts.Petr Solin wrote:BTW, what is offender.exe?
Re: Offender Plugin
Any ETA on the update?manison wrote:You're right, you cannot kill a process through TC Proxy since I didn't bother to implement the Delete (F8) function yetvld wrote:I didn't realize this existed. I just added it and I cannot figure out a way to kill tasks as in this snapshot.I will add it.
-
- Plugin Developer
- Posts: 216
- Joined: 09 Dec 2005, 23:23
- Location: Ceske Budejovice, Czech Republic
- Contact:
Re: Offender Plugin
Updated TC Proxy will be available soon after the first public beta/EAP release of 2.53.vld wrote:Any ETA on the update?manison wrote:You're right, you cannot kill a process through TC Proxy since I didn't bother to implement the Delete (F8) function yetvld wrote:I didn't realize this existed. I just added it and I cannot figure out a way to kill tasks as in this snapshot.I will add it.
-
- ALTAP Staff
- Posts: 1112
- Joined: 08 Dec 2005, 09:13
- Location: Novy Bor, Czech Republic
- Contact:
Re: Offender Plugin
I had a problem with locked directory few minutes ago. It was not possible to delete it until I killed conime.exe process (I work on Vista). Offender plugin said that directory had not been locked. So I guess conime.exe had current directory set to this directory. It would be helpful if your plugin can detect also these locks. 

-
- Plugin Developer
- Posts: 216
- Joined: 09 Dec 2005, 23:23
- Location: Ceske Budejovice, Czech Republic
- Contact:
Re: Offender Plugin
The updated version is available for download. This release just fixes some aforementioned issues. For the full list of changes see the history.txt file included in the package.