Tutorial Sandboxie Plus Quick Start.

5.00 star(s) 2 Votes

colobancuz

Active Member
Respected User
Aug 11, 2019
994
2,523
367
hey, first time using sandboxie and have a question, i selected run in the folder option unpacked a unity game in it and it still uses the save file from my appdata folder in my c drive? is that normal or should that be restricted some how?
This is completely normal, and that's the whole idea.
Programs in the sandbox use files from your disk as usual, but only for reading. As soon as a program tries to change a file on the disk, all changes will be made to a copy of the file in the sandbox, and the original will remain untouched. After you're done, you can choose which files to recover from the sandbox.
 

jems666

Active Member
Jun 22, 2022
980
1,180
267
This is completely normal, and that's the whole idea.
Programs in the sandbox use files from your disk as usual, but only for reading. As soon as a program tries to change a file on the disk, all changes will be made to a copy of the file in the sandbox, and the original will remain untouched. After you're done, you can choose which files to recover from the sandbox.
Oh ok I see my problem, so I did what you said and did the force program and created a folder to run my games in, figured that was the only sandbox folder then noticed it used the c:\sandbox\defaultbox,
would it be an issue just running games in that defaultbox and delete the forced program folder I created? or how do I move the defaultbox to be the folder I made?
 

gst314

Newbie
Aug 22, 2022
20
8
103
Might be a dumb question but if I decide to uninstall sandboxie later just uninstalling is enough or do I need to go somewhere to remove any residue of the program somewhere else?
 

colobancuz

