![]() |
| Only Defaultbox works (even though it thinks otherwise) |
|
NewToSandboxing
Guest
|
Hello, I just wanted to correct myself. It turns out I was only trying using the shell extension's "run sandboxed" option. I had assumed switching Sandboxes and doing that would work but that always goes to DefaultBox. It does however work when you don't use the shell extension.
|
||||||||||||
|
|
|||||||||||||
|
SnDPhoenix
|
Yeah, this has been known for some time now, no matter how many sandboxes you make, how you configure them, how you use them, etc.. the "Run Sandboxed" shell extension always points to DefaultBox. Maybe in the future tzuk will fix that issue, maybe not, who knows. |
||||||||||||||
|
_________________ Windows 7 SP1 x64, Sandboxie v3.70 x64 with Experimental Protection, GnuPG, OTR (Off-The-Record), Sticky Password, My Brain. |
|||||||||||||||
|
wraithdu
|
Doesn't the shell shortcut just run "Start.exe" with the program name as parameter? If that's the case you can edit the shortcut in the registry and add the /box: parameter to start in the sandbox of your choice. You can't change it on the fly though. But you could create additional shortcuts for each sandbox you use frequently.
Or, you could use RDTools to make as many 'Send To' shortcuts as you want, each with a different /box: parameter. |
||||||||||||
|
|
|||||||||||||
|
tzuk
|
You can also use "/box:current" parameter to Start.exe, which runs the program in the sandbox last selected in Sandboxie Control.
More here: http://www.sandboxie.com/phpbb/viewtopic.php?t=1605 |
||||||||||||
|
_________________ tzuk |
|||||||||||||
| excellent! |
|
NewToSandboxing
Guest
|
Ok great, thanks for the information!
|
||||||||||||
|
|
|||||||||||||
|
Rasheed187
|
Actually, I might be a bit slow, but I still have no clue how to install tools into different sandboxes. I have created two other sandboxes, but everything ends up in the defaultbox anyway. What am I doing wrong, and where can I find the folder of the other sandboxes?
|
||||||||||||
|
|
|||||||||||||
|
Rasheed187
|
Nobody can help me with this? I have made two other sandboxes named "Test1" and "Test2", but when I switch to them nothing happens.
|
||||||||||||
|
|
|||||||||||||
|
Paul_K
|
C:\Documents and Settings\(your logon name)\Application Data\Sandbox Under the Sandbox folder, you should have sub-folders for: (see edit, below*) DefaultBox Test1 Test2 Assuming, of course, that you didn't delete the sandbox contents for any of these. If you do delete the contents of any of those sandboxes, the folder is deleted too - only to be recreated by Sandboxie the next time you run something sandboxed in that particular sandbox. *Edit* Actually I had to come back and clarify something about the new sandboxes. Maybe the reason you can't find them is that they don't actually exist until you run something sandboxed in them. When you switch to a sandbox, and run something sandboxed in it, Sandboxie creates the sandbox folder. |
||||||||||||||
|
Last edited by Paul_K on Sun Aug 05, 2007 1:01 am; edited 1 time in total _________________ XP Pro SP3 |
|||||||||||||||
|
Paul_K
|
After you make the new sandboxes, do you use Sandboxie's "Switch to Sandbox", and then use the "Configuration > Sandbox Settings " to configure each of the new sandboxes?
Each box can have it's own File Copy Options, Automatic Cleanup Options, Recover Folder option, etc. |
||||||||||||
|
|
|||||||||||||
|
Rasheed187
|
Thanks for the help, I´m pretty sure that something is wrong with v2.85 (at least on my system), like I said before, eventhough I switch to the other sandbox (via tray) everything shows up in the defaultbox. When I click on "show sandbox contents", SBIE is telling me it´s empty.
This is how my config file looks:
|
||||||||||||||
|
|
|||||||||||||||
|
Paul_K
|
Nothing wrong jumps out to me from your configuration file, but you should define at least one Recover Folder in each of the Testx sandboxes if you are going to test them - like is already done in your DefaultBox. If you run a program in one of those Testx sandboxes, and then save something to the Recover Folder, Sandboxie should prompt you to save the file when you select Delete Sandbox Contents, or Recover Files.
---- Double-click the tray icon and then View > Switch to Sandbox > and click Test 1. Then click Configuration > Sandbox Settings > Set Automatic Cleanup Options, and select the box for My Documents. Click OK, then click Configuration > Reload Configuration and close the Sandboxie window. (This will add RecoverFolder=%Personal% to the configuration file for Test1 sandbox. As a shortcut, you could just edit the configuration file yourself, but be sure to Reload Configuration after the edit) While still selected for Test1 sandbox, right-click the tray icon and choose Run Sandboxed > Any Program. In the dialog box that opens type notepad and click OK Type some text into notepad and then save the document to your My Documents folder. Close notepad. Right-click the tray icon for Control, and choose Contents of Sandbox > Recover Files. Your saved text message should be there, still in the sandbox. Or, if you were to select Contents of Sandbox > Delete Contents, Sandboxie should prompt you that there is a file that can be recovered, before it deletes the sandbox. There is also an option in configuration to Recover files immediately, if you save one to your Recover Folder. |
||||||||||||
|
|
|||||||||||||
|
Rasheed187
|
Hi,
Now I know it for sure, I must be missing something because I get the exact same behavior on my virtual machine with the latest SBIE version. I don´t get it. What I do is: 1 I create a new sandbox named "Test1". 2 I switch to the sandbox via the trayicon. 3 I choose "Edit configuration" and after that "Reload configuration", without editing a thing. 4 I sandbox (install) some app, but it still shows up in the defaultbox, and the "Test1" sandbox stays empty. This is how my config file looks:
|
||||||||||||||
|
|
|||||||||||||||
|
Paul_K
|
A lot of this is a repeat, but since I don't see a RecoverFolder= statement in your configuration for Test1:
If you click on Edit Configuration, and then add (as shown in red) [Test1] Enabled=yes CopyLimitKb=32768 RecoverFolder=%Personal% BlockDrivers=y BlockFakeInput=y BlockWinHooks=y BoxNameTitle=n ---- Then File > Save, File > Exit Click OK on the dialog box, and then click on Reload Configuration Right-click the Sandboxie Tray icon, Switch to Sandbox > click on Test1 Then right-click again, Run Sandboxed > Any Program ... Type in the box that opens: notepad and click OK Use Notepad to create a text file and then save it to your My Documents folder. Close Notepad, and check for the file you saved by right-clicking the tray icon, Contents of Sandbox: Then, either use Explore Contents, or just click Recover Files and Sandboxie should find it in the Test1 sandboxed My Documents folder. If the text file isn't there, or somehow wound-up in DefaultBox, then YES you have a problem! |
||||||||||||
|
|
|||||||||||||
|
dlguild
|
Rasheed187, what you are experiencing may be normal behavior for Sandboxie. On my system, if I right click on and executable file or shortcut and select 'Run Sandboxed' it always runs in the Default Box. If, on the other hand, you right click on the Sandboxie tray icon, select 'Run Sandboxed' and make a selection from there, it will run in the 'current' sandbox. I have noticed this behavior even if you have set up a particular application forced to a specific sandbox.
For example, on my system, I have a special sandbox set up just to run FireFox. If I double click my FireFox desktop icon, or double click firefox.exe directly from the Program Files directory, it will run in the FireFox sandbox I have set up. However, if I right click on either my desktop icon or the firefox.exe file and select 'Run Sandboxed' it will run in the Default Box. I don't know if this can be considered a 'bug' in the program, but it had me confused until I caught on to what was happening. Does this parallel what you are experiencing? I noticed you have not forced any programs to specific sandboxes. |
||||||||||||
|
_________________ Dan |
|||||||||||||
| Only Defaultbox works (even though it thinks otherwise) |
|
||
|


Use the RSS feed to watch this topic for replies