Page 1 of 1

How do I get my UUID and start my guest from command line?

Posted: 19. Nov 2008, 00:17
by Punk
How do I get my UUID and then start my Guest from cmd promt without the guest video output?

WinXP Host, Win 2003 Guest. This is all im getting so far:

Code: Select all

C:\Program Files\Sun\xVM VirtualBox>VBoxHeadless.exe -s Win 2003
VirtualBox Headless Interface 2.0.2
(C) 2008 Sun Microsystems, Inc.
All rights reserved

Invalid machine name!

C:\Program Files\Sun\xVM VirtualBox>
Thanks.

Posted: 19. Nov 2008, 04:37
by TerryE
Do a

Code: Select all

VBoxManage list vms| findstr /c:"UUID" /c:"Name"
then you can just use the string inside the {} as the name. Alternatively try

Code: Select all

VBoxHeadless.exe -s "Win 2003" 
But I've had problems with VMs where there are spaces in the name, so either stick to UUIDs or do a

Code: Select all

VBoxManage modifyvm "Win 2003" -name Win2003
to get rid of the space.