If a computer cannot connect to the Internet over both Ethernet and Wi-Fi, there may be a problem in Windows' registry.
Try the following potential solutions from Microsoft.com:
How to reset Internet Protocol (TCP/IP) - KB299357
...or
How to determine and to recover from Winsock2 corruption in Windows Server 2003, in Windows XP, and ...