Wednesday, January 21, 2009

DHCP Error: Service provider could not loaded or initialized

I just had to fix a Windows XP machine that displayed the following error message in event log:

Event Type: Warning
Event Source: Dhcp
Event Category: None
Event ID: 1006
Description:
Your computer was unable to automatically configure the IP parameters for the Network Card with the network address XXXXXXX. The following error occurred during configuration: The requested service provider could not be loaded or initialized.

The computer did not receive any DHCP address and instead always used a automatically assigned one (169.x.x.x). Trying ipconfig /renew also resulted in the exact same message:

An error occurred while renewing interface Local Area Connection. The requested service provider could not loaded or initialized.

This has happened after the removal of an UMTS (3G) Network card. The solution is rather simple: Just enter

netsh winsock reset catalog (More information)

inside a command prompt After that command, the computer was back to normal.

13 comments:

  1. This worked for me very good. Thanks for the posting!!

    Philip

    ReplyDelete
  2. Fixed the issue perfectly, thanks for the help.

    Dave

    ReplyDelete
  3. Worked like a charm
    /ibrahim yetkin

    ReplyDelete
  4. Worked a treat - Although as I have a domain client, I had to remove from the domain and bring back into the domain without rebooting and then verify the PC was in the correct OU - worked well (y)

    ReplyDelete
  5. WoW! Thank you so Much for this! I hope I do not have to do this often?

    ReplyDelete
  6. Excellent. This worked perfectly. Thanks.

    ReplyDelete
  7. You're a life saver! Thanks a bunch.

    ReplyDelete
  8. Note: this fix also works in Win7 Enterprise... just used it to fix a machine with a cratered IP stack. THANKS!!!

    ReplyDelete
  9. I am running Windows 7 Home Premium. Could not access the internet, Home group was ALL fouled up. Peer Name, Network Group, etc. all goofed up and NOT starting. Used your little fix ( netsh winsock reset catalog) AND everything is now running like a charm!! Thank you.

    ReplyDelete
  10. Thanks, worked like a charm on Win7 netbook that all of a sudden couldn't get DNS info.

    ReplyDelete
  11. Worked for my old xp machine!! Thank you so much. Tried to search so many things. Not sure what caused this problem. But i guess it was due to my antivirus s/w

    ReplyDelete