Shared Folders in VirtualBox on Windows 7
In my adventures with VirtualBox, my latest victory was in figuring out how to share folders between my host OS (Windows 7) and my virtual OS (Windows Server 2008). I’m familiar with VirtualPC and other such products, which allow you to share local folders with the VM. When you do, they just show up in Windows Explorer and all is good. However, after configuring shared folders in VirtualBox like so:
I couldn’t see them anywhere within the machine.
Where are Shared Folders in a VirtualBox VM?
Fortunately a bit of searching yielded this article, which describes the problem nicely. It turns out that there is a magic word you have to know, and that is the share name for the host OS:
\\vboxsrv
Once you know this, mapping shared folders is straightforward. From Windows Explorer, click on the Map network drive option, and then map a drive to \\vboxsrv\YOURSHAREDFOLDER
Like so:
With that, it’s easy to share folders between the client and host OS using VirtualBox. The reason I didn’t simply use a standard network share to my host OS’ machine name is that both guest and host are in a VPN, and the VPN is over the Internet and in a different country, so when I went that route my files were (apparently) traveling from host to guest by way of the remote VPN network, rather than locally. Using the Shared Folders feature dramatically sped up my ability to transfer files between Host and Guest machines.




Comments
Stewart said on 27 Jul 2010 at 2:10 PM
Thanks, just what I was after.
icw said on 01 Aug 2010 at 12:25 AM
thanks - helped me too!