SBDelete

Utilities designed for use with Sandboxie
wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

SBDelete

Post by wraithdu » Sun Dec 14, 2008 3:25 am

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)
Last edited by wraithdu on Wed Jan 19, 2011 1:48 pm, edited 7 times in total.

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Dec 14, 2008 1:28 pm

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"

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Dec 14, 2008 7:30 pm

:: Clean "BoxExpandedView"
Ha! :)

(Sorry, I couldn't resist. If you wish, I will delete this post. :) )
tzuk

SnDPhoenix
Posts: 2690
Joined: Tue Dec 26, 2006 5:44 pm
Location: West Florida

Post by SnDPhoenix » Sun Dec 14, 2008 7:33 pm

Hey, I dont get it? o.0
Someone tell me whats funny about it! :P

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? :idea:
(Yes you can delete this post as well)

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Dec 14, 2008 7:42 pm

Yes. In any case it's very nice of wraithdu to offer a solution to this issue.
tzuk

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Dec 14, 2008 9:22 pm

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 ;)

paddyt
Posts: 168
Joined: Thu Apr 17, 2008 10:46 am

Post by paddyt » Wed Jan 28, 2009 11:21 pm

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 :)

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Wed Jan 28, 2009 11:41 pm

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.

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sat Apr 11, 2009 1:10 pm

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

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Post by Guest10 » Sun Apr 12, 2009 7:50 am

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

Image

My new sbdelete.ini file contains only
[sbdelete]
terminate=1
waittime=5
additionalwait=0
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Apr 12, 2009 12:25 pm

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.

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Post by Guest10 » Sun Apr 12, 2009 12:30 pm

"C:\Program Files\Sandboxie\SbieSvc.exe"

Image
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Apr 12, 2009 12:32 pm

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.

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Sun Apr 12, 2009 12:48 pm

Ok, should be fixed in v1.0.2.1, see first post.

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Post by Guest10 » Sun Apr 12, 2009 2:01 pm

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).
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests