So about a week or two ago I rebuilt my old outdated pc. Upgraded to a 3600x with B450 tomahawk max and a 5700xt. Apart from a few driver issues things worked great. Today however xbox live couldn't connect properly so I restarted. The PC took a lot of time logging into my account which is odd since I'm on an SSD, and once it did it completely spazzed out. Flashing taskbar and other anomalies. I tried using windows repair to fix this but it failed so I just went ahead and reset win10. Now I've fixed the initial issue but I still have another problem.
Windows 10 says it doesn't have an internet connection. Even though I can use the internet just fine. I can clearly see both an ethernet connection and a wifi connection(from my plugin usb wifi adapter).
Because of this problem I cannot login on any Microsoft accounts or update windows. I've tried installing the lan driver from MSI's website but it proved ineffective. Like I said, the internet works fine but anything Microsoft tells me that it isn't connected. I'm kinda at a loss here, was going to create a win10 usb stick and do a complete wipe but even that won't download for me.
EDIT: I have tried disabling/reenabling and uninstalling/reinstalling the network adapter but I don't believe this is the issue as neither ethernet nor wifi are properly detected.
Any help would be greatly appreciated. I've tried a few fixes but nothing has worked at all yet. Is this a motherboard issue or something else? Thanks again.