Skip to main content

How to Repair Winsock 2

These guide will show you how to repair Winsock 2. Well as you might or might not know the symptoms when Winsock2 is damaged show when you try to release and renew the IP address using IPCONFIG...

And you get the following error message:

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

Also Internet Explorer may give the following error message:
The page cannot be displayed 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.

There are two easy ways to determine if Winsock2 is damaged:

From the XP source files, go to the Support / Tools directory

Winsock Test Method 1
Run netdiag /test:winsock

The end should say Winsock test ..... passed

Winsock Test Method 2


Run Msinfo32
Click on the + by Components
Click on the by Network
Click on Protocol
There should be 10 sections if the Winsock2 key is ok
MSAFD Tcpip [TCP/IP]
MSAFD Tcpip [UDP/IP]
RSVP UDP Service Provider
RSVP TCP Service Provider
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...
MSAFD NetBIOS [\Device\NetBT_Tcpip...

If the names are anything different from those in this list, then likely Winsock2 is corrupted and needs to be repaired.
If you have any 3rd party software installed, the name MSAFD may be changed.
There should be no fewer than 10 sections.

To repair Winsock2

Run Regedit
Delete the following two registry keys:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Winsock2

Restart the computer
Go to Network Connections
Right click and select Properties
Click on the Install button
Select Protocol
Click on the Add button
Click on the Have Disk button
Browse to the \Windows\inf directory
Click on the Open button
Click on the OK button
Highlight Internet Protocol (TCP/IP)
Click on the OK button
Reboot (Don't forget)

Do contact me if you have any Problem.

Comments

Popular posts from this blog

How to SLIC - BIOS. Vista, Windows 7

Note: This tutorial is Only for those who have AMI or AWARD Bios, for those who have Phoenix Bios please Google there are a lot of tutorial out there in the forest. To activate a Microsoft Operating System as an OEM (Original Equipment Manufacturing) - SLIC version should match the particular Windows Operating System installed. For Example, Slic v2.0 for Windows Vista, SLIC v2.1 for Windows Vista and Windows 7). - OEM SLP Produc t Key that matches the version of Windows installed Only SLP product key will work, Volume Licensing and Keys Retail Keys will never work. Any SLP product key, the Certificate (Company Cert. e.g Dell, HP, Acer, Lenovo etc. ), and the Slic (Particular Company Slic. e.g Dell, HP, Acer, Lenovo etc.) should always be the same . Downloads Bios Your original Motherboard Bios Tools AMI Tools - Click Here For those who have AMI Bios Award Bios Tools - Click Here For those who have Award Bios Certificate and Slic bin Certificate - Click here Slic ...

How to Unbrick Moto G – Soft Brick Case on android Lollipop

How to Unbrick Moto G – Soft Brick Case First of all, download the firmware compatible to your device Moto from  this page. Now download and install the RSD lite application [ here ] in your computer. It’s similar to flash tool as in Xperia devices. Once it’s installed, open the firmware package and open the  .XLM file from package using Notepad.  Note to backup the file for precaution. In notepad, search for this line ”  step operation = “getvar ” ”  and delete the line and save the file. Now open the RSD lite software and load the edited (and saved) .XLM firmware. Switch off your phone, boot into bootloader mode and connect to the PC. Now click the Start the button in the RSD software. Once it’s flashed the firmware, disconnect your phone switch on. You’re on the stock version now. Relief!!! Please let me know if you have any problem or other solution you can share.

How to make the Best Compressing using WinRAR

FIRST What were going to do is to set up your options correctly. Open WinRAR OPTIONS | SETTINGS | COMPRESSSION | CREATE DEFAULT GENERAL | (ok now that we're there, here's what U do next) But 1st -> realize that everything U set on the default profile will occur everytime U rar files. So if U only need a password occasionally, or other special settings, then create another profile for those purposes. U can change which profile U need to use when WinRar is open. The Default profile is used otherwise, such as when using WinRar from the context menus in explorer. General tab: Archive format RAR Compression method BEST size (enter in BYTES the size you want as the max single Rar file). I use 51,200,000 (50,000 KB x 1024). But chose yer max size as U wish. Update method ADD AND REPLACE FILES Archiving options: check > PUT RECOVERY RECORD Archiving options: check > TEST ARCHIVED FILES. Archiving options: check > DELETE FILES AFTER ARCHIVING ( unless U want yer HDD to fill ...