TCP/IP Stack Reset

suggested for Windows 10:

netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns

//batch script alternative//

echo "Starting networking stack reset"
cd %windir%\system32
netsh int ip reset c:\windows\temp\resetlog.txt
netsh winsock reset
netsh int ipv4 reset
netsh int ipv6 reset
echo "Networking stack reset"
PAUSE
shutdown -r -f -t 03

//batch script//