Problems with volume mouned as folder
Posted: Sat Nov 04, 2017 12:38 pm
I have one HDD with two volumes. It's a dual boot system (XP and 10x64).
I have several folders from one volume mounted using junction into corresponding folders of the other and reverse, so I have same folders on both systems with same paths.
For example:
mklink /j "C:\My" "\\?\Volume{xxxxx}\My"
mklink /j "C:\Program FIles\SomeSoftware" "\\?\Volume{xxxxx}\Program FIles\SomeSoftware"
You get the idea?
The thing is I don have root directory \\?\Volume{xxxxx}\ mounted anywhere. It's very important!
And so all executables in this directories can't be launched in Sandboxie, it says that "%1 is not win32".
BUT! If I add some executable name like "SomeSoftware.exe" to forced list it works.
I do understand the easiest solution for me is to simple mount somewhere the root directory.
As far as I understand Sanboxie checks list of mountpoints, doesn't find what it wants.
BUT! For some reason it works with forced exe's without any problems, so maybe it can be fixed?
------
Steps to reproduce (tested in VirtualBox on clean W10x64):
1. HDD with two volumes (C:,D:) Windows on C:, D: empty, install Sandboxie
2. Create folder D:\My put some exe there, like myapp.exe
3. Go to disk management, remove association with D:
4. Open admin command prompt, use "mountvol" to learn guid of ex-D, create junction:
mklink /j "C:\My" "\\?\Volume{xxxxx}\My"
5. Try SendTo-Sandboxie on C:\My\myapp.exe - see the error.
6. Add "myapp.exe" to forced list, start "myapp.exe" - works.
I have several folders from one volume mounted using junction into corresponding folders of the other and reverse, so I have same folders on both systems with same paths.
For example:
mklink /j "C:\My" "\\?\Volume{xxxxx}\My"
mklink /j "C:\Program FIles\SomeSoftware" "\\?\Volume{xxxxx}\Program FIles\SomeSoftware"
You get the idea?
The thing is I don have root directory \\?\Volume{xxxxx}\ mounted anywhere. It's very important!
And so all executables in this directories can't be launched in Sandboxie, it says that "%1 is not win32".
BUT! If I add some executable name like "SomeSoftware.exe" to forced list it works.
I do understand the easiest solution for me is to simple mount somewhere the root directory.
As far as I understand Sanboxie checks list of mountpoints, doesn't find what it wants.
BUT! For some reason it works with forced exe's without any problems, so maybe it can be fixed?
------
Steps to reproduce (tested in VirtualBox on clean W10x64):
1. HDD with two volumes (C:,D:) Windows on C:, D: empty, install Sandboxie
2. Create folder D:\My put some exe there, like myapp.exe
3. Go to disk management, remove association with D:
4. Open admin command prompt, use "mountvol" to learn guid of ex-D, create junction:
mklink /j "C:\My" "\\?\Volume{xxxxx}\My"
5. Try SendTo-Sandboxie on C:\My\myapp.exe - see the error.
6. Add "myapp.exe" to forced list, start "myapp.exe" - works.