Broken access to VirtualBox shared folder

Discussions about using Windows guests in VirtualBox.
Post Reply
Passiday
Posts: 32
Joined: 30. Jun 2009, 23:16
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Broken access to VirtualBox shared folder

Post by Passiday »

Hello,

Ubuntu 11.04 host, Windows XP SP3 guest here.

I have one shared folder defined in the VM settings, and it used to work fine, until it got broken, I think, today. And the same problem is on other Win XP guests, so I guess this is not the Windows fault here.

Here's how I can trigger the error: I open the Windows Explorer, expand to [My Network Places / Entire Network / VirtualBox Shared Folders / Vboxsvr / \\VBOXSVR\Sharename] in the treeview, right click on the [\\VBOXSVR\Sharename] to get the context menu, choose "Map Network Drive" (Y:), select the drive letter and Finish. The new drive is added fine. Now, when I try to open the new network drive [My Computer / (Y:) Sharename on 'Vboxsvr'], I get the error message:

Y:\ is not accessible.
The parameter is incorrect.

Funny enough, I can open the command prompt and cd to Y: and subfolders without problems. If I dir there, it says "File not found", but I can still cd to subfolders, and dir works there just fine. I can copy and delete files there using copy and del commands.

However, if I write Y:/Subfolder in the windows explorer, it opens the contents of the subfolder, but I can not nor copy nor delete files from there. I get the same error as I quoted above.

I've got the newest VirtualBox, with newest Guest tools. I can't imagine what I can possibly do better. For shortterm fix, I have set up samba server, share the folders using samba, mapped the windows drive without problems. But I'd like to get rid of samba solution.

Passiday
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Broken access to VirtualBox shared folder

Post by Perryg »

I would discard the share (guest shutdown) and recreate it again. I have tested it with Ubuntu 11.10 host and Win XP guest and it works as expected for me.
You might be better off mapping the drive using the command window see example below.

Code: Select all

net use y: \\vboxsvr\<share name> -p
the <share name> is the actual share name you used and the -p at the end makes it persistent.
kpiq
Posts: 8
Joined: 17. Oct 2011, 18:23
Primary OS: MS Windows other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: Broken access to VirtualBox shared folder

Post by kpiq »

It's broken since version 4.1.4. It works, you reboot, it stops working, reboot, etc, intermittent.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Broken access to VirtualBox shared folder

Post by Perryg »

@kpiq,
Don't hijack a thread, post your own and when you do give specific information.
Post Reply