Q. I'm receiving a ResourcePath error when importing a virtual machine (VM) into Hyper-V. What's wrong?

A. Recently, I received a bunch of exported VMs but none of them would import. I received the error

Import failed. Number of parameters supplied for resource paths are not consistent. You should have a SourceResourcePath entry for every CurrentResourcePath entry in import structure.

Fortunately, the solution is easy. Open the EXP export file and search for CopyVmStorage. Change the value from FALSE to TRUE and the VM should import with no problem.

Replace:

&lt;PROPERTY NAME="CopyVmStorage" TYPE="boolean"&gt;&lt;VALUE&gt;<span style="color: #ff0000;">FALSE&lt;/VALUE&gt;&lt;/PROPERTY&gt;


with:

&lt;PROPERTY NAME="CopyVmStorage"&gt;&lt;VALUE&gt;
TRUE
&lt;/VALUE&gt;&lt;/PROPERTY&gt;
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish