Scheduling VMWare ESXi 4.1 VM Restart
- by Robin Day
We had a virtual machine running on a VMWare Server host on Windows Server 2003.
The machine is set up with non persistent disks.
We had a windows task schedule set up that ran a batch file to reset the machine each week so that it returned to it's original state.
The batch file that we had running was:
"C:\Program Files\VMware\VMware Server\vmware-cmd" "C:\Virtual Machines\VirtualMachineName\VirtualMachineName.vmx" stop hard
"C:\Program Files\VMware\VMware Server\vmware-cmd" "C:\Virtual Machines\VirtualMachineName\VirtualMachineName1.vmx" start
We have since migrated this machine to the free version of ESXi 4.1.
Can anyone let me know if and how it is possible to schedule such a restart?