A few words of thanks would be greatly appreciated.

Problem IPconfig

The ipconfig command can be used to release and renew an IP address assigned to the computer from a server such as an ISP Server. Problems with the ipconfig command can occur if the internet access is not functioning properly. If the computer is connected to the internet, the netsh winsock reset command can be run from the command prompt to repair the winsock registry keys. The Windows XP SP2 must be installed for the netsh command. For operating systems that do not have the Windows XP SP2 installed, the Winsock entries have to be manually deleted from the Windows registry to solve the IPconfig command problem.



When executing the following command to Start> Run>

ipconfig /renew  

The below error message displays on your screen:

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

An error occurred while renewing interface 'Internet': An operation was attempted on something that is not a socket.

The operation failed since no adapter is in the state permissible for this operation.


1. Administrator
Ensure that you are logged on as Administrator.

2. Verify if internet access is functioning

Internet access not functioning

3. Ensure that your computer is connected to the internet.

4. Repair Winsock Registry keys

Under Windows XP SP2

Go to menu start and select Run.

Copy/paste the following command:

netsh winsock reset

See below image:-

For previous Operating system:

Open the Registry Editor by :

Menu Start/ Run and type regedit.(see below image)

Scroll to the following keys and delete it:


Then import the content of the above mentioned keys from another computer.

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.


This document, titled « Problem IPconfig », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).