Page 1 of 2
SBDelete
Posted: Sun Dec 14, 2008 3:25 am
by wraithdu
The original request came from
this thread.
SBDelete is a small utility to automate the termination and emptying of multiple sandboxes at once. See the README for instructions on usage.
----------------------
SBDelete v1.0.2.3
(MD5: 2b527c3312be8c25a467327033d840fe)
Posted: Sun Dec 14, 2008 1:28 pm
by wraithdu
Updated v1.0.1.2:
- added optional additional time to wait after all processes have ended before emptying the sandbox (perhaps to allow for some additional time for the registry hives to be unmounted)
- added 'Extras'
:: Clean "BoxExpandedView"
Posted: Sun Dec 14, 2008 7:30 pm
by tzuk
:: Clean "BoxExpandedView"
Ha!
(Sorry, I couldn't resist. If you wish, I will delete this post.
)
Posted: Sun Dec 14, 2008 7:33 pm
by SnDPhoenix
Hey, I dont get it? o.0
Someone tell me whats funny about it!
Does it have to do with the thread created before about people being fussy about the leftover entries in the ini? Is that what it cleans?
(Yes you can delete this post as well)
Posted: Sun Dec 14, 2008 7:42 pm
by tzuk
Yes. In any case it's very nice of wraithdu to offer a solution to this issue.
Posted: Sun Dec 14, 2008 9:22 pm
by wraithdu
Ha, no problems
You don't have to delete your posts.
But yeah, that's what it does, and yeah it was prompted by those other threads. With what I was doing to parse the INI for sandboxes, I was 90% of the way there. Figured it would get some people off your back tzuk
Posted: Wed Jan 28, 2009 11:21 pm
by paddyt
wraithdu, I find your little SBDelete very useful, I have a shortcut of it on the desktop and in the tray next to Windows "Start" button (I forget what that is called)
I know it is probably not strictly needed but I wonder if it would be possible to add something to SBDelete indicating that it has finished it's job when the Sandboxes are empty. Just a "Finished" or "Completed".
Thanks anyway
Posted: Wed Jan 28, 2009 11:41 pm
by wraithdu
Thanks, I'm glad you like it.
The GUI goes into a locked / waiting cursor state while it's doing it's thing. When the waiting cursor goes away and the GUI is active again, everything is finished.
Posted: Sat Apr 11, 2009 1:10 pm
by wraithdu
Updated v1.0.2.0:
- Changed internal routines to use SbieDll APIs for compatibility with any future 'Sandboxie.ini' changes (ie Templates, etc.)
- Added automatic locating of 'Start.exe' and 'Sandboxie.ini'
- Fixed a few small bugs
Posted: Sun Apr 12, 2009 7:50 am
by Guest10
Re: v1.0.2.0
I'm having a problem with the new version. I deleted the previous 'sbdelete.ini' file before running the new version.
Sandboxie is installed at C:\Program Files\Sandboxie
My new sbdelete.ini file contains only
[sbdelete]
terminate=1
waittime=5
additionalwait=0
Posted: Sun Apr 12, 2009 12:25 pm
by wraithdu
If you're signature is correct, you're running XP SP3. What does this registry value say in your system?
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SbieSvc
ImagePath=?
I've tested and 1.0.2.0 works on both my Vista SP1 and XP SP3 systems. And that registry value has this data:
C:\Program Files\Sandboxie\SbieSvc.exe
Either this data is wrong on your system, or for some reason (possibly security software?) SBDelete cannot read it. This is how SBDelete determines Sandboxie's installation location.
Posted: Sun Apr 12, 2009 12:30 pm
by Guest10
"C:\Program Files\Sandboxie\SbieSvc.exe"
Posted: Sun Apr 12, 2009 12:32 pm
by wraithdu
Damn....quotes again. I had this problem when I was writing my sbieinj DLL and forgot about it. I'll update it today to fix the problem.
Posted: Sun Apr 12, 2009 12:48 pm
by wraithdu
Ok, should be fixed in v1.0.2.1, see first post.
Posted: Sun Apr 12, 2009 2:01 pm
by Guest10
Version 1.0.2.1 finds the Sandboxie install files, and sandboxie.ini OK.
I need the optional wait time on my PC (1 sec). The sandboxes are then deleted OK.
The "Extras" tool doesn't work for me.
Deleting my "Test3" box and also clicking on "Extras"/"Run Tool" leaves behind
SbieCtrl_BoxExpandedView_Test3=Y
in my sandboxie.ini file (which is located at C:\Winnt\sandboxie.ini).