Since uninstalling the Wi-Fi adapter, updating drivers, and command prompts were already tried, use this order to break the loop:
- Run the network reset commands again in an elevated Command Prompt:
-
netsh winsock reset -
netsh int ip reset -
ipconfig /release -
ipconfig /renew -
ipconfig /flushdns
-
- 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
- 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.
- 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.
- 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.