Page 1 of 1
How to move 1 (or more) sanboxed folder to another drive?
Posted: Fri Apr 17, 2015 10:52 pm
by Username3
My sanboxed firefox isn't fast enough at youtube because of cluttered disk D. (I can't defragment it.).
And I can't move an entire sandbox because it is too big for fast disk.
How to move only 1 (or more) sanboxed folder to another drive?
Re: How to move 1 (or more) sanboxed folder to another drive
Posted: Tue Apr 21, 2015 5:18 pm
by btm
If there is nothing you want to save in the box, it'd be rather easy. Open Sandboxie Control and select the box you want to change locations for. Then select 'Sandbox' from the menu followed by 'Set Container Folder' and change it to a different drive. Say it shows "D:\Sandbox\%USER%\%SANDBOX%" currently and you want to move it to the E:\ Simply change the D to an E (E:\Sandbox\%USER%\%SANDBOX%) and sandboxie will create a new folder next time you launch the app.
----------------------------------------------------------------------------------------------------------------
If you mean moving the box while saving it's contents...
There is no automatic way to do what you want and it would have to be done manually.
If you want to try the manual method I'd suggest you 'copy' the box you want to the other drive. I'd also make a copy of your current c:\windows\sandboxie.ini so you can restore it if you happen to mess anything up and can't fix it manually. After it is working as expected you can delete the original box.
Let's start with an example. Say the sandbox you want to move is located at "D:\Sandbox\UserName3\MyBox"
This means that likely the ini shows something like "FileRootPath=D:\Sandbox\%USER%\%SANDBOX%"
Once you know where you want to put it, create a new 'Sandbox' directory. You can name it anything as long as the path is changed appropriately as well.
So let's say you want to put it on the E:\ create a new folder and rename it to whatever, for simplicity I'll continue with the 'Sandbox' and you should have a "E:\Sandbox"
Navigate into that folder and create a new folder and rename it to your user name. Eg if your user name in windows is 'Username3' you'll now have a path of "E:\Sandbox\Username3"
Copy the 'MyBox' (whichever one it is you want to move) folder from the original location inside this "E:\Sandbox\Username3"
Once that is done you can use the GUI to change the path. Open Sandboxie Control and select the box you just copied. Then select 'Sandbox' from the menu followed by 'Set Container Folder' and change it to reflect the new path. For this example it would be "E:\Sandbox\%USER%\%SANDBOX%"
Then try to launch the app and see if it works as expected. (Note that if you have installed an application inside the sandbox, the shortcuts on your system may need to be updated as well) [CLOSE after]
If it doesn't work, check the path of both the real folders and the 'set container folder' again to ensure both are correct and match.
If it does work, go to the original "D:\Sandbox\UserName3\MyBox" and rename it. [CLOSE after]
Re-launch the application MANUALLY from its new location to ensure it was using the new path. [CLOSE after]
If it still works delete the original folder then Launch the app yet again to ensure it's still working. [CLOSE after]
If it DOESN'T work this time then restore the folder from the bin and recheck the paths.....
If it still works as expected feel free to empty the recycle bin and free up some space on D:\ ; otherwise restore it and check paths again....etc....
I apologize for the repetitive instructions but as this was your first post I have no clue as to how adept you might be with windows and decided to err on the edge of caution .