j0396118I had a very strange situation: 2 machines connected wireless to the same router. One was running like a charm, the other one got an IP from DHCP but no gateway and no networking was available on it.

First I thought it is something hardware. Since I had a dual-boot environment on that machine, I booted in Ubuntu and saw that I had also a gateway there and internet was working seamlessly. So it was all about Windows XP…

After lots of formus read, after reinstalling wireless card driver many times, I finally found a solution here, as
– in Windows XP SP2 some repair options were added through netsh command:

So, open a command prompt (Start->Run->type cmd):
1. Reset WINSOCK entries to installation defaults:

netsh winsock reset catalog

2. Reset TCP/IP stack to installation defaults:

netsh int ip reset reset.log

3. Reboot and test.

These commands are not deleting your current network configuration, but a suggestion would be to try just the first command first.
For me it solved the problem.

Good luck!

Related posts:

Tags: , , ,
6 Responses to “How to reset Windows XP WINSOCK and TCP/IP stack entries”
  1. Bantshabetse GareotseneNo Gravatar says:

    Could you please assist me with a detailed step-by-step instruction on installing Oracle 11g on Windows XP.

    i have been struggling with this for some months to date.

    Upon installing 11g and the starter database, the install continues normally, succeeding with the Oracle Net Configuration Assistant. However when the Oracle Database Configuration Assistant is run, 89% of the way through an error is thrown as follows:

    Enterprise manager configuration failed due to the following error –
    Listener is not up. Start the listener and run EM configuration again.
    Refer to the log file at C:\Oracle\cfgtoollogs\dbca\emConfig. Log for more details.
    You can retry configuring this database with Enterprise Manager later by manually running C:\Oracle\product\11.1.0\db_1\bin\emca script.



  2. andreiashNo Gravatar says:


    seems that is a problem with your listener. Can you check if you have a service called “Oracle[…]TNSListener” up and running?
    If True, please send the the output of the “lsnrctl status” command run through windows console (cmd).
    Else, you can run “netca” from console to recreate the listener. Any error will appear in the console.

    Will be great if you can tell me the result.


  3. paddieNo Gravatar says:

    Thank you! I have been having problems with my laptop losing internet connection after I uninstalled spyware virus software, and came across your blog.


  4. DakotaNo Gravatar says:

    Thanks so much, this helped me set up a school computer for a teacher.

  5. WIndows 8, how do i solve limited connectivity issues? | RMH-Mobile says:

    […] In that case follow this step by step guide: http://www.webxpert.ro/andrei/2009/03/02… […]

  6. BramanthaNo Gravatar says:

    Thanks, Yes, It really works, after My Win XP Sp3 laptop having problem to get the ip address from DHCP wifi router. usually I need to reboot the laptop when my wifi disconnected in order to get the ip address.

Leave a Reply