Virtual machines crash or take a long time to complete the shutdown process on a Windows Server 2012-based host computer

Applies to: Windows Server 2012 DatacenterWindows Server 2012 DatacenterWindows Server 2012 Standard

Symptoms


Consider the following scenario:
  • You have the Hyper-V server role installed on a computer that is running Windows Server 2012.
  • You install the Remote Desktop Virtualization Host (RD Virtualization Host) role on the computer.
  • You create one or more virtual machines on the computer.
  • The virtual machines are configured to shut down when the host computer starts the shutdown process.
  • You use the Microsoft RemoteFX feature to improve user experience for virtual machines.
  • You try to shut down the host computer.
In this scenario, the virtual machines crash or take a long time to complete the shutdown process during the shutdown process of the host computer.

Cause


This issue occurs because of a race condition when you shut down the host computer. The race condition occurs between the following situations:
  • When the Hyper-V Virtual Machine Management service receives a notification to stop the service and begins to shut down the virtual machines.
  • The RemoteFX Desktop Virtual Graphics Manager (Rdvgm.exe) for the virtual machine ends when the Worker session is logged off.

Resolution


This hotfix is also available at Microsoft Update Catalog

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows Server 2012.

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates