-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sandboxie-Plus not saving settings #4396
Comments
Make sure that the Sandboxie-Plus.ini file is in the portable folder and is writable by SandMan.exe. Also paste the Sbie Messages log to here. (Sbie Messages > Right Click > Copy Panel)
Options > Edit Sandboxie-Plus.ini This is what i got after following your steps: [Updater]
PendingUpdate=
[Options]
UseMonitorMode=true
NextCheckForUpdates=1733211766
PortableStart=1
PortableRootDir=0
ViewMode=1
CheckForUpdates=1
OnNewUpdate=install
CheckForIssues=1
CheckForAddons=1
ReleaseChannel=stable
WizardLevel=3
TraceAutoScroll=false
UiLanguage=
DPIScaling=1
UseDarkTheme=2
UseFusionTheme=2
AltRowColors=false
UseBackground=2
LargeIcons=2
NoIcons=2
OptionTree=2
NewConfigLayout=2
ColorBoxIcons=false
UseOverlayIcons=true
HideSbieProcesses=false
FontScaling=100
CoverWindows=false
Editor=notepad.exe
RunInDefaultBox=false
CheckSilentMode=true
ShowMigrationProgress=true
ShowNotifications=true
OpenUrlsSandboxed=2
TerminateWhenExit=false
ShowRecovery=false
InstantRecovery=true
RecoveryOnTop=true
UseAsyncBoxOps=false
EnablePanicKey=false
PanicKeySequence=Shift+Pause
EnableTopMostKey=false
TopMostKeySequence=Alt+Pause
EnablePauseForceKey=false
PauseForceKeySequence=Ctrl+Alt+F
EnableSuspendKey=false
SuspendKeySequence=Alt+Shift+Pause
CleanUpOnStart=false
WatchBoxSize=false
WatchIni=true
ScanStartMenu=true
IntegrateStartMenu=0
IntegrateDesktop=0
SysTrayIcon=1
SysTrayFilter=0
CompactTray=false
AutoBoxOpsNotify=false
OnClose=Close
MinimizeToTray=true
TraySingleClick=true
AutoRunSoftCompat=true
NoSupportCheck=false
UpdateInterval=604800
OnNewRelease=download
PortableStop=1
[UIConfig]
DisabledRecovery=false
DisableMessages=false
[MainWindow]
|
Sorry I forgot to say that the Sandboxie.ini file is indeed within the Sandboxie folder. Nothing is write-protected in anyway that I am aware of. The Sandboxie folder has Read Only ticked, but so does every folder I check, only this app is having issues writing to it's config file. I don't know much about permissions, but then I've literally installed the app as it was meant to be installed. This is the "Sbie Messages" tab output:
No settings are saved at all after following steps from first post. The "Trace Log" is empty, hence why I didn't add anything in the first post. I know how to open the INI for editing, what I meant when I asked how to edit it manually was, what are the required key=value terms? Is there a list of them all so I can manually add it at least? Though I will still run into issues due to this write problem, so would really prefer to resolve it. Thanks for your help ;) EDIT: |
Unfortunately, there isn't a predefined list available. You'll need to refer to the source code for the required key-value pairs. Did you try running SandMand as an administrator? Also do not use a disk other than a local disk, such as network drives or disks created by a third-party encryption application. |
Ok thanks, I'll take a look. Just tested Run as admin, still same, nothing saved to INI. |
To investigate why the Sandboxie-Plus.ini file is not editable using Process Monitor, you can follow these steps:
By following these steps and analyzing the results in Process Monitor, you should be able to identify why the Sandboxie-Plus.ini file is not editable. It's likely due to permission issues, file locks, or Sandboxie's own process interference. |
This is really weird!!! I just came back to look at your comment. Opened C:\Windows\ to see if the SB INI file was there, it wasn't, so I opened SB+ and god knows how but the last opening had saved all pref's and now the Sandboxie-Plus.ini is populated with all the settings!! I think I know what's wrong but no idea how to fix it. When I installed SB+ originally, I installed it to D:\Documents- TEST -\Sandboxie-Plus\ I always use this folder for downloads and testing. I'll name this "v1". So once I checked everything, I moved the folder to it's current location which may be the cause of the issue? A strange thing to happen, yes, and the reason I think this is the cause is that when I reinstalled SB+, which I'll name "v2", to D:\Documents- TEST -\Sandboxie-Plus\ I tried "v1" originally installed and moved, which is saving settings. But if I delete the "v2" installation, "v1" stops saving it's settings! Wtf? I recovered "v2" from the recycle bin, tried again, but it refuses to save again! No idea what's happening. I'll try your suggestions now. Though I don't know what no. 3 is?
Thanks again... |
Rename or delete the following keys or files, then restart the system. Afterward, try setting up from scratch using a new portable folder. Do not run anything from the old folders. Additionally, avoid running multiple instances of SandMan simultaneously. Delete key: Rename file: |
Installed Process Monitor and followed your steps as closely as possible:
I then R-clicked an entry and selected "Count occurrences" which opened a window with seven entries.
|
Ok sorry, will do that now. But I do NOT have those INI files in that location as it is a portable install, meaning they are located within the Sandboxie-Plus portable folder on a local drive..
Number 1 , 2 , 3 and 6 do not exist on my system registry. Likely due to having installed the portable version? Also, I have only ever run a single instance. |
Edited Sanboxie-Plus.ini file by adding in the path to my text editor in the "Editor=" key, which was saved and appears in the options window correctly. Reinstalled as suggested, the new version does not save it's settings either. Think I may have found the issue, not sure? But I reopened the original SB+ ie, what I called "v1", and then clicked the Notepad icon, Edit Sandboxie.ini, to open the settings file which gave me an error window saying it couldn't find the file as the path is wrong. It is correct in the Sandboxie-Plus.ini file, but the path shown in the error window is:
Whereas it should be:
Unless this is incorrect in the settings file? It's basically removing the \ and first letter of each folder and the filename.
Due to this I've tried this with the Sandboxie.ini too:
Is it required here or not? |
If you see "Access Denied," there may be an issue with permissions or another application might be causing a conflict. sbie4396spini01.mp4 |
Well, I performed a restart and only one app is set to start with Windows, SyMenu. That auto starts two other apps, XYplorer and Rainmeter. I closed them and then opened Process Monitor. Then run SandMan.exe, still the same. What is this file: Process Monitor says Sandboxie is creating this file, but it doesn't exist. I have Hidden files shown at all times. Should it appear after starting SB+? |
Updated to Sandboxie-Plus v1.15.4 |
Describe what you noticed and did
My issue is that I am running Sandboxie-Plus from a NON-write-protected environment. I am a new user and have little knowledge on how this app works. But only require it for basic usage anyway. But having to set up on every launch is a bit of a put off.
Here's what I do:
After saving the settings following the above procedure, nothing is saved and I literally have to go through the exact same steps on every start up. I have also tried other settings, these are also not saved. In fact, on first run, I went through and changed many basic settings and nothing got saved at all. The Log states that the INI has been reloaded, but without saving the settings to it.
Is it a bug or a set up issue that I can fix?
Is, there a way to manually edit the config? Would that save the settings, or would they be reset on start up?
I couldn't find any info on what needs to be added to the config to manually edit it.
Excellent program! Just would like to resolve this issue.
How often did you encounter it so far?
Every start up of Sandboxie-Plus
Expected behavior
I would expect settings to be saved and not have to repeat everything on start up.
Affected program
Irrelevant
Download link
Irrelevant
Where is the program located?
Not relevant to my request.
Did the program or any related process close unexpectedly?
No, not at all.
Crash dump
No response
What version of Sandboxie are you running now?
1.14.10
Is it a new installation of Sandboxie?
I recently did a new clean installation.
Is it a regression from previous versions?
This is the first time I've used Sandboxie-Plus
In which sandbox type you have this problem?
In a standard isolation sandbox (yellow sandbox icon).
Can you reproduce this problem on a new empty sandbox?
I can confirm it also on a new empty sandbox.
What is your Windows edition and version?
Windows 11 x64 23H2, i7 11700, 24GB RAM
In which Windows account you have this problem?
A Microsoft account (Administrator).
Please mention any installed security software
MS Defender
Did you previously enable some security policy settings outside Sandboxie?
No.
Trace log
No response
Sandboxie.ini configuration
The text was updated successfully, but these errors were encountered: