Trust No Program
Reply to topic
SBDelete
wraithdu


Joined: 29 Jun 2007
Posts: 1410
Reply with quote
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 6:48 pm; edited 7 times in total
View user's profileSend private message
wraithdu


Joined: 29 Jun 2007
Posts: 1410
Reply with quote
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"
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15004
Reply with quote
Quote:
:: Clean "BoxExpandedView"


Ha! Smile

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

_________________
tzuk
View user's profileSend private message
SnDPhoenix


Joined: 26 Dec 2006
Posts: 2694
Location: West Florida
Reply with quote
Hey, I dont get it? o.0
Someone tell me whats funny about it! Razz

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)
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15004
Reply with quote
Yes. In any case it's very nice of wraithdu to offer a solution to this issue.
View user's profileSend private message
wraithdu


Joined: 29 Jun 2007
Posts: 1410
Reply with quote
Ha, no problems Smile 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 Wink
View user's profileSend private message
paddyt


Joined: 17 Apr 2008
Posts: 167
Reply with quote
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 Smile
View user's profileSend private message
wraithdu


Joined: 29 Jun 2007
Posts: 1410
Reply with quote
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.
View user's profileSend private message
wraithdu


Joined: 29 Jun 2007
Posts: 1410
Reply with quote
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
View user's profileSend private message
Guest10


Joined: 27 Apr 2008
Posts: 4355
Location: Ohio, USA
Reply with quote
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

_________________
Paul
XP Pro SP3 (Admin rights), Zone Alarm Pro Firewall, Malwarebytes Pro, Firefox 21, Thunderbird 17
View user's profileSend private message
wraithdu


Joined: 29 Jun 2007
Posts: 1410
Reply with quote
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.
View user's profileSend private message
Guest10


Joined: 27 Apr 2008
Posts: 4355
Location: Ohio, USA
Reply with quote
"C:\Program Files\Sandboxie\SbieSvc.exe"

View user's profileSend private message
wraithdu


Joined: 29 Jun 2007
Posts: 1410
Reply with quote
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.
View user's profileSend private message
wraithdu


Joined: 29 Jun 2007
Posts: 1410
Reply with quote
Ok, should be fixed in v1.0.2.1, see first post.
View user's profileSend private message
Guest10


Joined: 27 Apr 2008
Posts: 4355
Location: Ohio, USA
Reply with quote
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).
View user's profileSend private message
SBDelete
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 2  

Use the RSS feed to watch this topic for replies
  
  
 Reply to topic  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 208,550,940 times since June 2004