Home Page

Home Page
How to Search the Query

Sunday 23 February 2014

How to reset winsock, Windows Socket in windows

Steps to Reset Winsock by using command prompt in windows.

 
Step
Start > Run > cmd  and Hit ENTER To open command prompt window
 
Enter below commands one by one and HIT ENTER 
netsh
winsock
reset

The windows winsock successfully reset.


Step 2 create batch file to reset winsock 

 
Open Notepad > copy all below commands and save the file as a winsock.bat (You need to remove ".txt "ext. and assign ".bat" )
Note : You must copy all the commands starting from the "@echo off" to "exit" in the batch file

@echo off

:intro
color 1F
@echo off
cls

echo.
echo.
echo             Most of the Internet connectivity problems arise out 
echo.
echo              of corrupt Winsock settings. Windows sockets settings
echo.
echo                 may get corrupted due to the installation of 
echo.
echo              a networking software, or perhaps due to Malware 
echo.
echo            infestation. You will be able connect to the Internet,
echo.
echo             but the packets won't transfer back and forth. And     
echo.
echo              errors such as Page cannot be displayed may occur 
echo.
echo           when using Internet Explorer. This tool will reset your
echo.
echo             Winsock and repair your internet connection.
echo.
echo           These changes will not take effect untill you reboot.
echo.
echo         Press Y then ENTER to begin or If you prefer NOT to reset it.
echo.                    
echo                 Press N then ENTER to close this program.
echo.
echo                  When complete your system will reboot.



@echo off
:choice1
set /p choice=Select Y or N:
set choice=%choice:~0,1%
if "%choice%"=="y" goto repairws
if "%choice%"=="Y" goto repairws
if "%choice%"=="n" goto end
if "%choice%"=="N" goto end
echo invalid choice
GOTO choice1

:repairws
netsh int ip reset resetlog.txt
shutdown -r

:end
exit
 
_____________________
Searches Related Links:
Reset winsock
how to repair and reset the windows
how to repair internet connection
how to corrupt windows files
how to reset winsock in windows 7

No comments:

Post a Comment

Thank you for logging in.. Waiting for your valuable views.