Problem IPconfig

Ask a question
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>

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.

Solution

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:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock  
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2


Then import the content of the above mentioned keys from another computer.
Jean-François Pillou

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

Learn more about the CCM team

Related