Tutorial Sandboxie Plus Quick Start.

5.00 star(s) 2 Votes

colobancuz

Active Member
Respected User
Aug 11, 2019
994
2,523
367
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
Ah, I see. You had to enter the password when you checked that box and clicked Apply (or OK). The password you entered is valid for a certain period of time, and if you close the main window and then reopen it and go to the settings, you will have to enter the same password that you set the first time when applying the new settings.

In any case, if you have blocked changes to Sandboxie settings (forgot your password), try this:
2025-09-09 08_49_28-Sandboxie-Plus v1.16.2.png
Then open the settings file C:\Windows\Snadboxie.ini in a text editor (the editor must be run as an administrator) and delete the line with EditPassword=<your password hash>. Save the changes and start the Sandboxie service in the same menu: Maintenance - Connect.
This will reset the password and disable the password prompt.
 

RackUser

Newbie
Aug 21, 2023
48
34
102
Ah, I see. You had to enter the password when you checked that box and clicked Apply (or OK). The password you entered is valid for a certain period of time, and if you close the main window and then reopen it and go to the settings, you will have to enter the same password that you set the first time when applying the new settings.

In any case, if you have blocked changes to Sandboxie settings (forgot your password), try this:
View attachment 5231833
Then open the settings file C:\Windows\Snadboxie.ini in a text editor (the editor must be run as an administrator) and delete the line with EditPassword=<your password hash>. Save the changes and start the Sandboxie service in the same menu: Maintenance - Connect.
This will reset the password and disable the password prompt.
you mean when I was doing the RPGM solution and the password prompt pop'ed up? if so Im kinda stupid then

Anyways when I tried it again it said incorrect password, I've done what you have said and made the changes, but now how do I redo the password? as it didnt give me the prompt. Many thx
 

Finuee

Gorehound Gal
Game Developer
Sep 14, 2022
1,093
7,052
589
you mean when I was doing the RPGM solution and the password prompt pop'ed up? if so Im kinda stupid then

Anyways when I tried it again it said incorrect password, I've done what you have said and made the changes, but now how do I redo the password? as it didnt give me the prompt. Many thx
You have to activate the requirement for a password again, as you essentially turned it off when you removed that line from the ini file.
 
  • Like
Reactions: colobancuz

WinkJeck

Newbie
Dec 7, 2017
53
2
212
one dump quesion: when i use my kaspersky premium to scan it before play without sandbox method. can it detect the virus?
 

colobancuz

Active Member
Respected User
Aug 11, 2019
994
2,523
367
one dump quesion: when i use my kaspersky premium to scan it before play without sandbox method. can it detect the virus?
Antivirus software can only detect a virus if it is present among the game files and is not encrypted. In recent attacks on games, there is no virus itself, only a small piece of code (in Python or JavaScript) that downloads the virus from the internet only after the game is launched. This downloader code does not stand out among the game code, and antivirus simply do not see it, so they are useless for detecting this type of attack.
 

Boromir.

Member
Jul 2, 2021
100
110
154
Can I disable that annoying Sandbox Protected Browser thing? It always opens up if I accidentally click to a patreon link or something in the game. Also how do I update Sandboxie Plus? Can I just start the setup of new update without doing anything specific?
 

colobancuz

Active Member
Respected User
Aug 11, 2019
994
2,523
367
Can I disable that annoying Sandbox Protected Browser thing? It always opens up if I accidentally click to a patreon link or something in the game.
tick the box Disable SBIE messages popups
изображение_2025-09-11_200312208.png

Also how do I update Sandboxie Plus? Can I just start the setup of new update without doing anything specific?
Yes, just run the installation of the new version, and the installer will prompt you to update the current installation.
 
  • Like
Reactions: Boromir.

colobancuz

Active Member
Respected User
Aug 11, 2019
994
2,523
367
Securing sensitive data in a sandbox

