﻿
REM Sbros marshrutov
route -f
route delete *

REM Sbros ipconfig
ipconfig /release
ipconfig /renew
ipconfig /flushdns

REM Sbros DNS, winsock 
netsh int ip reset c:\resetlog.txt
netsh interface ip reset C:\resetlog.txt
netsh winsock reset
netsh winsock reset catalog

REM Vostanovlenie hosts
attrib %windir%\system32\drivers\etc\hosts -r -a -s -h
del /f /q %windir%\system32\drivers\etc\hosts
echo 127.0.0.1 localhost > %windir%\system32\drivers\etc\hosts
attrib %windir%\system32\drivers\etc\hosts +r +a +s +h

echo -------------------------------------------
echo Gotovo! Peregruzite comr. OS peredaem v Telegram - @mutagarov
ver 1.1
pause