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!

Leave a Reply