This guide is aimed at more advanced users who are able to understand Sandboxie settings and perform the necessary testing on their own, and is not necessarily required. It is designed for those who want to strengthen sandbox protection as a starting point for their own research.

Blocking the Internet in a sandbox prevents not only infection (virus downloads) but also the transmission of stolen information in most cases. However, a sandbox does not essentially prevent the collection and accumulation of sensitive information within the sandbox. Therefore, there is a non-zero probability that the collected information will still be sent when you open Internet access in the sandbox for any reason (even for a trusted software).

I advise cleaning the sandbox after each session (you can set it up to happen automatically) so that viruses cannot take a foothold (even inside the sandbox) and to delete any information that has been collected, if any.
In addition to this, you can restrict what the virus can collect inside the sandbox with the relevant settings.

First, ensure that both of these options are enabled:
2025-09-12 09_05_17-Clipboard.png
This will prevent data from being retrieved from the memory of a running process (e.g. your browser) outside the sandbox (or in another sandbox).

You can restrict access to files here:
2025-09-12 10_05_29-Clipboard.png
This window lists all the rules that will be used to filter access to files. We are mainly interested in the Access field. Specifically, we are interested in one of its values: Close (for detailed descriptions of access types, see the Sandboxie .
This type of access prohibits both reading and writing to the file, which is what we need. Unfortunately, it has the highest priority over all other types of access, so it is not possible to set, for example, Close for the entire disk and then restore Normal access for the folders we need (at least I couldn't do it, but if you can, be sure to write about it). Therefore, you will have to list all the folders to which access must be denied.

You can do this in this window using the ‘Add File/Folder’ button (or Browse for ...), but for a large number of folders this can be difficult, so you can do it by editing the ini file:
2025-09-12 11_44_29-Clipboard.png
Simply copy the line with "ClosedFilePath=" and enter the path you need manually. When you are done, do not forget to click "Save".

Now let's move on to the main question: what to block.
It is difficult to block everything and leave only what is necessary, if only because it is not entirely clear what should be left. Blocking access to the Windows folder will make it impossible to run games (or anything else, for that matter). Furthermore, not all folders contain information that is worth hiding.

In general, I suggest approaching it from a different angle and only restricting access to what really needs to be hidden — anything that contains your personal data, logins, passwords, etc. This includes browsers, password managers, cryptocurrency wallets, and various applications (including games) with online accounts (Steam, Spotify, etc.).

You need to make a list of such applications installed on your computer and determine where each one stores its credentials and cache.
Usually, all this is located in \AppData\Local\[application] and \AppData\Roaming\[application] (sometimes also in \AppData\LocalLow\[application]). But there may be other folders — be sure to find out for your applications.

It would also be a good idea to block the application installation folder (in C:\Program Files\ or C:\Program Files (x86)). The good news is that these folders (plus C:\ProgramData\) can be blocked entirely without any problems — games continue to work (at least the ones I ran).

For Renpy games, I also completely blocked \AppData\Local\ and \AppData\LocalLow\ - Renpy doesn't store anything there and works fine without them. If you block \AppData\Roaming\, it starts and works, but saves and settings are stored in the game folder. In addition, I noticed an unexplained drop in performance.
For games on other engines (Unity, RPGM), this may not work, and at the very least, they will refuse to save at all. So check how it works for you and, if necessary, reduce the restrictions.
For Steam, you can also block the SteamApps folder, as games may also store some information.

If you have OneDrive or other folders synchronised with cloud storage, it is highly likely that you store sensitive information there, so you should also block access to them.
It is safe (from the point of view of games running in the sandbox) to block access to the sandbox files (C:\Sandbox\) and the global settings file (C:\Windows\Sandboxie.ini).

You can add any other folders at your choice, but make sure to add them one by one and check your games after each addition so that you don't have to guess what exactly is preventing the game from launching in case of problems.

If you have more than one sandbox (and I recommend creating different sandboxes for different types of games/engines), you will need to repeat this configuration for all other sandboxes.

Or use templates
Templates are a very useful tool for quickly changing settings for a group of sandboxes. In addition, Sandboxie Plus comes with useful templates (mainly for restoring the functionality of specific applications in the sandbox, but there are also several that enhance security; check this topic yourself).

Custom (local) templates are created here:
2025-09-12 15_59_42-Clipboard.png
Click ‘Add Template’ - you will be asked for a name (for example, ‘ProtectData’) and then a window similar to the sandbox settings will open:
2025-09-12 16_02_09-Sandboxie Plus - 'ProtectData' Options.png
Add all your folders and files to be blocked here, then save (by clicking ‘Ok’).
Now go to the sandbox settings and enable the use of your template:
2025-09-12 16_03_30-Clipboard.png
After that, if you change the template, it will immediately be applied to all sandboxes that have this template enabled.

That's all there is to it.
As you may have noticed, I only talked about files and folders here, but Sandboxie allows you to control access not only to them, but also to the registry, IPC, etc. Unfortunately, I didn't have enough time to test blocking for the registry (mainly because I don't really know what to block, and when I blocked entire branches, my games stopped working properly). Therefore, I leave this to your discretion, and if you conduct successful testing, be sure to write in the thread what you blocked and for which engines.
 

colobancuz

Active Member
Respected User
Aug 11, 2019
994
2,523
367


Two, sometimes even three CMD processes briefly appear when launching the game, but they close right away once the game starts.
I also tried launching Bad Bobby Saga 1.1.0 in a sandbox. Even though I was already playing it outside the sandbox, it showed me the same CMD prompts. However, I don't experience this with any other games that I tried besides these two.
Incidentally, I noticed the same behaviour in some Renpy games - at the very beginning of launch, two cmd processes appear for a very short time and then disappear. This did not happen in all games, so I delved into testing and found out that all versions of the Renpy engine starting from 8.0.0 exhibit this behaviour. This was not observed in versions prior to this one.

So we can safely say that this behaviour is normal. And thank you for noticing, I hadn't paid attention to it.
 

neronwtf

Active Member
Nov 12, 2019
999
895
169
I'm trying to understand if this traceback is because or related to sanbdboxie or not. No one had the same problem on the game thread (Boundaries of morality). The game get completely stuck and the ignore button don't solve the error.
Someone can help me?

You don't have permission to view the spoiler content. Log in or register now.
 
  • Thinking Face
Reactions: F1forhalp

F1forhalp

MRP: BF1942 Merciless mod
Donor
Oct 28, 2019
2,451
2,150
447
I'm trying to understand if this traceback is because or related to sanbdboxie or not. No one had the same problem on the game thread (Boundaries of morality). The game get completely stuck and the ignore button don't solve the error.
Someone can help me?

You don't have permission to view the spoiler content. Log in or register now.
that.. does look like a problem within the game, actually. there seems to be a typo or sorts, by the looks it's a wrongly assigned name (name 'poss_5') or a missing reference; it seems Ren'Py itself found a similiar expression and suggests that (poss_1). i don't think Sandboxie would alter the code of a file inside the box like that.

maybe you try and find this text part in the file, and change it into the suggested one?
make sure the game is closed.
file sandbox.rpy, open with notepad would likely do it (or notepad+ or any other good text editor), find the word poss_5 and change it to poss_1
save (overwrite when asked) and exit
start the game and see if the error remains.
it's what i would usually try. sometimes it helps, in case it's just a typo, or if it's a missing file, a different one might be used. chance is 50/50 that it fixes the problem.
 
  • Like
Reactions: neronwtf

neronwtf

Active Member
Nov 12, 2019
999
895
169
that.. does look like a problem within the game, actually. there seems to be a typo or sorts, by the looks it's a wrongly assigned name (name 'poss_5') or a missing reference; it seems Ren'Py itself found a similiar expression and suggests that (poss_1). i don't think Sandboxie would alter the code of a file inside the box like that.

maybe you try and find this text part in the file, and change it into the suggested one?
make sure the game is closed.
file sandbox.rpy, open with notepad would likely do it (or notepad+ or any other good text editor), find the word poss_5 and change it to poss_1
save (overwrite when asked) and exit
start the game and see if the error remains.
it's what i would usually try. sometimes it helps, in case it's just a typo, or if it's a missing file, a different one might be used. chance is 50/50 that it fixes the problem.
Thanks for the advice. You're right.

I finally took the easiest path and restarted the game from scratch. So far, I could avoid the error. So I guess the dev changed the code between the last update I played and the one I'm playing right now. Maybe I missed the notification of restarting in the thread (not indicated in the OP such as other games).
 
  • Haha
Reactions: F1forhalp

F1forhalp

MRP: BF1942 Merciless mod
Donor
Oct 28, 2019
2,451
2,150
447
Thanks for the advice. You're right.

I finally took the easiest path and restarted the game from scratch. So far, I could avoid the error. So I guess the dev changed the code between the last update I played and the one I'm playing right now. Maybe I missed the notification of restarting in the thread (not indicated in the OP such as other games).
missed the memo huh?

that happens :D
 
  • Like
Reactions: neronwtf

neronwtf

Active Member
Nov 12, 2019
999
895
169
missed the memo huh?

that happens :D
I've just rechecked the thread and a poor fellow player had the same problem some time ago, but no one came to his rescue. Guess I must improve my search skills :p (even if in this case it wouldn't have change much at least I could have confirmed it was a game problem).
 
  • Like
