How to fix IP config and media disconnected errors

London Cole 0 Reputation points
2026-09-04T20:56:28.32+00:00

I am connected to my wifi but have no internet. I have tried many fixes uninstalling my wifi adapter, updating drivers, and cmd prompts, but when i do the command prompts i run into “cannot operate while media is disconnected” please help me get out of this cycle

Windows for home | Windows 10 | Internet and connectivity

1 answer

Sort by: Most helpful
  1. AI answer

    2026-09-04T20:56:45.3733333+00:00

    Since uninstalling the Wi-Fi adapter, updating drivers, and command prompts were already tried, use this order to break the loop:

    1. Run the network reset commands again in an elevated Command Prompt:
      • netsh winsock reset
      • netsh int ip reset
      • ipconfig /release
      • ipconfig /renew
      • ipconfig /flushdns
      Open it from Search by typing Command prompt, then select Run as administrator > Yes.
    2. If commands still report media disconnected, continue with driver reinstall instead of repeating the same commands.
      • Open Device Manager
      • Expand Network adapters
      • Find the Wi-Fi adapter
      • Right-click it and select Uninstall device
      • If available, select Delete the driver software for this device
      • Restart the PC
      This is low risk, but it temporarily removes network connectivity until Windows reinstalls the adapter after restart.
    3. If Windows does not reinstall a working driver automatically, install the backup or latest Wi-Fi driver from the PC manufacturer using another PC and a USB drive if needed.
    4. If internet access is available through Ethernet, install the latest Windows updates afterward. On Surface devices, installing the latest updates and driver package is specifically recommended after reinstalling the adapter.
    5. If Wi-Fi stays connected but internet still fails, the next supported path is to continue with TCP/IP, DHCP, DNS, proxy, or firewall troubleshooting. The documented reset commands above are the first step for that path.

    A “media disconnected” result usually means Windows is not seeing an active network interface for that command at that moment, so repeating the same prompt commands alone usually does not fix it if the adapter or driver state is the real issue.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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