VMware Communities
jriker1
Contributor
Contributor

shutdown hidden virtual machine?

I am using an app that launches a virtual machine but hidden.  So if you have VMware Workstation's open to a particular virtual, and this other tool launches it hidden, nothing changes on the screen.  Problem I'm having, I can't figure out how to shut it off for one virtual machine as it's Linux and have remote root access disabled and this virtual doesn't have other accounts on it right now.  Short of rebooting the computer any thoughts?

Thanks.

JR

0 Kudos
4 Replies
Alex_Romeo
Leadership
Leadership

Hi,

this seems to me your case:

pastedImage_1.png

https://bbs.archlinux.org/viewtopic.php?id=54661

ARomeo

Blog: https://www.aleadmin.it/
0 Kudos
wila
Immortal
Immortal

Hi,

Use vmrun.

vmrun is in your VMware folder and gives you a means to shutdown the guest.

If it has vmware tools installed, and running, then it will nicely ask the guest to shut itself down.

If the guest does not have vmware tools running then it will still be able to shut down the guest, but in that case it will behave like a hard power off (pull the plug kinda thing)

eg.

vmrun -T ws stop "C:\my vm\vm.vmx"

See also:

Vmrun - VI-Toolkit

for the syntax.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos
jriker1
Contributor
Contributor

Probably should have mentioned I tried vmrun but it says the vmx is not running but it is.

JR

0 Kudos
wila
Immortal
Immortal

Hi JR,

How are you starting this vm?

Is it a shared VM by any chance?

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
0 Kudos