How to fix "Failed to allocate resources while connecting to a virtual network. The Ethernet switch may not exist"

Andrei Patsiomkin 25 Reputation points
2023-01-26T12:37:14.39+00:00

Any suggestion how I can fix it without resetting Windows?
hyper-v

I have tried everything basic like switching off and on Hyper-V, deleting and recreating virtual switches, using external and internal ones, resetting network adapters, even windows in-place upgrade and some other tricks I have found on the Internet but nothing helps. I have also tried with clean boot disabling all non-Microsoft services in msconfig. VM starts if no virtual switch is selected.

Just to note, I have another PC with basically the same Windows (cloned by Acronis) and everything is good there!

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

4 answers

Sort by: Most helpful
  1. Limitless Technology 44,211 Reputation points
    2023-02-01T11:04:52.77+00:00

    Hello

    Thank you for your question and reaching out. I can understand you are having query\issues related to Hyper-VM can not be started.

    1.Note the Virtual Machine ID that is listed in the error 0x80070005 (General access denied error).

    1. To give the Virtual Machine ID (SID) access to the .vhd or .avhd file, type the following command, and then press Enter:

    icacls <Path of .vhd or .avhd file> /grant "NT VIRTUAL MACHINE\ <Virtual Machine ID from step 1> ":(F)

    icacls "E:\VMs\VMName\Disk0.vhd" /grant "NT VIRTUAL MACHINE\5FC5C385-BD98-451F-B3F3-1E50E06EE663":(F)

    1. Start the virtual machine.

    Referece :

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/virtualization/hyper-v-virtual-machine-not-start-0x80070005

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

    0 comments No comments

  2. Limitless Technology 44,211 Reputation points
    2023-02-01T11:05:02.9533333+00:00

    Double post

    0 comments No comments

  3. jordy Verheijen 0 Reputation points
    2023-03-28T21:58:59.8633333+00:00

    Unfortunately I am facing the same problem.

    I have tried all that OP tried.

    Did you manage to fix it Andrei?

    0 comments No comments

  4. VIDICAN VLAD-RADU 0 Reputation points
    2023-03-30T14:01:43.27+00:00

    Hello, have you found a solution?

    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.