VMware Communities
xAyiDe
Enthusiast
Enthusiast
Jump to solution

Autostart and autoshutdown guest

Now when Vmware server is on the edge of extinction. Is there any way to get Workstation to perform start of guest when starting the host and shut the down when restart/shutdown the host?

It also need to be running in the background ofcourse. So one doesnt have to login on the machine to get them running.

0 Kudos
1 Solution

Accepted Solutions
athlon_crazy
Virtuoso
Virtuoso
Jump to solution

Since we can start/stop VM using vmrun command on Workstation, it's possible :

vmrun.exe -T ws start "d:\vmpath...Linux.vmx"

put into startup script...

vcbMC-1.0.6 Beta

vcbMC-1.0.7 Lite

http://www.no-x.org

http://www.no-x.org

View solution in original post

0 Kudos
4 Replies
athlon_crazy
Virtuoso
Virtuoso
Jump to solution

Since we can start/stop VM using vmrun command on Workstation, it's possible :

vmrun.exe -T ws start "d:\vmpath...Linux.vmx"

put into startup script...

vcbMC-1.0.6 Beta

vcbMC-1.0.7 Lite

http://www.no-x.org

http://www.no-x.org
0 Kudos
xAyiDe
Enthusiast
Enthusiast
Jump to solution

So how do one do the same for shutdowns, when windowshost signals shutdown?

0 Kudos
Borja_Mari
Virtuoso
Virtuoso
Jump to solution

Hi,

just remember to pass the nogui parameter to vmrun when starting the vm's.

You can place in one script the vmrun commands to start or shutdown the vm's. Check this: http://www.tutorial5.com/content/view/157/47/

Hope this helps Smiley Happy



Regards/Saludos,
Pablo

Please consider awarding

any helpful or corrrect answer. Thanks!! -

Por favor considera premiar

cualquier respuesta útil o correcta. ¡¡Muchas gracias!!

Virtually noob blog

------------------------------------------------------------------------------------------------- PLEASE CONSIDER AWARDING any HELPFUL or CORRECT reply. Thanks!! Por favor CONSIDERA PREMIAR cualquier respuesta ÚTIL o CORRECTA . ¡¡Muchas gracias!! VCP3, VCP4, VCP5-DCV (VCP550), vExpert 2010, 2014 BLOG: http://communities.vmware.com/blogs/VirtuallyAnITNoob
mdunn-vmware
Expert
Expert
Jump to solution

This isn't an officially supported feature, but if you do web searches for "run workstation as a service" you should find some pages that can help you set that up.

0 Kudos