Use a shared drive to mount an encrypted container fails

Discussions about using Windows guests in VirtualBox.
Post Reply
xp10r3r
Posts: 1
Joined: 13. Mar 2019, 16:37

Use a shared drive to mount an encrypted container fails

Post by xp10r3r »

Hi there,

I'm using VeraCryptPortable 1.23-Hotfix-2 and have created two encrypted file container as well as two key files one for each file container.

I'm using Windows 10.0.17763 Build 17763 x86 running on a VirtualBoxPortable 5.2.26 r128414 (Qt5.6.2) as a guest system.

The file container and key files as well as the VeraCryptPortable files are stored on a SD card mounted on Windows 10.0.17134 Build 17134 as a host system. I created permanently a shared drive mounted on the guest system within VirtualBox. On the guest system I use the shared drive as a network drive automatically mounted on system startup, ie. there's a network drive S:\. You can also access the shared drive within the network environment \\Vboxsvr\s.

If I try to run VeraCryptPortable from the network drive, it won't let me access VeraCryptPortable.exe. I got an error message saying the system can't find the path, but that's not the issue I'd like to get help for, because I'm able to run VeraCryptPortable in the network environment without any issues. I'm sorry, the attached error message is written in German.

I'm able to start VeraCryptPortable, choose the encrypted container files as well as key files and after entering the password and pim the container is mounted properly.

However, I'd like to avoid repeating these steps every time the guest system boots, so I want to create a batch file doing that during the system startup. I did it in the past, please see my btw comments below. If I try to run the following script as an administrator on the shared drive \\Vboxsvr\s\D, not from the network drive, D is the encrypted container name, I get the error that the system can't find the file even it's the container nor the key file as I tried it separately. Note: I'll create a new generated password so it's fine to share it in plain text here.

I'm not quite sure, if it's a system related or VeraCrypt related or VirtualBox related issue. I assume it's a system related issue, however, I hope someone has an idea.

Btw comments: I was forced to create a new guest system as the last one was stored on another SD card which unfortunately cracked and is unusable any longer. On the old guest system I did the same constellation, mount containers via batch file, the batch and all other files like the encrypted container were stored on the SD card except the key files, I didn't use them these times.

Any help is much appreciated.
Attachments
Run_batch_script_from_shared_drive.jpg
Run_batch_script_from_shared_drive.jpg (62.61 KiB) Viewed 13855 times
Run_EXE_from_network_drive.jpg
Run_EXE_from_network_drive.jpg (23.54 KiB) Viewed 13855 times
Post Reply