Windows ipconfig does not show anything

Mon Jan 05 18:32:50 -0800 2009

I had a Windows XP system (service pack 2) that would only return “Windows IP configuration” and then nothing, no indication of network disconnection nothing, well, there’s a good fix for it.

The system wouldn’t pickup an IP address from DHCP, it was like it was just confused.

You can do the following at a CMD prompt to reset the network configurations:

1
2
C:\> netsh winsock reset catalog
C:\> netsh int ip reset reset.log

The first line resets all the WINSOCK entries to their defaults, the second line resets all the TCP/IP entries to their defaults.

The first one will ask you to reboot, don’t. Do both commands and then reboot your system.

Once I did this, the computer got it’s DHCP address again quite happily.

blogLater

Mikel

  1. Ben Says:

    This worked perfectly! Thanks for the solution.

  2. rberke Says:

    I could only get to the internet in safe mode with networking. Even running msconfig and disabling all non microsoft services didn’t work. I spent 4 hours on the problem with no luck. 3 minutes after finding your website the problem was solved. Thanks, thanks and more thanks

  3. Martin Says:

    Thanks a lot!

    After many many attepts to solve this problem and reading many forums, this is the only one working solution!

    thanks again

  4. rberke Says:

    I have discovered that a reboot is not always required.

    I suggest adding a 3rd command like: netsh winsock reset catalog netsh int ip reset reset.log ipconfig /renew

    Also, future researchers might those 3 commands useful in resolving these related error messages on an XP Pro service pack 3 machine: “connection failed” and “there was a problem connecting to the TPM (security device) on this computer” I also suspect the problem might originate from Trend Worry Free anti virus, but I have not pinned it down.

  5. Rayne Says:

    only two words… thank you.

  6. Rolly Says:

    awesome man.. this actually solved my problem. thanks man!

  7. Mike Hamilton Says:

    I had tried just aboiut everything and was ready to give up. Then I found your resolutiuon. Thanks I haven’t run it yet because I’m at work but as soon as I get home I’ll run it.

  8. RS Says:

    Wow! This worked like a charm! I changed the keyboard on my dell laptop and I was afraid I fried the network adapter in the process. But, the steps outlined here had me up and running in a couple minutes. Thanks so much!!!

  9. Aaron Says:

    Really pleased that this worked for me! These simple steps helped get me back online. Thanks!

  10. Micheal Says:

    Thanks for the tip, worked like a charm.

  11. Warren Stark Says:

    That was great. Thanks for the fix.

  12. Khim Says:

    Thank you very much!!!!!!!! Tried everything the whole day and you solve this in 10 Minutes!!!!!!

    You save the world!!!

  13. John H Says:

    Thanks. After10 minutes of panic I did a search and found this solution and problem resolved in 5 min. This happened after apply Oct. round of windows patches.

  14. ciprian Says:

    It works great!
    Thank you!

  15. Shobhan Says:

    I have vista.
    First command returns this.
    “The requested operation requires elevation.”

    Still facing the same problem.

  16. mike k Says:

    Thanks! This worked perfectly and quickly! McAfee installed a new version on my desktop yesterday and upon rebooting, I could no longer connect to the internet. McAfee was absolutely no help. They told me it was my internet provider’s issue even though I had a laptop (with the new McAfee) working without issue.

    This was a godsend! Thanks again!

  17. Sherko Says:

    This was the only solution that really worked.
    THANK YOU

  18. JBoy Says:

    Magic…thank you

  19. Rafael Miranda Says:

    Thanks man.

    I have tried a lot of things and nothing help me

    I was thinking about format my pc and u save me ;)

    Thanks a lot.

  20. Linda K Says:

    Thank you! This really helped one of my colleagues today.

  21. Michael T Says:

    Well done – this worked perfectly. Fixed my issues immediately after an hour or so of frustration. Thanks again

  22. autodveja Says:

    I had tried just aboiut everything and was ready to give up. Then I found your resolutiuon. Thanks I haven’t run it yet because I’m at work but as soon as I get home I’ll run it.

  23. niloy Says:

    hello

    this did not work for me …. I can surf in safe mode so I know my drivers are ok maybe winsock is messed up but not sure where to start..

    Plz advice

  24. wawan Says:

    Thank you.. work perfectly on my boss toshiba laptop

  25. Momo Says:

    Thank you man … works like charm

  26. Ray Says:

    Thanks very much. Great tip!

  27. Jim Miller Says:

    Thanks for the tip worked great! I wish i found it sooner :)

  28. Mark Chuah Says:

    I was having issues with my Linksys wireless adapter which keeps on saying “You are connected to the access point but not the Internet”. I also could not see anything when I run ipconfig. After running the two lines and rebooting, ipconfig and internet connection is back and up. Thanks!

  29. Jeff Says:

    Add me to your grateful list .. fixed a ThinkPad R51.

  30. vj Says:

    I had this problem in my virtual box. This fixed the problem. Thanks.

  31. joe Says:

    thanks mate that was awsome phone some tech company and they tried charging 109.99 thanks again

  32. Anja Says:

    Worked for us as well!

  33. rberke Says:

    Mikel, your post saved me so many times that I put the following macro onto my desktop
    =====

    Echo off
    echo .
    echo This will reset Window IP configuration, then SHUTDOWN your machine.
    Echo FIRST make sure Outlook and other applications are closed then hit Enter to shutdown.
    echo .
    pause
    echo If the machine does not shutdown after 1 minute, reboot it manually.
    netsh int ip reset reset.log
    netsh winsock reset catalog
    shutdown -s -f -t 02

    ======

    I take my Lenovo t43p home every night, so it gets turned off and on twice a day. About every 2 weeks the ipconfig problem reoccurs so I put together the batch file. Yesterday I gave it to a friend who had the same problem on a Lenovo t61 and it saved him also.

  34. sheila Says:

    Great! works perfect – gateway xp service pack 3

  35. Herc Says:

    Thanks for your help. It worked.

  36. dfhdfh Says:

    I had tried just aboiut everything and was ready to give up. Then I found your resolutiuon. Thanks I haven’t run it yet because I’m at work but as soon as I get home I’ll run it.otwcroec sd vistanekol gh puxdipve gh gkantinlen

  37. Bin Patoo Says:

    Perfect! It has worked.
    Thanks.

Leave a Reply