Event ID 17166 — Virtual Desktop Management

Applies To: Windows Server 2008 R2

Virtual desktops assigned as personal virtual desktops or assigned to virtual desktop pools are managed by using Hyper-V Manager.

Event Details

Product: Windows Operating System
ID: 17166
Source: Microsoft-Windows-TerminalServices-TSV-VmHostAgent
Version: 6.1
Symbolic Name: EVENT_ERR_FAIL_APPLY_SNAPSHOT
Message: Failed to request Hyper-V to apply a snapshot.
Verify Hyper-V status. VM=%1, Hr=%2

Resolve

Apply snapshot manually

This issue can happen if a snapshot could not be applied on a virtual desktop. To resolve this issue, you should ensure that the virtual desktop exists, and then manually apply the snapshot by using Hyper-V Manager.

To perform this procedure, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

To manually apply a snapshot:

  1. On the RD Virtualization Host server, open Hyper-V Manager. To open Hyper-V Manager, click Start, point to Administrative Tools, and then click Hyper-V Manager.
  2. In the left pane, click the name of the RD Virtualization Host server.
  3. Under Virtual Machines, click the virtual desktop to apply the snapshot.
  4. Under Snapshots, right-click the snapshot, and then click Apply.
  5. In the Apply Snapshot dialog box, click Take Snapshot and Apply.

Verify

To verify that the virtual desktops are configured correctly, you can connect to them by using RD Web Access.

To perform this procedure, you must be a member of the Administrators group, or you must have been delegated the appropriate authority.

To connect to a virtual desktop:

  1. On a client computer, open Internet Explorer. To open Internet Explorer, click Start, point to All Programs, and then click Internet Explorer.
  2. In the Address bar, type https://servername/RDWeb where servername is the fully qualified domain name of the RD Web Access server, and then press ENTER.
  3. In the Domain\user name box, type the name of a user account that has access to a virtual desktop.
  4. In the Password box, type the specified password, and then click Sign in.
  5. Click the appropriate virtual desktop, and then click Connect.
  6. Verify that the virtual desktop opens without error.

Virtual Desktop Management

Remote Desktop Services