can not delete a VM from hyperv manager GUI

传升 陈 1 Reputation point
2022-09-21T04:03:47.153+00:00

After I moved the VHD file corresponding to the virtual machine “win10LTSC”.
The virtual machine is not available, and the summary about the virtual machine is incorrect.

I want to delete the “win10LTSC” the virtual machine in HyperV manager.

But right click does not have delete option, only help option.

What should I do to delete it (“win10LTSC” the virtual machine)?

243158-%E6%9C%AA%E5%91%BD%E5%90%8D1663733163.png

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,506 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. rafalzak 3,216 Reputation points
    2022-09-21T06:14:54.457+00:00

    Hi @传升 陈 ,

    Please open powershell as admin and run below commands:

    1) get-vm - this command should display your vm in powershell
    2) remove-vm -name win10LTSC -force - this command should remove your vm

    Please upvote or accept as answer if it helped.


  2. Affan Pratama 0 Reputation points
    2023-03-22T14:38:32.8466667+00:00

    thank you, It's works

    0 comments No comments