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

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Punk
Posts: 4
Joined: 2. Nov 2008, 21:50

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

Post 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.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post 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.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Post Reply