Losing ownership of VM after autostart

This post was originally published on this site

Hi Workstation users,

 

I have an Ubuntu VM running on Workstation 15.5.6 and I want this machine to start automatically when Windows starts (not when a user logs in). I am using this command in a scheduled task (on system start) “C:Program Files (x86)VMwareVMware Workstationvmrun.exe” -T ws start {path to file vm.vmx}.

 

The task runs and the VM starts but after I login and open Workstation I cannot open the VM. The VM is running and it’s services are available but when I click on the machine in my tree I get this message.

take_ownership.PNG

If I click “Take Ownership” it fails.

 

I’m close to what I want, I just need to be able to open the running VM after I logon to the host machine. Right now the only way to get to the VM is to stop it and restart it while I’m logged in.

 

Any help is appreciated! Thanks!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.