Power policies control how a virtual machine behaves when the associated remote desktop is not in use.

You set power policies when you create or edit a desktop pool. 1 describes the available power policies.

Table 1. Power Policies

Power Policy

Description

Take no power action

Horizon 7 does not enforce any power policy after a user logs off. This setting has two consequences.

  • Horizon 7 does not change the power state of the virtual machine after a user logs off.

    For example, if a user shuts down the virtual machine, the virtual machine remains powered off. If a user logs off without shutting down, the virtual machine remains powered on. When a user reconnects to the desktop, the virtual machine restarts if it was powered off.

  • Horizon 7 does not enforce any power state after an administrative task is completed.

    For example, a user might log off without shutting down. The virtual machine remains powered on. When a scheduled recomposition takes place, the virtual machine is powered off. After the recomposition is completed, Horizon 7 does nothing to change the power state of the virtual machine. It remains powered off.

Ensure machines are always powered on

The virtual machine remains powered on, even when it is not in use. If a user shuts down the virtual machine, it immediately restarts. The virtual machine also restarts after an administrative task such as refresh, recompose, or rebalance is completed.

Select Ensure machines are always powered on if you run batch processes or system management tools that must contact the virtual machines at scheduled times.

Suspend

The virtual machine enters a suspended state when a user logs off, but not when a user disconnects.

You can also configure machines in a dedicated pool to be suspended when a user disconnects without logging off. To configure this policy, you must set an attribute in View LDAP. See Configure Dedicated Machines To Be Suspended After Users Disconnect.

When multiple virtual machines are resumed from a suspended state, some virtual machines might have delays in powering on. Whether any delays occur depends on the ESXi host hardware and the number of virtual machines that are configured on an ESXi host. Users connecting to their desktops from Horizon Client might temporarily see a desktop-not-available message. To access their desktops, users can connect again.

Power off

The virtual machine shuts down when a user logs off, but not when a user disconnects.

Note:

When you add a machine to a manual pool, Horizon 7 powers on the machine to ensure that it is fully configured, even when you select the Power off or Take no power action power policy. After Horizon Agent is configured, it is marked as Ready, and the normal power-management settings for the pool apply.

For manual pools with machines that are managed by vCenter Server, Horizon 7 ensures that a spare machine is powered on so that users can connect to it. The spare machine is powered on no matter which power policy is in effect.

2 describes when Horizon 7 applies the configured power policy.

Table 2. When Horizon 7 Applies the Power Policy

Desktop Pool Type

The power policy is applied ...

Manual pool that contains one machine (vCenter Server-managed virtual machine)

Power operations are initiated by session management. The virtual machine is powered on when a user requests the desktop and powered off or suspended when the user logs off.

Note:

The Ensure machines are always powered on policy always applies, whether the single-machine pool uses floating or dedicated assignment, and whether the machine is assigned or unassigned.

Automated pool with dedicated assignment

To unassigned machines only.

On assigned machines, power operations are initiated by session management. Virtual machines are powered on when a user requests an assigned machine and are powered off or suspended when the user logs off.

Note:

The Ensure machines are always powered on policy applies to assigned and unassigned machines.

Automated pool with floating assignment

When a machine is not in use and after a user logs off.

When you configure the Power off or Suspend power policy for a floating-assignment desktop pool, set Automatically logoff after disconnect to Immediately to prevent discarded or orphaned sessions.

Manual pool with dedicated assignment

To unassigned machines only.

On assigned machines, power operations are initiated by session management. Virtual machines are powered on when a user requests an assigned machine and are powered off or suspended when the user logs off.

Note:

The Ensure machines are always powered on policy applies to assigned and unassigned machines.

Manual pool with floating assignment

When a machine is not in use and after a user logs off.

When you configure the Power off or Suspend power policy for a floating-assignment desktop pool, set Automatically logoff after disconnect to Immediately to prevent discarded or orphaned sessions.

How Horizon 7 applies the configured power policy to automated pools depends on whether a machine is available. See How Power Policies Affect Automated Desktop Pools for more information.