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
Leave a Reply
Latest posts
- How to use Mail / ActionMailer 3 with GMail SMTP
- Put your mailer where the action is!
- Why Force a Choice?
- How to make an RSS feed in Rails
- Rails 3 Routing with Rack
- Bundle me some Rails
- Helping out in Haiti
- Watch your self
- Is Rails 3.0 a Game Changer?
- Where did the scripts go?
- validates :rails_3, :awesome => true
- New Rails Version 3.0 Guides Online
- New ActionMailer API in Rails 3.0
- Mail gem version 2 released
- How to rename a Rails 3 Application
- Rails 3.0 Examples
- DECCA Driving Day
- Mail now merged into ActionMailer
- Tip #29 - Stop a Mongrel (or any) Service in Windows
- Ruby on Rails Tips Page
- Monitoring a DAHDI or Zaptel Channel
- Mail gets some compliments!
- Rails Unit Tests: uninitialized constant error
- New Mail gem released
- Mail and Bounced Emails
- Mail, TMail, The Future of Ruby Email Handling
- Custom Music on Hold for Asterisk
- Always getting an invalid authenticity token error
- FreeBSD rc scripts
- How to monitor a logged in professional
- TMail Moves to GIT
- Funny...
- How to reset a sequence with PostgreSQL
- OpenBSD RAID and Temp Sensors on HP Proliant DL 360 and 380 Series
- Terminator - Timeout without Mercy
- Tip #28 - Separate the things that change from the things that stay the same
- Fortune...
- Examples of Behaviour Spec'n
- Tip #27 - Spec a Behaviour, Not an Implementation
- Tip #26 - Start Small
- Tip #25 - Logging is your friend...
- Tip #24 - Being clever in specs is for dummies
- Tip #23 - Know your fundamentals
- Convert Visual Basic / Microsoft Long Integer Color Values to CSS RGB Format
- It's amazing what you find...
- RSpec Story xhr problem
- Tip #22 - How to ask a question about Rails
- Tip #21 - Developer Info On Every Page
- And now for something completely different...
Latest comments
- FlyboyArt
Really nice writings up here bu...
- Emmanuel Oga
Nice and simple. Thanks for sha...
- Jamie Hill
Thanks for the writeup, much mo...
- Tony
Is there support for TLS ie gma...
- elizillerge
Tag Cloud
AJAX ARGH! ActiveRecord Ajax Apache Apple Asterisk Australia Copy Database Development Feedburner Gem server Google Human Rights Javascript L. Ron Hubbard MS SQL Server MacOSX Mail Mephisto Not Programming OpenBSD Opensource Performance Personal Integrity PostgreSQL Programming Prototype Puzzle RDoc REST RESTful Rails RSPec RSpec Rails Rails Tips Rspec Ruby Ruby on Rails Ruby on Rails Tips Ruby on rails Tips SQL SQLServer SVN Scientologist Scientology Site Stats Soekris Soekris net5501 TMail Textmate Tips Windows World about mikel anti drug apache contributing daemon documentation drugs illustrator javascript lambda mail mephisto newspapers nitro open source opensource photoshop productivity programming railscasts rspec ruby ruby on rails rubyforge scientology seo sitemap sqlserver tips tmail tom cruise unix tricks vector graphicsArchives
- November 2009 (1)
- October 2009 (2)
- September 2009 (2)
- August 2009 (0)
- July 2009 (1)
- June 2009 (0)
- May 2009 (1)
- April 2009 (0)
- March 2009 (0)
- February 2009 (0)
- January 2009 (2)
- December 2008 (0)
- November 2008 (5)
- October 2008 (0)
- September 2008 (1)
- August 2008 (0)
- July 2008 (2)
- June 2008 (13)
- May 2008 (7)
- April 2008 (18)
- March 2008 (8)
- February 2008 (5)
- January 2008 (7)
- December 2007 (20)
- November 2007 (22)

Mon Jan 19 23:52:48 -0800 2009
This worked perfectly! Thanks for the solution.
Sat Jan 24 21:28:18 -0800 2009
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
Mon Feb 02 04:20:15 -0800 2009
Thanks a lot!
After many many attepts to solve this problem and reading many forums, this is the only one working solution!
thanks again
Fri Feb 06 13:56:37 -0800 2009
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.
Thu Mar 12 15:20:58 -0700 2009
only two words… thank you.
Thu Jun 04 10:01:35 -0700 2009
awesome man.. this actually solved my problem. thanks man!
Mon Jun 08 07:34:10 -0700 2009
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.
Fri Jul 17 12:10:59 -0700 2009
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!!!
Thu Aug 27 07:22:12 -0700 2009
Really pleased that this worked for me! These simple steps helped get me back online. Thanks!
Mon Sep 07 15:15:14 -0700 2009
Thanks for the tip, worked like a charm.
Thu Oct 01 10:24:55 -0700 2009
That was great. Thanks for the fix.
Thu Oct 15 10:26:50 -0700 2009
Thank you very much!!!!!!!! Tried everything the whole day and you solve this in 10 Minutes!!!!!!
You save the world!!!
Sat Oct 17 14:13:54 -0700 2009
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.
Mon Feb 01 07:28:43 -0800 2010
It works great!
Thank you!