How to manual mounting a shared folder on Windows 2008 with

Discussions about using Windows guests in VirtualBox.
Post Reply
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

How to manual mounting a shared folder on Windows 2008 with

Post by neoruwata »

Hi,

How to manual mounting a shared folder on Windows 2008 without log on. I've started a VM by HEADLESS. I can not manual mounting my shared folder or can not execute files in the shared folder too.

Do somebody have any IDEA ?
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

Re: How to manual mounting a shared folder on Windows 2008 w

Post by neoruwata »

stefan.becker wrote:Install the guest additions in the guest.
Yes, I've installed it already. But I found something of VboxService that it does not start process form the host in the first time. Example I add a share folder on the VM then I run the script to mount my share folder. After that I try to copy my file from the share but I got the error return exit code 16. The first time it's error then if I run the second script, sometime it's OK but sometime I got the error about the guest service not already yet. Something like that, it like the guest service not response when I use it. Do you have any ideas for this problem :?:

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

Re: How to manual mounting a shared folder on Windows 2008 w

Post by Perryg »

Post the script you are running?
Are you trying to use the auto-mount feature in VirtualBox?
neoruwata
Posts: 20
Joined: 22. Nov 2011, 08:02
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Windows 7

Re: How to manual mounting a shared folder on Windows 2008 w

Post by neoruwata »

Perryg wrote:Post the script you are running?
Are you trying to use the auto-mount feature in VirtualBox?
Yes, I am. I used Ant to run this command:

Code: Select all

<exec executable="${VBoxManage}" failonerror="true" errorproperty="exe.error.message">
					<arg line="guestcontrol "${vm.name}"" />
					<arg line="execute" />
					<arg line="--image" />
					<arg line=""C:\Windows\System32\net.exe"" />
					<arg line="--username ${remote.username}" />
					<arg line="--password ${remote.password}" />
					<arg line="--timeout 18000" />
					<arg line="--wait-exit --wait-stdout --verbose" />
					<arg line="-- use ${use.drive.letter} \\VBOXSVR\<share folder>" />
</exec>

same with
net use x: \\VBOXSVR\<share folder>
Post Reply