The entire error message says something like this: At first, you need to know why Hyper-V displays such an error message while creating a virtual machine and installing an operating system. You might already know that you need to enter a name for your virtual machine whenever you create one, and it is possible to create multiple virtual machines on Hyper-V. Failed to create the virtual hard disk. By default, Hyper-V uses the virtual machine name as the virtual hard disk name. For instance, if you name the virtual machine My virtual machine, the name of the virtual hard disk will be My virtual machine.vhdx. Let’s assume that you have created a virtual hard disk with the same name as you are using now for the current virtual machine. If so, Hyper-V will show you the error message as mentioned above. That being said, you have two options to get rid of this problem – either delete the old virtual hard disk or set a different name for the current virtual machine.
The Virtual Machine Management service encountered an error, 0x80070050
To fix The Virtual Machine Management service encountered an error while configuring the hard disk issue, follow these steps: To learn more about these steps, continue reading.
1] Delete old virtual hard disk
There are some pros and cons of deleting the old virtual hard disk or using this method to get rid of the aforementioned error message. The advantage of using this method is that you will be able to free up some space and unclutter the directory. However, the problem starts when you have some important information in the virtual hard disk, which you will be using in the future. However, if the old virtual hard disks are no longer in use, you can certainly delete them. For that, do the following:
Open the File Explorer on your computer.Navigate to this path: C:\Users\Public\Documents\Hyper-V\Virtual hard disksSelect the virtual hard disk you want to delete and right-click on it.Select the Delete option.
Once done, you can use the same settings to create another virtual hard disk on Hyper-V.
2] Set different name for the current virtual hard disk
In case you have some problems deleting the old virtual hard disk, you need to set a different name for your VHDX file. It is a much easier method to get rid of this issue. To set a name for the virtual hard disk, follow these steps:
Go with the virtual machine creation process on Hyper-V.Go to the Connect Virtual Hard Disk tab.Select the Create a virtual hard disk option.Click on the Name box.Enter a name with .vhdx Make sure the name is different from the previous name.
After that, you can create the virtual hard disk without any issue.
How do I fix The Virtual Machine Management service encountered an error while configuring the hard disk?
To fix The Virtual Machine Management service encountered an error while configuring the hard disk, you need to either delete the old virtual hard disk file or set a new name. There is no other option except these two things in order to get rid of this issue on Hyper-V. The detailed steps are mentioned above, and you can follow them to get the job done. Hope this guide was helpful.
Hyper-V encountered an error while loading the virtual machine configurationHyper-V encountered an error while copying virtual hard disks to destination folder.