Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 8743

Problem renaming a vm's data root folder in Hyper-V 3.0

$
0
0

I keep my virtual hard disk .vhdx files and Virtual Machines folders together in a single folder for each vm.  This folder is not the Hyper-V default.  I want to organize folders and files better using a naming convention. 

I can change the name of the .vhdx and then change the hard drive setting in Hyper-V and have the vm start up OK.  But when I change the name of the folder containing it and the Virtual Machines folder the vm no longer starts up.  (if I understand correctly, the folder that I am trying to rename is called the data root.)  I tried modifying the configuration xml file manually but to no avail.

At first I was getting a Critical-Off status in the Hyper-V Manager so I undid the rename.  Now the Hyper-V starts the vm but fails with the message that the .vhdx file is in use. I have confirmed that no other vm is configured to use it. 

What does it take to rename a data root folder?  I could live with importing and exporting, which I am attempting now, but I would like to know it there is a simple way to rename the data root and have Hyper-V accept it.


Viewing all articles
Browse latest Browse all 8743

Trending Articles