So I got this problem with my desktop involving the internet. It seems to be losing the internet connection every few minutes and it'll work again if I press the "Diagnose and repair" button. When I do that, it says: "Cannot communicate with Primary DNS server.", and it will give me the option to Reset the network adapter "Local Area Connection". When I do this, the internet will start working again, but only for a few minutes.
Keep in mind that all my other devices, such as my laptop, can still access the internet through wi-fi. It's only the desktop that's an issue.