Sandbox name change
Sandbox name change
I hope that now there is no post like this on this forum..i was wondering if there is a way to change the name of the Sandbox without deleting all the file inside the virtual box.
Thanks a lot for answering
Thanks a lot for answering
No, I don't think so.
The sandbox name is embedded in the RegHive files in the sandbox.
So you can't just rename the sandbox folder and edit its name in the configuration file.
The sandbox name is embedded in the RegHive files in the sandbox.
So you can't just rename the sandbox folder and edit its name in the configuration file.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Actually as a Workaround;...
Create Desired named "New" Sandbox within SBIE then within Windows move "old" folder content to "new" sandbox folder. Voila! your hard worked new "Name" is intact. Considering the RegHive; don't know but don't think so since this method works for me every time; no embedding or useless embedding into hive...
Create Desired named "New" Sandbox within SBIE then within Windows move "old" folder content to "new" sandbox folder. Voila! your hard worked new "Name" is intact. Considering the RegHive; don't know but don't think so since this method works for me every time; no embedding or useless embedding into hive...
Hi Guest10, I haven't seen this. Although Sandboxie mounts its hives under HKEY_USERS\Sandbox_mike_DefaultBox, for example, try mounting the RegHive elsewhere:Guest10 wrote:The sandbox name is embedded in the RegHive files in the sandbox.
Code: Select all
reg.exe LOAD HKLM\TempHive RegHive
I regularly package my sandboxes into .zip files for later use, and the original/eventual sandbox name seems irrelevant. I think werter's suggestion is a good one.
What I was referring to can be seen by viewing one of your existing "RegHive" files in Notepad.
The sandbox name will be seen on the first line that shows in Notepad.
Similar to:
\ S a n d b o x \ A d m i n \ F i r e f o x 4 \ R e g H i v e
where "Firefox4" is the current name of the sandbox.
----
Since Control will not allow a sandbox to be renamed unless it is empty, there must some reason for its behaviour.
Is werter creating a new sandbox and then running something that creates RegHive files in the new sandbox?
Then moving everything except the RegHive files from the old sandbox, into the new sandbox?
Or, are the old RegHive files moved into the new sandbox along with everything else, and it still works with the old sandbox name embedded in the RegHive file?
Which sandbox name is used when the RegHive file is mounted to the Registry? The old sandbox name from inside of the RegHive file, or the new sandbox name?
Example:
If I create a "Firefox" sandbox, and then move all of my "Firefox4" sandbox files there (incl. the RegHive files):
Delete and then recreate my "Firefox4" sandbox.
If I use them both simultaneously, what sandbox names get mounted to the Registry?
Do they both try to use the same"Firefox4" sandbox name, or is the RegHive file in the newly created Firefox sandbox mounted as "Firefox", instead of "Firefox4" as listed inside of its RegHive file?
The sandbox name will be seen on the first line that shows in Notepad.
Similar to:
\ S a n d b o x \ A d m i n \ F i r e f o x 4 \ R e g H i v e
where "Firefox4" is the current name of the sandbox.
----
Since Control will not allow a sandbox to be renamed unless it is empty, there must some reason for its behaviour.
Is werter creating a new sandbox and then running something that creates RegHive files in the new sandbox?
Then moving everything except the RegHive files from the old sandbox, into the new sandbox?
Or, are the old RegHive files moved into the new sandbox along with everything else, and it still works with the old sandbox name embedded in the RegHive file?
Which sandbox name is used when the RegHive file is mounted to the Registry? The old sandbox name from inside of the RegHive file, or the new sandbox name?
Example:
If I create a "Firefox" sandbox, and then move all of my "Firefox4" sandbox files there (incl. the RegHive files):
Delete and then recreate my "Firefox4" sandbox.
If I use them both simultaneously, what sandbox names get mounted to the Registry?
Do they both try to use the same"Firefox4" sandbox name, or is the RegHive file in the newly created Firefox sandbox mounted as "Firefox", instead of "Firefox4" as listed inside of its RegHive file?
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
A slight variation, which may be faster if you want to preserve your original sandbox settings in the renamed sandbox:werter wrote:Create Desired named "New" Sandbox within SBIE then within Windows move "old" folder content to "new" sandbox folder.
- 1. Rename your sandbox folder using Windows Explorer (located under C:\Sandbox\mike, for example)
2. Rename the sandbox in Sandboxie Control (right-click -> Rename Sandbox)
You're absolutely right. But this line will update to whatever path you mount the hive from, and has nothing in particular to do with Sandboxie. (You can play around with your Windows user hive, NTUSER.DAT, and you'll see the same behavior.)Guest10 wrote:The sandbox name will be seen on the first line that shows in Notepad.
I'm no expert, but I would compare the stuff you see only in Notepad, such as the original registry mount point, to IP addresses in an email message header - it's interesting bookkeeping with no practical bearing on the real data. What we really care about in the hive are the keys.
I think you'll immediately see what I mean if you mount a RegHive using reg.exe or regedit - the key names start with \user or \machine and are sandbox-agnostic. They only apply to a particular sandbox while mounted as subkeys under HKU\Sandbox_mike_DefaultBox, for example.
In my experience, the hive applies to whichever sandbox directory it's located in, period. Nothing tricky here.Guest10 wrote:Which sandbox name is used when the RegHive file is mounted to the Registry?
Yes, the entire sandbox can be moved as a ready-to-run unit with all registry data preserved. This is great for packaging apps for later use, or for use on other computers.Guest10 wrote:Or, are the old RegHive files moved into the new sandbox along with everything else, and it still works with the old sandbox name embedded in the RegHive file?
Calling tzuk...Guest10 wrote:Since Control will not allow a sandbox to be renamed unless it is empty, there must some reason for its behaviour.
That's interesting. Something that I didn't expect.Mike wrote:In my experience, the hive applies to whichever sandbox directory it's located in, period. Nothing tricky here.
Thanks for the reply.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007
No reason. I could have added logic to try to rename the sandbox folder, but I didn't when I added this feature originally, and it remains so to this day. Perhaps I will do this at some point.Guest10 wrote:Since Control will not allow a sandbox to be renamed unless it is empty, there must some reason for its behaviour.
tzuk
Who is online
Users browsing this forum: No registered users and 1 guest