Page 1 of 1

How to manual mounting a shared folder on Windows 2008 with

Posted: 21. May 2012, 11:05
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 ?

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

Posted: 21. May 2012, 19:03
by stefan.becker
Install the guest additions in the guest.

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

Posted: 31. May 2012, 05:53
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 .

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

Posted: 31. May 2012, 14:48
by Perryg
Post the script you are running?
Are you trying to use the auto-mount feature in VirtualBox?

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

Posted: 5. Jun 2012, 08:23
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>