Sometimes you have to help friends or family with there computer problems. Very often the problem is malware. Nowadays malware is a pain in the ass. It disables firewall, anti-virus, antispy- malware programs and sometimes it corrupts your TCP/IP stack. In my case the TCP/IP stack got corrupt and the DHCP Client services would not start.
To recreate the TCP/IP stack I tried several things.
– Netsh int ip reset resetlog.txt >>> no effect
– Non-full reinstall of TCP/IP using only the have disk method. >>> no effect
– Netsh Winsock reset >>> no effect
– Winsockxpfix >>> no effect
– Reinstalling network card >>> no effect
Then I found a small article on the end of the internet how to reinstall TCP/IP. Below the steps to follow.
1. Locate the Nettcpip.inf file in %winroot%inf, and then open the file in Notepad.
2. Locate the [MS_TCPIP.PrimaryInstall] section.
3. Edit the Characteristics = 0xa0 entry and replace 0xa0 with 0×80.
4. Save the file, and then exit Notepad.
5. In Control Panel, double-click Network Connections, right-click Local Area Connection, and then select Properties.
6. On the General tab, click Install, select Protocol, and then click Add.
7. In the Select Network Protocols window, click Have Disk.
8. In the Copy manufacturer’s files from: text box, type c:windowsinf, and then click OK.
9. Select Internet Protocol (TCP/IP), and then click OK.
Note This step will return you to the Local Area Connection Properties screen, but now the Uninstall button is available.
10. Select Internet Protocol (TCP/IP), click Uninstall, and then click Yes.
Succesfull uninstallation of TCP/IP will remove numerous keys from the registry including:
These represent various interconnected and interdependant services.
You should also delete the following keys before reinstalling TCP/IP.
Reinstall of TCP/IP
Following the above substep #3, replace the 0×80 back to 0xa0, this will eliminate the related “unsigned driver” error that was encountered during the uninstallation phase.
Return to “local area connection”> properties > general tab > install > Protocol > TCP/IP
You may receive an “Extended Error” failure upon trying to reinstall the TCP/IP, this is related to the installer sub-system conflicting with the security database status.
To check the integrity of the security database
esentutl /g c:windowssecurityDatabasesecedit.sdb
There may be a message saying database is out of date
First try the recovery option
esentutl /r c:windowssecurityDatabasesecedit.sdb
If this don’t work for you, you needthe repair option esentutl /p c:windowssecurityDatabasesecedit.sdb
Rerun the /g option to ensure that integrity is good and database is up to date.
Now return to the “local area network setup”
Choose install > protocol > TCP/IP and try again