Virtual machines that were created on the beta version of the Hyper-V role do not start after the Hyper-V role is updated to a later version

Article translations Article translations
Article ID: 949222 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You have the beta version of the Hyper-V role installed on the release version of Windows Server 2008. You update the Hyper-V role to a later version. In this situation, virtual machines that were created on the beta version of the Hyper-V role do not start.

Additionally, you receive one of the following error messages:
An error occurred while attempting to chance the state of the virtual machine vmname.
vmname’ failed to initialize.
Failed to read or update VM configuration.
An error occurred while attempting to change the state of virtual machine vmname.
"VMName" failed to initialize
An attempt to read or update the virtual machine configuration failed.
"VMName" failed to read or update the virtual machine configuration: Unspecified error (0x80040005).

CAUSE

This issue occurs because virtual machine configurations that were created on the beta version of the Hyper-V role are incompatible with later versions of the Hyper-V role.

RESOLUTION

If the virtual machine is running a Hyper-V-supported release version of an operating system, you can use the existing virtual hard disk (.vhd) file. However, the virtual machine configuration settings must be re-created. If the virtual machine is running a prerelease version of Windows Server 2008, the virtual machine configuration settings and the operating system .vhd file must be re-created.

To delete and then re-create the virtual machines, follow these steps.

Step 1: Remove the virtual machines

To remove virtual machines that were created on the beta version of the Hyper-V role, follow these steps:
  1. Open the Hyper-V Manager console.
  2. Document the configuration settings for each virtual machine.
  3. Click Delete Save State for each virtual machine that is currently in a Saved state.
  4. Click Delete Snapshot Subtree for each virtual machine that has snapshots.

    Note As soon as you delete the snapshots, the changes that exist in the snapshot files (.avhd files) will merge into the parent .vhd file. This operation may take a while. To verify that the snapshots have merged into the parent .vhd file, check the location in which the snapshots are stored to verify that no .avhd files exist.
  5. On the Action menu, click Virtual Network Manager, and then verify that all virtual networks that were created on the beta version of the Hyper-V role have been deleted.

    Note All virtual networks that were created on the beta version of the Hyper-V role will be removed when you update the Hyper-V role to a later version.
  6. Copy the .vhd file to a safe location.

    Note If the virtual machine is running a prerelease version of Windows Server 2008, the operating system .vhd file must be re-created.
  7. In the Hyper-V Manager console, delete all virtual machines that were created on the beta version of the Hyper-V role.

Step 2: Re-create the virtual machines

To re-create the virtual machines, follow these steps:
  1. Open the Hyper-V Manager console.
  2. On the Action menu, click Virtual Network Manager, and then re-create your virtual networks.
  3. Use the New Virtual Machine Wizard to re-create your virtual machines.

    Note If you previously saved a .vhd file that contains a Hyper-V-supported release version of an operating system, you can click Use an existing virtual hard disk, and then point to your existing .vhd file. If the virtual machine is running a prerelease version of Windows Server 2008, the operating system .vhd file must be re-created.
  4. As soon as the operating system is installed, install the Integration Services in the virtual machine. To install the latest version of the Integration Services, open the Virtual Machine Connection window, and then click Insert Integration Services Setup Disk on the Action menu.

MORE INFORMATION

For more information about Hyper-V, visit the following Microsoft Web site:
http://technet2.microsoft.com/windowsserver2008/en/servermanager/virtualization.mspx

Properties

Article ID: 949222 - Last Review: November 22, 2010 - Revision: 3.1
APPLIES TO
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
Keywords: 
kbhyperv kbsnapin kbconsole kbtshoot kbexpertiseinter kbprb KB949222

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com