Instructions for launching Sandboxie Plus, especially portable mode #1752
Replies: 73 comments 1 reply
-
Sandboxie-Plus is started using the SandMan.exe (Sandboxie Manager) On first start the tool will unpack the driver if its not already unpacked and install it, for the later operation it will request admin privileges. To make it behave portable you need to create a Sandboxie-Plus.ini as well as a Sandboxie.ini in the application root folder. When the tool detects that is running in fully portable mode on exit it will always uninstall the driver. The legacy UI SbieCtrl.exe can be used once the driver is loaded but it does not have the functionality to Install/Uninstall/Unload) the driver for that SandMan.exe or kmdutil.exe must be used. I would say if you want to use it portable only use SandMan.exe |
Beta Was this translation helpful? Give feedback.
-
Thanks so much David! Before you had time to write your response, I did everything you said except creating Sandboxie.ini in the application root folder. I did create Sanboxie-Plus.ini. I'll run through everything to see what changed, but it never hurts to ask: What do you think got changed in the system by not creating Sandboxie.ini first? |
Beta Was this translation helpful? Give feedback.
-
A Sandboxie.ini was created under c:\windows you can move it or delete it, that's all. |
Beta Was this translation helpful? Give feedback.
-
Thank you. That's all I have found so far. Almost done checking for anything else. Would you like me to update the readme for you? |
Beta Was this translation helpful? Give feedback.
-
Yes please that would be helpfull |
Beta Was this translation helpful? Give feedback.
-
I will work on it for you. Would you also like me to include a link to your Patreon in it? BTW, I'm a little embarrassed by this, but I was computing without any sleep, and I accidentally ran Also, using a non-sandboxed file manager, I was looking through the sandbox folder to learn more about how Sandboxie is working , and my fatigued fingers, eyes, and brain accidentally launched a shortcut in there that pointed to an executable in a subfolder of the sandbox. Did I run that shortcut and the executable outside of the sandbox? Note to self: Sleep is important. Very important. |
Beta Was this translation helpful? Give feedback.
-
yes please include a link kmdutil.exe installs/uninstalls and starts/stops the SbieDrv and SbieSvc without parameters it does not do anything except complaining. When the SbieDrv is loaded starting a exe inside a sandbox location will force it to run sandboxes. |
Beta Was this translation helpful? Give feedback.
-
Will do.
Thank you.
That's impressive. So if SandMan is running without error, and you launch Windows Explorer outside of SandMan, and then you use Windows Explorer (which is not sandboxed)to launch any exe inside the sandbox folder, it will still get run inside the sandbox. Do I have it correct? |
Beta Was this translation helpful? Give feedback.
-
Only the driver + service need to be running is the tool is not being executed in portable mode, you don't even have to have SandMan.exe running Just keep in mind that in fully portable mode sandman on close will stop and remove the driver + service, than it wont work. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am from Brazil. Thanks for your dev efforts. The "SBIE2303 Could not hook CoGetObject (33, 1655) Suggestion: How about making it possible for users to set a global hotkey combo for cleaning any given Sandbox contents? It's a real pain having to open the program main window for achieving this. Thanks in advance for your attention. Regards. |
Beta Was this translation helpful? Give feedback.
-
@MCHALMEI Thank you for your report. May I recommend copy and pasting what you wrote to a new issue, and then deleting your text from this issue? |
Beta Was this translation helpful? Give feedback.
-
@DavidXanatos Thank you for the details. There were a couple typos in what you wrote, but I think I understand what you are conveying. Here is what I think you meant to write, in case others have trouble understanding it:
Did I "translate" your words accurately? |
Beta Was this translation helpful? Give feedback.
-
By executing Here is screenshot after uninstalling driver and installing it again (without restarting): |
Beta Was this translation helpful? Give feedback.
-
If the sbie driver is unloaded and you are running as administrator no reboot is required. a reboot needed message usually indicated that the sbie driver wasnt unloaded. |
Beta Was this translation helpful? Give feedback.
-
Can't start the driver in the latest version (see screenshot). This is the error I get: Both .ini's are in the root folder. I manually installed the service and driver via the maintenance menu, then clicked on start driver. |
Beta Was this translation helpful? Give feedback.
-
@STaRDoGG Let me know if it works for you. If it doesn't work either, you might need to make a full backup of your .ini files in order to uninstall Plus/restart Windows/reinstall Plus in this order. You can find further details about it: #755 (comment) |
Beta Was this translation helpful? Give feedback.
-
Could you open a new issue with detailed information from here? Just replace the information in the preset text with yours. |
Beta Was this translation helpful? Give feedback.
-
Are there any updated instructions for "installing" the portable version? BTW, want to upgrade a system with a very old version of Sandboxie-Plus portable (SbiePlus64-v0.3.5). |
Beta Was this translation helpful? Give feedback.
-
There is a portable option that allows to extract the files from the Plus Installer itself, just run it. |
Beta Was this translation helpful? Give feedback.
-
@isaak654 Wow, nice and simple now. Thank you! Just run the extractor (installer) and then run BTW, anything special to get rid of the portable version already "installed" (Sandboxie-Plus portable (SbiePlus64-v0.3.5))? Just delete it's folder? |
Beta Was this translation helpful? Give feedback.
-
Before deleting the portable folder:
|
Beta Was this translation helpful? Give feedback.
-
@isaak654 Thanks so much. For the portable version, the SbieSvc and SbieDrv will only be running if Sandman was run since the last reboot, correct? |
Beta Was this translation helpful? Give feedback.
-
Sandboxie Service is set to run automatically at system startup, even if you didn't open Sandman. |
Beta Was this translation helpful? Give feedback.
-
@isaak654 Hmmm... Is the service somehow hidden from the Windows list of services? I'm not seeing it listed in the list of Windows services at all. |
Beta Was this translation helpful? Give feedback.
-
@isaak654 Thank you. Not sure why I'm not seeing it listed. Since you're seeing it there, is it also listed in the system's registry? |
Beta Was this translation helpful? Give feedback.
-
I think you already received your answer here: #62 (comment) Sandman allows to stop/delete SbieSvc and SbieDrv at your convenience, probably you just forgot it. |
Beta Was this translation helpful? Give feedback.
-
@isaak654 Thank you again for all your help. |
Beta Was this translation helpful? Give feedback.
-
I tested v1.3.2 on Win7x64 and all I had to do to setup the portable was:
You no longer need to manually create *.INI files. Sandboxie detects it is running portable and creates those itself in the correct portable folder. To run an app sandboxed, you can:
All of the above options, even the shell context menu, worked fine in portable mode. Since I was doing this on Win7x64 I can confirm that none of these steps from @strx5 were necessary to get it to work and I experienced no errors whatsoever, so perhaps these were tied to an earlier version. Thought I would post this update since I couldn't find anything in the readme/documentations/etc. about how to install, run, or use Sandboxie in portable mode. And this thread is mostly old advice and no-longer-existing issues. |
Beta Was this translation helpful? Give feedback.
-
Thank you for creating this fork and for all your hard work.
I'm trying to understand the details of how to actually use this tool, especially in portable mode.
After compiling it yourself (or extracting files from the release archive) into a folder, you will have 11 executables. Which one to use to launch Sandboxie Plus?
Also, to make it portable, is it as simple as creating an empty
Sandboxie-Plus.ini
in Sanboxie Plus's folder?From looking at the code, it seems like there are 2 UIs provided. Are they both compatible with the portable mode?
I can update the readme with a summary of answers provided here.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions