Page 1 of 1

Broken access to VirtualBox shared folder

Posted: 17. Oct 2011, 16:17
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

Re: Broken access to VirtualBox shared folder

Posted: 17. Oct 2011, 17:03
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.

Re: Broken access to VirtualBox shared folder

Posted: 17. Oct 2011, 18:29
by kpiq
It's broken since version 4.1.4. It works, you reboot, it stops working, reboot, etc, intermittent.

Re: Broken access to VirtualBox shared folder

Posted: 17. Oct 2011, 18:35
by Perryg
@kpiq,
Don't hijack a thread, post your own and when you do give specific information.