Hi and welcome to the forum
It would be helpful to know the exact
Make/Model of your computer. We can better assist you with troubleshooting, but we are lacking details your hardware. Did your Desktop computer come pre-loaded with W10 on it from the factory? Or did you upgrade it from an earlier version of windows such as W7 or W8x? How are you connecting your W10 PC to your router? With a cable (Ethernet) which is a hardwired connection or via a wireless or Wi-Fi connection? You can see we have to guess what your environment is here. The more information you can provide to us the more we can help you.
If you can get Neemo's diagnostic report, that will help too. The main 3 reasons that Internet connection randomly drops such as your does are:
1.) Virus/malware infection.
2.) PC hardware failure, usually a Hard Drive or a RAM stick(s) failure.
3.) Windows registry corruption, due to a variety of things such as installing free software or software that is poorly coded. Removal of these programs often causes windows to stop working correctly, and it has to be repaired (assuming your Hardware tests Ok).
To start with, for cause #1, you should use whatever AV program you have and scan/remove all found viruses. Next, download the free
MALWARETBYTES antispyware from here:
malwarebytes.org and scan/remove all spyware viruses. Power-cycle your computer and reboot. If your problem abates and your Internet connection stays on, removing the virus(es) cured the problem and you are set to go!
Bear in mind that there exist thousands of viruses today whose main mission is to interrupt or prevent you from getting any Internet connection or a stable connection.
Next, you need to test your hardware for Cause #2. If you've never done this before yourself, I suggest you take it to your local licensed Computer Pro and pay him to do this for you. Once this is done you can proceed with more aggressive software repairs from DOS utilities in W10 up to and including W10 reset and factory Reinstallation. If you can't afford to do so, or just wish to learn how to test your own hardware, take a look at my free
TROUBLESHOOTING GUIDE you can get from here:
Windows 10 - Unclickable Task Bar My Guide will also show you how to perform advanced software repairs; all of which require hardware testing to be done first (the first half of the Guide).
For Cause #3, you pretty much need to test your Hardware and then perform software repairs, just like the above paragraph describes for Cause #2. The Causes can be from quite differing things, but the solution is generally the same.
Your problem is one of the most encountered of ALL computers problems, regardless of which windows version you are running; for the last 20 years or so. Sometimes, if you have a failed component, you have to replace it at your cost. If your W10 computer is new, and it's less than 1 yr. old you should consider returning it to your place of purchase of take/ship to the manufacturer's local repair depot. Repairs such as this can run from $60-$500 US or more. It's best to get it done for free if you can. If your computer is older than 1 yr. old, you are going to have pay to get it fixed, whether or not you pay a Tech to do it for you if you have any failed parts. Period.
Let us know your computer make/model and we can get started getting your problem fixed and back on the road again!
Best of luck to you,
<<BIGBEARJEDI>>