Repair TCP/IP Protocol Suite Errors
If you cannot connect to the Internet, the TCP/IP protocol may have been corrupted, and you may have to reset TCP/IP. This has the same effect as removing and reinstalling TCP/IP.  TCP/IP (Transmission Control Protocol/Internet Protocol) is the basic communication language or protocol of the Internet. It can also be used as a communications protocol in a private network (either an intranet or an extranet).  TCP/IP is the suite of communications protocols used to connect hosts on the Internet. TCP/IP uses several protocols, the two main ones being TCP and IP. TCP/IP is one of the core components required by your Windows computer to connect successfully to the Internet.


Symptoms

When you try to release and renew the IP address by using the Ipconfig program (Ipconfig.exe), you may receive one of the following error messages.

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


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



When you start Internet Explorer, you may receive the following error message:

The page cannot be displayed



When you use your computer, you may receive the following error message:

Initialization function INITHELPERDLL in IPMONTR.DLL failed to start with error code 10107


Additionally, you may have no IP address or no Automatic Private IP Addressing (APIPA) address, and you may be receiving IP packets but not sending them.


When you use the ipconfig /renew command, you may receive the following error messages.

Message 1
An error occurred while renewing interface local area connection: an operation was attempted on something that is not a socket. Unable to contact driver Error code 2.


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


Message 3
The attempted operation is not supported for the type of object referenced.


In Device Manager, when you click Show Hidden Devices,  the TCP/IP Protocol Driver is listed as disabled under Non-Plug and Play drivers,  and you receive error code 24.


When you create a dial-up connection, you may receive the following error message:

Error 720: No PPP Control Protocols Configured



These issues may occur if the Winsock registry keys are damaged or corrupted.

The ResetNetworkCompenents.bat batch script file can be use to reset TCP/IP protocol suite.