Tip: Reset your XP TCP-IP stack.

When the PC will not connect to the web, sometimes this needs to be done, especially if the PC wa infected recently.

Author: Neil Patterson :: 2024 Expertek
Views: 1942 - Updated 6/23/2015 11:03 am Print this tip

TCP/IP not working in Windows XP/2003

Problem: In Windows XP/2003, IPCONFIG /RENEW responds with "the RPC server is not available", and traditional reset procedures using 'netsh int ip reset' or 'netsh winsock reset' fail to resolve it.

Solution: uninstall TCP/IP, reboot, reinstall TCP/IP and reboot:

  1. Click Start, Run, type Regedit and click OK.
  2. Delete the following keys:
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Winsock
    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinSock2
  3. Close Regedit.
  4. Click Start, Run, type NOTEPAD %SystemRoot%\INF\nettcpip.inf and click OK.
  5. NOTE: In Window Vista and above, run this command from an elevated command-prompt. But first you must set the ownership of the INF folder to Administrators, then set Full Control to Administrators.
  6. Under the section [MS_TCPIP.PrimaryInstall], change Characteristics = 0xA0 to Characteristics = 0x80.
  7. Close Notepad and save the file.
  8. In Control Panel, open Network Connections, right-click Local Area Connection and click Properties.
  9. In the Properties dialog, click Install, Protocol, Add, click Have Disk and enter C:\WINDOWS\INF.
  10. Choose TCP/IP from the list.
  11. Note: This will bring you back to a properties screen, but now the Uninstall button is available.
  12. Highlight TCP/IP and click Uninstall.
  13. Reboot. (Note that a lot of services will fail on startup.)
  14. In Control Panel, open Network Connections, right-click Local Area Connection and click Properties.
  15. In the Properties dialog, click Install, Protocol, Add, click Have Disk and enter C:\WINDOWS\INF.
  16. Choose TCP/IP from the list.
  17. Reboot.

Back to the TechTips Index | Windows Index

Did you enjoy "Reset your XP TCP-IP stack."??

If you Liked it, SHARE IT!



Ask a question, or Leave a comment below!