Page 1 of 1

Shared folder as local drive

Posted: 14. Apr 2010, 20:20
by theWeird
Hey there.
Is there a way to connect a shared folder as local drive instead of network drive?
I'd like to create further network shares on the shared folder's contents, but as far as I know windows is not able to share folders from network drives.
Host is Debian Lenny and Guest is WinXP Pro
Regards, Michael

Re: Shared folder as local drive

Posted: 16. Apr 2010, 16:28
by ahznb
Create a batch file and put in it the commands to map the shared folders to drive letters. For example:

subst E: \\vboxsvr\yourshare

and put the batch file in Start->All Programs->Startup, or add it in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run.

Re: Shared folder as local drive

Posted: 19. May 2010, 00:48
by pancho
How did you map the shared file. I have listed as a share in VM, but the guest cant see it. How did you do yours?
Host xp home, Guest xp professional.

Re: Shared folder as local drive

Posted: 19. May 2010, 08:54
by ahznb
Install guest additions, it should show up in Explorer->'My Network Places'.

Re: Shared folder as local drive

Posted: 15. Apr 2015, 15:57
by mathew42
I don't consider that the questions so far have answered the original question.

I have a Windows 7 guest that is a member of a domain. If I map a drive to a shared folder (e.g. map s: to \\VBOXSRV\Software) the drive is treated as a network share. This has the following issues:
  • Cannot run programs (likely to be a domain security setting)
  • Cannot use t: as a temp drive (in this case the shared folder is a ram disk)
Any thoughts on how to resolve this?

Re: Shared folder as local drive

Posted: 15. Apr 2015, 16:09
by Perryg
http://www.virtualbox.org/manual/ch04.h ... unt_manual

But if you really want to use the features you request you should use a true network share. In either case you need to map the share to give it a drive letter.

Re: Shared folder as local drive

Posted: 15. Apr 2015, 16:25
by mathew42
The manual explains how to mount the shared folder as a network drive in windows.
Perryg wrote:But if you really want to use the features you request you should use a true network share.
I don't want a network share. I want the shared folder to appear as a local drive. The host VM is not a member of the domain so I cannot create a "true" network share.

Re: Shared folder as local drive

Posted: 15. Apr 2015, 16:30
by Perryg
Then you only option is to use the VBox shared folder and map that as a drive.