SI need to start a VM using VMware Workstation 7.1 on a Windows server 2008 R2 host.
To solve my issue I use Task Scheduled with a command file based on VMware VIX conteining a line like:
"C:\Program Files (x86)\VMware\VMware VIX\vmrun" start "c:\vm_folder\vm_name.vmx"
The task is started using the Administrator's credentials.
When the host starts the task is executed and the guest VM starts.
However, when I logon as Administrator, open VMware Workstation ans try to access the console of the guest VM I get a message saying that:
This virtual machine appears to be in use.
If this virtual machine is already in use, press the "Cancel" button to avoid damaging it. If this virtual machine is not in use, press the "Take Ownership" button to obtain ownership of it.
This virtual machine appears to be in use.
Configuration file: vm_name.vmx
If I try to take ownership I get a message like:
Taking ownership of this virtual machine failed.
The virtual machine is in use by an application on your host computer.
Configuration file: vm_name.vmx
I need to start the guest VM at host startup but I need to access it during execution.
How can I use VMware VIX or any other tool to automate startup and to be able to use access the console while the VM is running?
Regards
marius