Delete sandbox on shutdown
Delete sandbox on shutdown
I would like the option "Delete sandbox on shutdown", causing the sandbox to be deleted when the computer is shutdown.
The feature request has been discussed in this topic:
http://www.sandboxie.com/phpbb/viewtopic.php?t=10639
http://www.sandboxie.com/phpbb/viewtopic.php?t=10639
tzuk
No it isn't.
That thread is about the problem that the sandbox is not emptied on shutdown when the option "delete the sandbox when the last program ends" is activated.
I do not want to empty the sandbox when no programs are running in it.
I only want it to be emptied when I shutdown the system - not before.
But I already found the solution:
I made a cmd script "DeleteSandBox.cmd" with the command RMDIR /s /q "C:\Sandbox\Administrator\DefaultBox"
And this cmd file is executed at system startup in the Windows Task Scheduler.
This way I have always a clean sandbox at the start of a new windows session.
That thread is about the problem that the sandbox is not emptied on shutdown when the option "delete the sandbox when the last program ends" is activated.
I do not want to empty the sandbox when no programs are running in it.
I only want it to be emptied when I shutdown the system - not before.
But I already found the solution:
I made a cmd script "DeleteSandBox.cmd" with the command RMDIR /s /q "C:\Sandbox\Administrator\DefaultBox"
And this cmd file is executed at system startup in the Windows Task Scheduler.
This way I have always a clean sandbox at the start of a new windows session.
The problem with having such an option is that Windows will display the screen asking the user to terminate running programs (Sandboxie) before windows shuts down. Those who enable it will think that Sandboxie is making windows unresponsive when in fact its not the case ofcourse.
Deleting a sandbox on startup seems to be a better solution for the potential issue mentioned above. If its easy to implement, I guess its a nice bonus, but not really needed.
Deleting a sandbox on startup seems to be a better solution for the potential issue mentioned above. If its easy to implement, I guess its a nice bonus, but not really needed.
Agree it would be nice if it was a built in option ...tverweij wrote:No it isn't.
That thread is about the problem that the sandbox is not emptied on shutdown when the option "delete the sandbox when the last program ends" is activated.
I do not want to empty the sandbox when no programs are running in it.
I only want it to be emptied when I shutdown the system - not before.
But I already found the solution:
I made a cmd script "DeleteSandBox.cmd" with the command RMDIR /s /q "C:\Sandbox\Administrator\DefaultBox"
And this cmd file is executed at system startup in the Windows Task Scheduler.
This way I have always a clean sandbox at the start of a new windows session.
Thanks for your tip/workaround.
I'll give it a try!
=
Bad luck, it did not work. Can't figure out how to do this.
As said, it should be an option within Sandboxie, instead of users trying to figure this out themselves.
I am not familiar with scripts.
I created a text file
containing just 1 line
RMDIR /s /q "G:\Sandbox\MyName\DefaultBox"
saved it as: DeleteSandBox.cmd
Then went on with the steps outlined in http://windows.microsoft.com/en-us/wind ... ule-a-task
and pointed to above file.
Nothing happened.
=
As said, it should be an option within Sandboxie, instead of users trying to figure this out themselves.
I am not familiar with scripts.
I created a text file
containing just 1 line
RMDIR /s /q "G:\Sandbox\MyName\DefaultBox"
saved it as: DeleteSandBox.cmd
Then went on with the steps outlined in http://windows.microsoft.com/en-us/wind ... ule-a-task
and pointed to above file.
Nothing happened.
=
Does this work?
rd G:\Sandbox\MyName\DefaultBox /s /q
I'm on XP pro though.
Worked for me saved as a .bat file with a shortcut created and placed in my startup folder.
I'm on XP pro though.
Worked for me saved as a .bat file with a shortcut created and placed in my startup folder.
-
- Posts: 30
- Joined: Thu Feb 25, 2010 8:50 am
If you have CCleaner you can include your sandboxie folder to be deleted upon login.
I have it set to delete the all subfolders/files and the parent folder "TEST"
Im on Win 7 64-bit if thats of any use
My logic, should be better to delete on boot vs delete before shutdown, i don't want windows to potentially hang and not shutdown because something cant be deleted
I have it set to delete the all subfolders/files and the parent folder "TEST"
Im on Win 7 64-bit if thats of any use
My logic, should be better to delete on boot vs delete before shutdown, i don't want windows to potentially hang and not shutdown because something cant be deleted
Good idea.BlackThought wrote:If you have CCleaner you can include your sandboxie folder to be deleted upon login.
I have it set to delete the all subfolders/files and the parent folder "TEST"
Im on Win 7 64-bit if thats of any use
My logic, should be better to delete on boot vs delete before shutdown, i don't want windows to potentially hang and not shutdown because something cant be deleted
Related: Stop all programs and delete all on Sandbx exit
Hi
Is there a simple way to implement this feature? Basically to use Sandboxie as a safe browser with no memory after each Snadboxie exit, not each windows restart.
I know it is sort of a shame not to use its full capabilities, but sometimes simple is safer .. I'd set the default that way, and if I wanted to save some downloads etc. would start the non simple version.
Right now it is a pain to do this manually, stop all running processes, delete all contents ..
thanks if anyone has worked out the details and can provide a short how to (scripts, shortcuts, commands options .. )
Is there a simple way to implement this feature? Basically to use Sandboxie as a safe browser with no memory after each Snadboxie exit, not each windows restart.
I know it is sort of a shame not to use its full capabilities, but sometimes simple is safer .. I'd set the default that way, and if I wanted to save some downloads etc. would start the non simple version.
Right now it is a pain to do this manually, stop all running processes, delete all contents ..
thanks if anyone has worked out the details and can provide a short how to (scripts, shortcuts, commands options .. )
-----------------------------------------------------------
Excellence in everything is everything
Excellence in everything is everything
Re: Related: Stop all programs and delete all on Sandbx exit
Auto-delete is already available for each sandbox, in Sandbox Settings. If you don't use any browser settings that will result in items being saved out of the sandbox, then everything will be deleted in the sandbox when the programs end.XCLN wrote:Is there a simple way to implement this feature? Basically to use Sandboxie as a safe browser with no memory after each Snadboxie exit, not each windows restart.
You might want to turn off Immediate Recovery so as not to be prompted when some file appears in one of the Quick Recovery folders, if you don't plan on saving anything out of the sandbox.
You could also delete all folders listed as Recovery Folders, if you don't want to be bothered with anything that might have been saved or downloaded into those folders.
If you start a sandboxed session by using your browser, and other programs are started that use the same sandbox, it's possible that one of those other programs might continue to run - preventing auto delete from initiating.
You can add those .exe programs to a list of Lingering Programs or you can set your browser's .exe program as a Leader Program, and ending it will end all other programs that are using that same sandbox.
All of the above are listed as settings under Sandbox Settings, for each sandbox.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Who is online
Users browsing this forum: No registered users and 0 guests