Recently I have faced the exact problem in my PC. I was also not able to figure out what exactly the problem is because WiFi was connected to my phone but my PC was unable to connect the same WiFi connection.

XP Won't Connect To The Internet - Windows XP Home and Dec 21, 2011 Can't connect to my router - Windows 10 Forums Sep 01, 2018 My Computer Won't Connect to the Internet but Others Will Once done, restart your Windows PC. After restarting your Windows Computer, try connecting your computer to the network. It should work now. So that’s it guys, this was our take on My Computer won’t connect to the Internet but others will. We hope that you found this guide helpful. How to connect your phone to your Windows 10 PC - CNET

Q&A: Why won't Windows XP connect to the Internet?

How to Fix the Error Can't connect to this network on

Aug 14, 2013

XP Won't Connect To The Internet - Windows XP Home and Dec 21, 2011 Can't connect to my router - Windows 10 Forums