I read online it could be an antivirus so I completely removed all antivirus and tried that. Tried showing all hidden devices under network adapters and removing them, that didn't work. Tried everything is safe mode, that didn't work. Tried resetting all network logs and settings through cmd and that didn't work. I'm now running a system files check. Nothing seems to work though, I always get the same error.