Ethernet media disconnected after enabling Virtual Machine Platform

Ahmed Jabir Zuhayr 1 Reputation point
2020-07-31T13:21:16.1+00:00

I enabled WSL and VMP from Windows Features. But after the restart, Windows showed my ethernet cable is disconnected. ipconfig shows the ethernet media is disconnected.

14904-image.png

It fixes itself after I disable Virtual Machine Platform (WSL2). WSL1 works fine.

I've tried

1) Updating Killer Network drivers to the latest version.
2) Enabling VMP but disabling WSL
3) Enabling Hyper-V Manager (Screenshots below)
14856-image.png

Some more screenshots

1) Network Manager
14866-image.png

2) ipconfig /all output after enabling VMP
14884-image.png

3) ipconfig output after disabling VMP
14826-image.png

Additional Information:

Windows Build: Microsoft Windows [Version 10.0.19041.388]
First time enabling WSL/2
Github issue: https://github.com/microsoft/WSL/issues/5676

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

2 answers

Sort by: Most helpful
  1. MisterJ 136 Reputation points
    2020-07-31T18:10:13.727+00:00

    AhmedJabirZuhayr, huh? The address you saw is 169.254 not 169.154. Please search this and you will see it is special error address needing attention. Your second post makes no sense to me because I did not say to use Power Shell. I use a Command Prompt and get none of these errors. See here:

    C:\Users\John>netsh int ipv4 reset
    Resetting Compartment Forwarding, OK!
    Resetting Compartment, OK!
    Resetting Control Protocol, OK!
    Resetting Echo Sequence Request, OK!
    Resetting Global, OK!
    Resetting Interface, OK!
    Resetting Anycast Address, OK!
    Resetting Multicast Address, OK!
    Resetting Unicast Address, OK!
    Resetting Neighbor, OK!
    Resetting Path, OK!
    Resetting Potential, OK!
    Resetting Prefix Policy, OK!
    Resetting Proxy Neighbor, OK!
    Resetting Route, OK!
    Resetting Site Prefix, OK!
    Resetting Subinterface, OK!
    Resetting Wakeup Pattern, OK!
    Resetting Resolve Neighbor, OK!
    Resetting , OK!
    Resetting , OK!
    Resetting , OK!
    Resetting , OK!
    Resetting , failed.
    Access is denied.

    Resetting , OK!
    Resetting , OK!
    Resetting , OK!
    Resetting , OK!
    Resetting , OK!
    Resetting , OK!
    Resetting , OK!
    Restart the computer to complete this action.

    I ignore this:
    Resetting , failed.
    Access is denied.

    I would suggest not messing around in the Registry! Enjoy, John.

    1 person found this answer helpful.

  2. MisterJ 136 Reputation points
    2020-07-31T15:46:20.92+00:00

    AhmedJabirZuhayr, please try this in an Administrative Command Prompt: netsh int ipv4 reset, then again for ipv6 and Restart. Enjoy, John.