HOWTO reset TCP/IP stack by command line

Open a Command Prompt with administrative access rights, and execute the following commands:

netsh winsock reset catalog
netsh int ip reset reset.log

Then, a reboot is needed.