VMWare Workstation won't suspend from command line -
i'm trying automate vmware desktop on windows 7 suspend vm's before backup job each night. used have script did i've noticed won't suspend anymore same command used work.
if vmrun list
list of running vms no issue.
if vmrun suspend "v:\virtual machines\richard-dev\richard-dev.vmx"
hangs , have kill command ctrl+c.
i've tried newer command using -t specify it's workstation, ie vmrun -t ws suspend "v:\virtual machines\richard-dev\richard-dev.vmx"
, still no love.
if have vm stopped, can issue vmrun start "v:\virtual machines\richard-dev\richard-dev.vmx"
, starts fine.
as suspend command, stop command not work. i'm running vmware workstation 11.1.3 build-3206955 on windows 7.
any ideas?
update:
i installed latest vmware tools on guest, latest vix on host should date.
i can start vm using vmrun no problem using vmrun -t ws start <path vmx>
command doesn't come command prompt, i'm assuming it's not getting confirmation vm running.
if cancel 'start' command , try , suspend i'm getting same lack of communication guest. if manually suspend vm, once it's suspended 'error: vm not running' , 'suspend' command times out , comes back.
so, looks me there no communication vmrun guest state it's in etc. there way debug communication host guest using vmrun or other means? there ports need open in guest os?
so, never did vmrun work on main system, although did behave ok on laptop there weird happening on machine. installed trial of latest vmware 12 , same thing happens.
as workaround, ended changing power management settings in guest os 'sleep' after 1 hr of inactivity. when happens vmware detects , automatically suspends guest i'm looking for. not slick solution manage unlock files need backed in nightly backup.
Comments
Post a Comment