I have a VM and i want to it starts automathically when the Host(win server 2008) restarte, How can i do it?
You could try to achieve this by using vmrun in either a start script or a scheduled task.
e.g. vmrun -T ws start "c:\my VMs\myVM.vmx"
type vmrun /? for details.
I'd also suggest you add msg.autoAnswer = "TRUE" to the VM's vmx file to make sure the VM does not start due to a prompt and waiting for an answer.
see http://sanbarrow.com/vmx/vmx-advanced.html
André
I try what you said, but it does not work.
i check this link too, but there is no way without hacking the server.
is there anybody has a better solution?
How exactly did you try it?
Did the vmrun command execute at all? Anything in the event logs or vmware logs?
In case of a scheduled task, you may need to provide the full path to the executable and run the task under a user account with sufficient privileges.
André
I think i can do it, but i did not create any task, how can i create a task in windows 2008?
You can create scheduled tasks in the GUI or using the schtasks command on the command line.
see http://technet.microsoft.com/en-us/library/cc748993.aspx
André