Desktop computer won't connect to the internet but every other device can
My desktop computer was working fine last week, but now out of nowhere it can't connect to the internet anymore. The internet network shows up just fine, except trying to connect to it always gives me the "can't connect to this network" error. It surely isn't the router, because if everything else works fine I don't think that's the issue.
I tried restarting my computer, router, and even forgetting the network and trying to reconnect that way, but nothing works. In fact, now it asks for the password every time I try to connect again which is pretty annoying. Any help would be appreciated because I have some projects I want to work on and this is slowing me down quite a lot.