Active Member
Respected User
Aug 11, 2019
994
2,523
367
Oh ok I see my problem, so I did what you said and did the force program and created a folder to run my games in, figured that was the only sandbox folder then noticed it used the c:\sandbox\defaultbox,
would it be an issue just running games in that defaultbox and delete the forced program folder I created? or how do I move the defaultbox to be the folder I made?
You seem to have misunderstood how the sandbox works and what a forced folder is, because they are different things.
A forced folder is simply a folder on your drive that you have marked, from which all programs are launched in the sandbox. This is for convenience and safety (so that you don't accidentally forget to launch something in the sandbox). The contents of this folder are not in the sandbox, and you can do whatever you want with them in the usual way. Except that everything you launch from this folder will be launched in the sandbox.
c:\sandbox\defaultbox is where the sandbox stores files that applications have modified (or created) while running in the sandbox. It does not contain a complete copy of your game/application, only certain files (such as saves). This folder has a specific structure that must be followed for it to work. are more details if you are interested. Running applications from this folder will NOT cause them to run in the sandbox. In general, if you do not understand it very well, it is better not to mess with this folder and work with the content inside the sandbox through the Sandboxie Plus interface.

As I already told you, there is no need to move your games and applications anywhere special to run them in the sandbox. You can run any application in the sandbox by simply selecting the appropriate menu item (right-click). The forced folder is only there so that you don't forget to do this.
It is better not to copy anything manually to c:\sandbox\defaultbox.

Might be a dumb question but if I decide to uninstall sandboxie later just uninstalling is enough or do I need to go somewhere to remove any residue of the program somewhere else?
In addition to Sandboxie Plus itself, you will need to delete the files stored in your sandbox, which is located by default at c:\sandbox. Keep in mind that all changes that programs attempt to make end up in this folder, including your saves. If you decide to uninstall Sandboxie Plus, you must first use Recovery to restore the files you need from the sandbox, and only then delete everything.
 
  • Like
Reactions: gst314 and jems666

delabeca49

Newbie
Nov 7, 2017
20
7
126
How is the performance when running RPGM games with MTool in sandboxie?
For me it completely kills the performance (reduces the FPS by around 90%)
I personally don't notice any performance drops. That is to say my PC specs is fairly decent (i3 12100F, 16GB RAM, RX 6600, SSD)
 

F1forhalp

MRP: BF1942 Merciless mod
Donor
Oct 28, 2019
2,451
2,150
447
How is the performance when running RPGM games with MTool in sandboxie?
For me it completely kills the performance (reduces the FPS by around 90%)
depends somewhat on system specs (beefy computer or not?) and more or less on the version of RPGM engine. i have no drop at all with old RPGM games in a box. the 'modern' RPGM platform is different (it's a browser displaying your game, more or less), what i've seen is the game not using graphics hardware on it's own, not using the hardware cache etc. no matter which kind of virtual environmant in use; there comes the big drop. you may have to go deeper into Sandboxie settings and find a way to have the game in question use that. should be covered somewhere in the walkthrough..?
 

jems666

Active Member
Jun 22, 2022
980
1,180
267
You seem to have misunderstood how the sandbox works and what a forced folder is, because they are different things.
A forced folder is simply a folder on your drive that you have marked, from which all programs are launched in the sandbox. This is for convenience and safety (so that you don't accidentally forget to launch something in the sandbox). The contents of this folder are not in the sandbox, and you can do whatever you want with them in the usual way. Except that everything you launch from this folder will be launched in the sandbox.
c:\sandbox\defaultbox is where the sandbox stores files that applications have modified (or created) while running in the sandbox. It does not contain a complete copy of your game/application, only certain files (such as saves). This folder has a specific structure that must be followed for it to work. are more details if you are interested. Running applications from this folder will NOT cause them to run in the sandbox. In general, if you do not understand it very well, it is better not to mess with this folder and work with the content inside the sandbox through the Sandboxie Plus interface.

As I already told you, there is no need to move your games and applications anywhere special to run them in the sandbox. You can run any application in the sandbox by simply selecting the appropriate menu item (right-click). The forced folder is only there so that you don't forget to do this.
It is better not to copy anything manually to c:\sandbox\defaultbox.


In addition to Sandboxie Plus itself, you will need to delete the files stored in your sandbox, which is located by default at c:\sandbox. Keep in mind that all changes that programs attempt to make end up in this folder, including your saves. If you decide to uninstall Sandboxie Plus, you must first use Recovery to restore the files you need from the sandbox, and only then delete everything.
Thanks, so in the end running a games exe via right click and run in sandbox and putting a game in a forced folder will have the same amount of 'protection'?
 

FallenLondon

Active Member
Aug 5, 2016
725
519
382
I want to move the default sandbox to another drive (it's currently at C:\Sandbox\etcetera). How do I do that?
 

JoshuaGraham00

New Member
Sep 3, 2025
6
2
3
Hey, i was following the guide to set this all up, thank you for that by the way, and when I got to the part about making it so that only administrator account could make changes I realized that box is not accessible for me. Would anyone know why this is?

Screenshot (26).png
 

hsehsing

Member
Jul 11, 2017
429
108
218
depends somewhat on system specs (beefy computer or not?) and more or less on the version of RPGM engine. i have no drop at all with old RPGM games in a box. the 'modern' RPGM platform is different (it's a browser displaying your game, more or less), what i've seen is the game not using graphics hardware on it's own, not using the hardware cache etc. no matter which kind of virtual environmant in use; there comes the big drop. you may have to go deeper into Sandboxie settings and find a way to have the game in question use that. should be covered somewhere in the walkthrough..?
I have a pretty beefy system but while I expect some performance drop, but not 90%+. And this is only with RPGM + MTool, nothing else has any noticeable performance drop
 
Last edited:
  • Thinking Face
Reactions: F1forhalp

colobancuz

Active Member
Respected User
Aug 11, 2019
994
2,523
367
I followed the guide and enabled everything without understanding the importance of setting up a password can you please explain it to me as I don't even know where to start with all of that, thank you bro you have been a big help
You are asking about the password request for changing Sandboxie settings or about the password and restricted Windows user rights? Both are optional.

The first is to protect against changes to the sandbox settings by malicious software. So far, no such cases have been reported, and I think it would be difficult for malware to do this from the sandbox without it. So it's up to you.

As for Windows users, this is a basic security precondition that should always be followed: your user should not have administrative rights and should have a strong password (which should also be changed periodically). If your user has administrative rights, the virus can do anything it wants on your system — for example, disable Defender or set itself to start automatically, after copying itself to the system folder to hide among the system files. It can also delete traces of its activity.

This does not directly apply to the sandbox—it is capable of blocking much of this, but additional protection would not be a bad idea, especially for what you run outside the sandbox. Personally, I highly recommend doing this, but it's up to you. If you're interested in how to do it, see here.

If a game asks me for internet access, is that really dangerous?
Almost all games based on the latest versions of the Renpy engine attempt to connect to the internet (I guess for Renpy Sync) immediately upon launch, and work perfectly without internet access. So, one attempt at launch is normal. You should pay attention to attempts to connect to the internet some time after launch or repeated attempts.
 
  • Like
Reactions: Insomnia_z

F1forhalp

MRP: BF1942 Merciless mod
Donor
Oct 28, 2019
2,451
2,150
447
I have a pretty beefy system but while I expect some performance drop, but not 90%+. And this is only with RPGM + MTool, nothing else has any noticeable performance drop
hmm there are some settings that make Sandboxie put through system calls for graphics, so a boxed game could access the graphics hardware.. also there are some arguments you could add into the package.json or index.html to enforce a few things for latest RPGM platformed games, here goes:
Code:
{
    "name": "",
    "main": "www/index.html",
    "chromium-args": "--force-color-profile=srgb --ignore-gpu-blacklist --ignore-gpu-blocklist --enable-gpu-rasterization --enable-gpu-memory-buffer-video-frames --enable-native-gpu-memory-buffers --enable-zero-copy --enable-gpu-async-worker-context",
    "js-flags": "--expose-gc",
    "window": {
        "title": "",
        "toolbar": false,
        "width": 816,
        "height": 624,
        "icon": "www/icon/icon.png"
    }
}
also found another argument to force the game to actively check out the presence of a hardware GPU:

Code:
    "main": "www/index.html",  (change this into)

    "main": "chrome://gpu",
stern warning! this latter code line should be done first, just once, and must be changed back, before inserting all the other args.
some of those may not work, the result varies, alot.
i shamelessly stole these code lines from some help forum at the RPGM board; there seems to be a permanent issue with fps drops with this 'modern' RPGM platform, ever since the devs moved from their old engine to chrome. a browser type engine seems to not use graphics cache when run boxed, there's the fps drop on my own computer.
 
  • Like
Reactions: colobancuz

hsehsing

Member
Jul 11, 2017
429
108
218
hmm there are some settings that make Sandboxie put through system calls for graphics, so a boxed game could access the graphics hardware.. also there are some arguments you could add into the package.json or index.html to enforce a few things for latest RPGM platformed games, here goes:
Code:
{
    "name": "",
    "main": "www/index.html",
    "chromium-args": "--force-color-profile=srgb --ignore-gpu-blacklist --ignore-gpu-blocklist --enable-gpu-rasterization --enable-gpu-memory-buffer-video-frames --enable-native-gpu-memory-buffers --enable-zero-copy --enable-gpu-async-worker-context",
    "js-flags": "--expose-gc",
    "window": {
        "title": "",
        "toolbar": false,
        "width": 816,
        "height": 624,
        "icon": "www/icon/icon.png"
    }
}
also found another argument to force the game to actively check out the presence of a hardware GPU:

Code:
    "main": "www/index.html",  (change this into)

    "main": "chrome://gpu",
stern warning! this latter code line should be done first, just once, and must be changed back, before inserting all the other args.
some of those may not work, the result varies, alot.
i shamelessly stole these code lines from some help forum at the RPGM board; there seems to be a permanent issue with fps drops with this 'modern' RPGM platform, ever since the devs moved from their old engine to chrome. a browser type engine seems to not use graphics cache when run boxed, there's the fps drop on my own computer.
Thanks
Will give this a try
 
  • Like
Reactions: F1forhalp

RackUser

Newbie
Aug 21, 2023
48
34
102
You are asking about the password request for changing Sandboxie settings or about the password and restricted Windows user rights? Both are optional.

The first is to protect against changes to the sandbox settings by malicious software. So far, no such cases have been reported, and I think it would be difficult for malware to do this from the sandbox without it. So it's up to you.

As for Windows users, this is a basic security precondition that should always be followed: your user should not have administrative rights and should have a strong password (which should also be changed periodically). If your user has administrative rights, the virus can do anything it wants on your system — for example, disable Defender or set itself to start automatically, after copying itself to the system folder to hide among the system files. It can also delete traces of its activity.

This does not directly apply to the sandbox—it is capable of blocking much of this, but additional protection would not be a bad idea, especially for what you run outside the sandbox. Personally, I highly recommend doing this, but it's up to you. If you're interested in how to do it, see here.


Almost all games based on the latest versions of the Renpy engine attempt to connect to the internet (I guess for Renpy Sync) immediately upon launch, and work perfectly without internet access. So, one attempt at launch is normal. You should pay attention to attempts to connect to the internet some time after launch or repeated attempts.
You are asking about the password request for changing Sandboxie settings or about the password and restricted Windows user rights? Both are optional.

The first is to protect against changes to the sandbox settings by malicious software. So far, no such cases have been reported, and I think it would be difficult for malware to do this from the sandbox without it. So it's up to you.

As for Windows users, this is a basic security precondition that should always be followed: your user should not have administrative rights and should have a strong password (which should also be changed periodically). If your user has administrative rights, the virus can do anything it wants on your system — for example, disable Defender or set itself to start automatically, after copying itself to the system folder to hide among the system files. It can also delete traces of its activity.

This does not directly apply to the sandbox—it is capable of blocking much of this, but additional protection would not be a bad idea, especially for what you run outside the sandbox. Personally, I highly recommend doing this, but it's up to you. If you're interested in how to do it, see here.


Almost all games based on the latest versions of the Renpy engine attempt to connect to the internet (I guess for Renpy Sync) immediately upon launch, and work perfectly without internet access. So, one attempt at launch is normal. You should pay attention to attempts to connect to the internet some time after launch or repeated attempts.
I mean on how do I set one, I was following the RPGM solution and when I was trying to make the changes it asked for the sandboxie password. I never set up a password and don't know how to go about it. I followed all of the instructions hopefully I didn't miss something and locked myself out somehow
 
5.00 star(s) 2 Votes