How to Configure Automatic Start and Stop Actions for a Virtual Machine

Applies To: Virtual Machine Manager 2008, Virtual Machine Manager 2008 R2, Virtual Machine Manager 2008 R2 SP1

Use the following procedure to configure actions to take on a virtual machine when the virtualization service starts and stops. You can configure these options when you deploy or migrate a virtual machine, or by updating the properties of the virtual machine.

To configure start and stop actions for a virtual machine

  1. If you are modifying an existing virtual machine, display the Actions tab in the Virtual Machine Properties dialog box.

  2. To specify a start action, in Action when physical server starts, select one of the following options:

    • Never automatically turn on the virtual machine

    • Always automatically turn on the virtual machine

    • Automatically turn on the virtual machine if it was running when physical server stopped

  3. If you want to delay starting the virtual machine after the virtualization service starts, specify the number of seconds to wait. You can delay starting up to 32,767 seconds (about 9 hours). This delay enables you to set the order of image files by having some images take longer to automatically start than others.

  4. If you are configuring a start action for a virtual machine that is deployed on a Virtual Server host, select the Run virtual machine under the following user account check box, and then specify an account for VMM to run under. For account requirements, see "Run as" Account Requirements for Virtual Server Virtual Machines.

  5. To specify an action to take when the Virtual Server service stops, in Action when physical server stops, select one of the following options:

    • Save state

    • Turn off virtual machine

    • Shut down guest OS

  6. Specify the Operating System that you will install on the virtual machine.

See Also

Concepts

"Run as" Account Requirements for Virtual Server Virtual Machines
Modifying Virtual Machines