Start, Run, CMD to open a command prompt: Reset TCP/IP stack to installation defaults. netsh int ip reset reset.log Reset WINSOCK entries to installation defaults: netsh winsock reset catalog Reboot the machine. 
 I can't connect to the internet using the hard connection or wireless connection. Windows 7, Dell Studio laptop. Both lights are yellow on my NIC card.   NOTE: I am only moderately technical - I just read these instructions on the internet and don't really know what I'm doing. I figure there's something wrong with drivers, but am not sure. Here's what I've tried so far: Looked in Device Manager and nothing had yellow exclamation points. Also restarted some LAN looking services in component services in administrative tools. I tried the IP renew on the CMD line and lots of things say "Media disconnected" including my Wireless LAN adapter, Ethernet adapter local area connection 2, ethernet adapter bluetooth network connection, and 6 tunnel adapters. I tried ipconfig and the IP configuration doesn't have a dns suffix, the ethernet adapter local area connection doesn't have a default gateway, the wireless lan adapter has information, the tunnel adapter teredo tunneling pseudo-interface has information, but everything else says "media disconnected". Then I did flushdns and it successfully flushed the dns resolver cache. then I did showclassid local and it said "the operation failed as no adapter is in the state permissible for this operation". I'm at a loss, except for reinstalling windows, which i am hoping i don't have to do. does anyone have the magic answer? TIA    
Media state disconnected and can't connect to the internet