How to Reset Winsock

windowsWhen you have network connectivity problem and you have done all the checking like LAN cable check, switch/router power-cycle and yet you are still unable to get an IP address from your DHCP server or It shows limited network connectivity. Then, you might need to reset your winsock. This winsock fix will restore the winsock related libraries to its stock state.

Winsock is a Microsoft Windows DLL file that provides the interface to TCP/IP services, essentially allowing Windows to use Web browsers, FTP programs, and others.

Here’s how to reset your winsock in windows XP / 200(x)

1. Open the command prompt

2. Type in “netsh winsock reset” (without the quotes)

3. After resetting winsock, Restart your computer.

That’s it, you have successfully reset your winsock.

For those who likes to use the click and fix solution, you can download the Winsock XP Fix utility from here.

Your comments are always appreciated so feel free to leave them on the comment box.

Permalink • Print • Comment

Trackback uri

http://seoroot.com/blog/networking/how-to-reset-winsock.html/trackback

Related Entries

11 Comments on How to Reset Winsock »

vimal @ 12:10 am:

i want to reset firewall what is the command for this setting

mikeb505 @ 3:46 pm:

i typed in Command Prompt “netsh winsock reset” (without the “) but it said this: Initialization Function InitHelperDll in NSHHTTP.DLL failed to start with error code 10107
The requested operation requires elevation

help please

waseem @ 1:27 am:

very usefull

George @ 8:45 am:

Sounds like you need to be an admin to run the winsock reset function. This usually happens when you are running in vista. You need to go to start / all programs / assocories

THen right click on command prompt

Click run as administrator

You should be able to run the command at that point.

Itai @ 5:02 am:

Can you please ellaborate on what is it that actually being reset?

Is it a kind of “reset to initial configuration” kind of action?

I am asking that beacuse I don’t understand the point in winsock reset if I then restart the computer?

10X in advance
Itai

garrett @ 10:31 pm:

ive heard of this before you are reseting the ip or somthing so it links up with the right one when it reconnects i believe

crynbox @ 1:42 am:

it’s simple all u have to do is run it as admin.go start then RUN type cmd in the box and you will get a dos command window look on the task bar and right click the cmd icon and then choose command prompt right clicking on it left click on run as admin copy paste your command enter hope it helps

Maurice Forde @ 8:16 am:

Thank you, thank you, thank you it worked a treat !

Frank Romero @ 4:25 pm:

Very Helpful I am a Technician at Staples and found this very useful as a last option of troubleshooting

rajkiran @ 9:29 am:

guys am tech support executive for verizon dsl…..

and i recently came across these problems with the lan saying limited or no connectivity

the best solution is netsh winsock reset

but yeah sometimes enabling and disabling the lan would work

but uninstalling and re-installing the LAN drivers will not fix the problem ….you can avoid this step

sometimes typing ipconfig /release and ipconfig /renew would also fix

soo jus to reduce the time for the limited or no connectivity issues best option is go to command prompt and type netsh winsock reset

Leave a Comment