Problem IPconfig

October 2016

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.
<a href=''></a>


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.

Related :

This document entitled « Problem IPconfig » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.