Reactions: F1forhalp

trumpthatbitch

Well-Known Member
Jun 23, 2017
1,280
2,074
489
Incidentally, I noticed the same behaviour in some Renpy games - at the very beginning of launch, two cmd processes appear for a very short time and then disappear. This did not happen in all games, so I delved into testing and found out that all versions of the Renpy engine starting from 8.0.0 exhibit this behaviour. This was not observed in versions prior to this one.

So we can safely say that this behaviour is normal. And thank you for noticing, I hadn't paid attention to it.
I noticed it too. Initially I reported it as a virus on a game but deleted the report when I saw the other games also exhibited similar behavior. So I investigated further; it seems to run the Windows version command. Maybe it runs a different version of Ren'Py depending on the version of Windows.
 

Finuee

Gorehound Gal
Game Developer
Sep 14, 2022
1,093
7,052
589
I noticed it too. Initially I reported it as a virus on a game but deleted the report when I saw the other games also exhibited similar behavior. So I investigated further; it seems to run the Windows version command. Maybe it runs a different version of Ren'Py depending on the version of Windows.
That's interesting to know, thanks for sharing this behaviour.
 

Blarfz

Member
May 27, 2017
453
438
279

colobancuz

Active Member
Respected User
Aug 11, 2019
994
2,523
367
https://f95zone.to/threads/world-of-secrets-v0-6-5-rwa-studios.169591/

This game for some reason wont launch with sandboxie. Im usings settings from the guide.
Also apparently someone else mentioned they couldn't run it in the recent malware thread.
I'm the person from the malware thread. This is what it looks like for me when I right click > run sanboxed. I'm using the recommended settings from the first page.
View attachment 5269397
I'm away for a couple of days, so I can't check what's wrong with this game yet. Another game was mentioned, please provide a link to it.
In the meantime, you can check what Sandboxie writes in the log and show it here. You can also get the Renpy log itself, it is located in the root folder of the game (next to the exe). If you have auto-clean sandbox set up as specified in the OP, temporarily disable this option and after starting and closing the game, select Recover Files, tick the ‘Show All Files’ box in the window that opens, find this log and restore it.

how would i run certain apps that need a language emulator for example in sandboxie
As for the locale emulator, I'll test it and write about it when I get home to my computer. Unless someone else is ahead of me.
 
  • Like
Reactions: Patan and Omniel
5.00 star(s) 2 Votes