One of the components of the Internet connection on your computer is a built-in set of instructions called TCP/IP. TCP/IP can sometimes become damaged or corrupted. If you cannot connect to the Internet and you have tried all other methods to resolve the problem, TCP/IP might be causing it.
Use the command below:
netsh int ip reset c:\resetlog.txt
Reference : How to reset Internet Protocol (TCP/IP)