Maybe you don't have an internet access because of an unplugged Ethernet cable. Ensure that all cables (from modem to wall, from modem to router or computer, from router to computer, etc.) are properly plugged in and are not loose, which is a vital precondition for a stable Internet connection and a good resolution to the "computer will not connect to internet" issue.
Internet access issues can be easily resolved thanks to the built-in network diagnostic tool (troubleshooter) developed by the Microsoft team to resolve network issues.
To run the tool, follow the steps below:
If you don’t receive the email in the next 2 minutes please check your junk folder, and add [email protected] to your safe sender list.