By Alison / Last Updated April 2, 2022

Why your Hyper-V VM failed to change state error

Have you ever received the error from Hyper-V: VM failed to change state? Sometimes it will tell you what’s causing it, but sometimes there’s only an error code or just nothing at all.

Hyper-V VM failed to change state

That's because there are many reasons that may lead to this error. So the first thing you need to do is to determine your root cause. You can follow these steps:

1. Launch Windows Event Viewer (you can search it in search box).

2. Expand Applications and Services Logs > Microsoft > Windows > Hyper-V Worker.

3. Click on Admin and check the events marked as Error.

Event viewer Hyper-V error

Now you can check the error details to find what exactly caused your problem. And in this article, I will introduce how to solve the Hyper-V error accordingly.

Before you start, if you worry about losing your important VM data, you can backup Hyper-V virtual machines in advance.

Solutions to the Hyper-V error: VM failed to change state

In general, there are 5 reasons why Hyper-V VM failed to change state:

In this section, I will provide solutions for these 5 causes correspondently. You can click the anchor text to jump to the part that suits your condition.

No free space on the disk where Hyper-V files are stored

Among most VM problems, the storage space issue is the most common and easiest one to resolve.

You should always monitor the disk space where Hyper-V VM files are stored. Since the dynamic disks and maintenance tasks consume space on the Hyper-V host regularly.

Especially Hyper-V checkpoints, creating too many snapshots or storing them for long time can lead to a rapid consumption of disk space.

Therefore, if you don’t have enough disk space, the first thing you should check is that have you deleted the checkpoints timely and properly.

ISO image mounted to the VM is misconfigured or not found

If you move or delete the ISO image from its original location, or migrate the VM to another host where the ISO file path is different, it can cause the Hyper-V VM unable to power on, and display VM failed to change state error. You should check and correct the ISO file path.

1. Launch Hyper-V Manager, right-click on the VM name and select Settings.

Open Hyper-V VM settings

2. Navigate to IDE Controller/SCSI Controller > DVD Drive.

3. Check and correct the ISO file path in Media > Image file:.

The network adapter of the VM is misconfigured

This error often happens when performing Hyper-V live migrations, you may have migrated your VM to an Hyper-V host where the virtual switch doesn’t exists. You can check it by:

1. Launch Hyper-V Manager, right-click on the VM name and select Settings.

2. Navigate to Network Adapter, and check if there is a Configuration Error alert.

The VMMS on Hyper-V host is not running properly

In addition to the above 3 misconfigurations of Hyper-V VM settings, the bad running state of Hyper-V Virtual Management Service (VMMS) on Hyper-V host can also lead to this Hyper-V error.

1. Launch Windows Computer Management (you can search it in search box).

2. Expand Services and Applications, and click Services.

3. Find Hyper-V Virtual Machine Management from the right services list, and check if its state is Running.

Running Hyper-V Virtual Machine Management

4. If it’s not, you can right-click on it and select Restart.

The antivirus software blocked access to Hyper-V VM files.

Hyper-V must have full access to VM folders and files. However, sometimes some antivirus software may block access to Hyper-V VM files.

If none of the above methods can solve the hyper v failed to change state error, you can check your antivirus software settings and add the VM folder to the exclusions in your antivirus settings.

Summary

In general, there are 5 common reasons that may lead to the error on Hyper-V: VM failed to change state. According to these reasons, I introduced 5 solutions to the error in this article. Hope it can be helpful to you.

While using VMs, a small misconfiguration can lead to many errors or even data loss. In addition to the error I introduced today, you may also find your Hyper-V stuck in saved state.Therefore, it is necessary to back up your VMs regularly.

Here I recommend you a professional backup software AOMEI Cyber Backup, for it can backup multiple Hyper-V VMs with simple steps and affordable prices.