Sandboxie could cause a sandboxed app fail to reset its registry settings
Moderator: Barb@Invincea
Sandboxie could cause a sandboxed app fail to reset its registry settings
Win 7 32-bit.
Sandboxie v5.22 32-bit.
EmEditor (Latest version).
Tested on a "naked" OS.
For example, EmEditor has a command: Reset All Settings, which removes all its registry data (along with the files for settings) and restarts the app.
However, in a Sandboxie sandbox, EmEditor can never reset its registry settings. When restarted, it uses the old window size and position, for example.
I guess the procedure is:
The sandboxed EmEditor did remove its sandboxed registry data. But as it restarts, Sandboxie fetches the old registry data from outside.
FYI,
Comodo sandbox does not have such a problem. It seems Comodo sandbox adds a mark for the removed registry data:
Type: 0x39c0
Data: (zero-length binary value)
Sandboxie v5.22 32-bit.
EmEditor (Latest version).
Tested on a "naked" OS.
For example, EmEditor has a command: Reset All Settings, which removes all its registry data (along with the files for settings) and restarts the app.
However, in a Sandboxie sandbox, EmEditor can never reset its registry settings. When restarted, it uses the old window size and position, for example.
I guess the procedure is:
The sandboxed EmEditor did remove its sandboxed registry data. But as it restarts, Sandboxie fetches the old registry data from outside.
FYI,
Comodo sandbox does not have such a problem. It seems Comodo sandbox adds a mark for the removed registry data:
Type: 0x39c0
Data: (zero-length binary value)
Last edited by sbf on Tue Mar 06, 2018 4:00 pm, edited 1 time in total.
-
- Sandboxie Support
- Posts: 2337
- Joined: Mon Nov 07, 2016 3:10 pm
Re: Sandboxie could cause a sandboxed app fail to reset its registry settings
Hello sbf ,
Please provide the required information:
viewtopic.php?f=11&t=19746
According to the devs, if you delete a key in Sbie, it will be deleted --> not read from host.
If you clear the sandbox, it will be read from host instead. Are you clearing the contents of your Sandbox?
Regards,
Barb.-
Please provide the required information:
viewtopic.php?f=11&t=19746
According to the devs, if you delete a key in Sbie, it will be deleted --> not read from host.
If you clear the sandbox, it will be read from host instead. Are you clearing the contents of your Sandbox?
Regards,
Barb.-
-
- Sandboxie Lead Developer
- Posts: 1638
- Joined: Fri Jan 17, 2014 5:21 pm
- Contact:
Re: Sandboxie could cause a sandboxed app fail to reset its registry settings
No.
EmEditor resets and restarts at once.
Hope you give it a test on EmEditor.
-
- Sandboxie Support
- Posts: 2337
- Joined: Mon Nov 07, 2016 3:10 pm
Re: Sandboxie could cause a sandboxed app fail to reset its registry settings
Hello sbf ,
In order to test this behavior I need to know what are you doing, exactly.
Please provide repro steps, include any workspaces you may be using, changes you are looking at, and how are you resetting the application.
Regards,
Barb.-
In order to test this behavior I need to know what are you doing, exactly.
Please provide repro steps, include any workspaces you may be using, changes you are looking at, and how are you resetting the application.
Regards,
Barb.-
Re: Sandboxie could cause a sandboxed app fail to reset its registry settings
OK. Thank you.
Install EmEditor (Installer version, which will use the registry).
Run EmEditor outside (with default settings). Change its window size/position.
(Restart EmEditor. It should use the changed size/position.)
Run EmEditor in a sandbox.
Use the menu: Tools > All Commands.
Then in the (All Commands) popup menu: Tools > Reset All Settings.
Follow the prompts.
After restarted, EmEditor should use the default window size/position (if you don't have my issue).
Install EmEditor (Installer version, which will use the registry).
Run EmEditor outside (with default settings). Change its window size/position.
(Restart EmEditor. It should use the changed size/position.)
Run EmEditor in a sandbox.
Use the menu: Tools > All Commands.
Then in the (All Commands) popup menu: Tools > Reset All Settings.
Follow the prompts.
After restarted, EmEditor should use the default window size/position (if you don't have my issue).
-
- Sandboxie Support
- Posts: 2337
- Joined: Mon Nov 07, 2016 3:10 pm
Re: Sandboxie could cause a sandboxed app fail to reset its registry settings
Hello sbf,
I see the behavior. The window size is still remembered, even after using "Reset all settings".
I have made the devs aware.
As a workaround you can add the following entry under the desired Sandbox:
Open Sandboxie Control
Configure --- > Edit configuration
Find the Sandbox you wish to modify and add this at the end:
WriteKeyPath=HKEY_CURRENT_USER\Software\EmSoft
Save the changes.
Configure--> Reload configuration
Re-try launching your program Sandboxed and resetting all settings.
Here's more info regarding the WriteKeyPath setting:
https://www.sandboxie.com/WriteKeyPath
https://www.sandboxie.com/ResourceAccessSettings#key
Regards,
Barb.-
I see the behavior. The window size is still remembered, even after using "Reset all settings".
I have made the devs aware.
As a workaround you can add the following entry under the desired Sandbox:
Open Sandboxie Control
Configure --- > Edit configuration
Find the Sandbox you wish to modify and add this at the end:
WriteKeyPath=HKEY_CURRENT_USER\Software\EmSoft
Save the changes.
Configure--> Reload configuration
Re-try launching your program Sandboxed and resetting all settings.
Here's more info regarding the WriteKeyPath setting:
https://www.sandboxie.com/WriteKeyPath
https://www.sandboxie.com/ResourceAccessSettings#key
Regards,
Barb.-
Re: Sandboxie could cause a sandboxed app fail to reset its registry settings
Thanks for the info. I see.
I'm curious about the reason of the issue. Could you please explain it a little?
I'm curious about the reason of the issue. Could you please explain it a little?
Who is online
Users browsing this forum: No registered users and 1 guest