hyper-v , anti-human operation, when delete a vm

金利 张 20 Reputation points

it's a really stupid operation when delete an exists vm. that's what i did.

i delete a vm this morning, then, i moved the vm (folder) to another folder , and tried to import it back ,

it said : no vm files found .

i looked up the vm folder , and found , all vm config files deleted.

why you guys just only delete the config files , but left vm disk files ? my vm OS is win 11, then vm disk files can't be opened.

why not "delete vm" will just delete the vm registed info from hyper-v , just like parallels desktop does ?

A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,873 questions
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,583 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dave Patrick 426.2K Reputation points MVP

    When you deleted the VM you deleted the configuration file so hyper-v doesn't know what to import. What you can do is create a new VM with an identical configuration as old one was, then when you get to step Connect Virtual Hard Disk choose Use an existing virtual hard disk and point to the VHD.


    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.