hyper-v Saved-critical Unable to connect configuration storage with virtual machine

R.A.I.N.anku 叁原色 1 Reputation point
2022-05-13T00:59:58.297+00:00

For unknown reasons,201651-%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87-20220513085654.png two virtual machines in a saved state appear in Hyper-V and cannot be deleted. How to delete it?

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

4 answers

Sort by: Most helpful
  1. Ganesh Sonar 20 Reputation points
    2024-02-19T07:30:27.8933333+00:00

    Just delete content from this directory and restart Hyper-v management service - C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines Cache

    4 people found this answer helpful.

  2. ThioJoe 95 Reputation points
    2024-07-08T16:58:41.33+00:00

    I just had this problem. Turns out the "cannot connect to virtual machine configuration storage" error probably just means it can't find the virtual machine file(s). In my case the external SSD that I have all my VMs stored on had its drive letter changed somehow, and I didn't notice.

    Once I changed the drive letter back to what it was before, the Virtual Machines all were fixed in the list instantly.

    To see where the disk was before, with one of the problematic VMs selected in the Hyper-V window, on the right side under the "Actions" pane I hit 'Edit Disk', then in the 'Locate Disk' section it showed where it was expecting it to be, which made me realize the letter was wrong.

    Yes you could delete the cache folder like others have mentioned but be warned that will simply remove all the entries for your virtual machines, so you'd probably have to re-add them manually by selecting their disks and stuff - so make sure you can locate those files yourself in the first place.

    3 people found this answer helpful.
    0 comments No comments

  3. Philippe Levesque 5,796 Reputation points
    2022-05-13T02:14:04.427+00:00

    I cant read the printscreen, but make sure the VM is shutdown and that all snapsnots are gone.


  4. Limitless Technology 39,616 Reputation points
    2022-05-18T14:31:23.803+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having issues related to Delete VMs which are in Saved State.

    Please follow below steps to resolve the issue.

    Change the SAVE auto-off mode from saved state to shutdown or to power off - that should clear that state file.

    Then Open up the Hyper-V Manager.
    Right-click on the virtual machine that is having the issue to open up the drop-down menu.
    From there, click on the Delete Saved State option.
    Once the saved state has been deleted, try starting the VM again.
    If you face an error like “Operation cannot be performed while the object is in use“, restart the physical host and you should be good to go.


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.