I'm trying to set up a virtual NAS that allows me to access an ext3 HD via samba running on debian 4 from my WindowsXP host. This works very fine (raw disk access, host interface, etc.) and I also can startup and shutdown the machine using the commands
VBoxManage.exe startvm VirtualNAS -type vrdp
VBoxManage.exe controlvm VirtualNAS acpipowerbutton
from a dos box and also from a batch file. So far so good.
When I put the batch file in a scheduled task at startup (also the non-admin users in my family should be able to access their data when I'm not at home to startup the machine) then I reproducably get
VirtualBox VRDP Headless Interface 1.5.0
(C) 2005-2007 innotek GmbH
All rights reserved
Invalid machine name!
(rc = 0x80070057)
I.e. everything works as described in the (excellent! only a hint of how to find the correct number to put behind PhysicalDrive is missing) documentation. Only the startup of the machine at system startup does not know my machine (yet?).
So, any suggestions from the experts?
http://www.virtualbox.org/discussion/1/670 is somewhat related.
There sombody seems to have gotten it to work, but does not exactly seem to know how.
Scheduling the shutdown command is a different topic on windos XP HOME, but google search for HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System\Scripts seems to provide some useful hints.