Cannot create virtual switch Hyper-V (0x80070002)

29,810
  1. Go to Settings -> Network & Internet

  2. Select Change adapter options

  3. Right click on NIC Adapter -> Properties

  4. Check if the Hyper-V Extensible Virtual Switch is installed in your NIC's Properties

  5. Reinstall the Hyper-V Extensible Virtual Switch

    5.1 Select Install

    5.2 Select Protocol

    5.3 Select Hyper-V Extensible Virtual Switch

  6. Create the virtual switch on Hyper-V using the Hyper-V manager

Source: https://www.tenforums.com/virtualization/10699-hyper-v-error-when-creating-virtual-switch.html#post306179

Share:
29,810

Related videos on Youtube

Kedar Vaidya
Author by

Kedar Vaidya

Updated on September 18, 2022

Comments

  • Kedar Vaidya
    Kedar Vaidya over 1 year

    I get following error while creating any type(external, internal and private) of virtual switch on Hyper-V using Hyper-V manager.

    Failed to create virtual ethernet switch.

    The system cannot find the file specified. (0x80070002)

    Here is a to screenshot of error:

    enter image description here

    OS: Windows 8.1 (x64) + Update 1

    Getting the same error when trying to create from Powershell.

  • Tsukasa
    Tsukasa over 5 years
    Did not work for me. Server 2019.
  • G-Man Says 'Reinstate Monica'
    G-Man Says 'Reinstate Monica' over 4 years
    Even with my edits, I find your answer technically confusing and unclear. Please clarify which words are literal and which are placeholders. … … … … … … … … … … … … … … … … Please do not respond in comments; edit your answer to make it clearer and more complete.
  • devnullius
    devnullius almost 3 years
    Instant fix on my 180 Eval Datacenter 2019. I added Hyper-V but couldn't select a network adapter. Did this, and it worked. If your NetAdapterName is "Ethernet 2" you can just add "quotes" around it in the given command. Thanks!
  • iambr
    iambr over 2 years
    I had my wifi adapter already sharing, had to disable it first