Hi,
Were using VMs in our production with workstation pro 17.0.2.
As they just suspend when employees turn off the host PC, some issues occur from time to time, which disable us to open the VM properly, so my Question is, is there any option to not just suspend but shutdown the VM automatically if someone powers off the host?
Thank you in advance
Not quite what your asking for but you can disable the suspend option on a vm by adding this line to the .vmx file for the VM
suspend.disabled = "TRUE"
Not sure how this will work if shutting down host but might be worth a try.
Hi @battybishop , it was a good action to take, and had the right output but still errors occured due to a power off instead of a shut down of the VM.
We need some Skript or something that forces the Host to wait for the VM to shut down properly.
Thank you for the help that brought us a step of troubleshooting to try at least.
Hi,
My product called Vimarun, does exactly that, it suspends the VM on shutdown of the host.
It will also start the VM again when you boot the host.
Please note however that it currently does not work with encrypted VM's.
Also note that it isn't a free product, but there's a 60 days trial period to see if it works for you.
--
Wil
You may be able to script something like this using PowerCLI. We have something similar in our test cluster for cloning test VMs. But I'm not sure if PowerCLI supports VMworkstation.
Hi there,
thank you for your reply but unfortunately powerCLI is not supporting Workstation according to other Posts here.
(1) Solved: Start a Workstation Pro VM from PowerShell - VMware Technology Network VMTN
But the Idea probably helps me out
