I suggest you to find out the details about your computer. And from there you can get the drivers specific for the Windows 10. Also if you have downgraded back to Windows 7 and facing this issue. In such case remove the network driver and reinstall the driver again. This works because often the files are corrupted. And reinstalling the driver helps get things back again. So download the network driver for your laptop from some other computer and then use USB drive to get the installer on your laptop. This way you can install the driver again.
1) Go to network and adapter settings and disable your Wifi adapter and enable it again.
2) Go to Wifi properties and go to TCP/IPv4 properties. First try with Obtain IP address automatically. If it is not working, then update the IP address and validate it upon exit. This will mostly solve your problem.
If you still have issues with your connection, check the router settings. You can also take the router to your service provider to get the issue sorted.
Thanks and Regards,
Quote: "It doesn't matter what we want. once we get it, then we want something else."
For a lay man change of operating system causes problems. I faced problems with network connectivity. I am not that much an expert to try to solve it. The two solutions you suggested were tried without success before posting this problem in this forum
The solution offered by Mahesh is also tried without success. I have to try again by deleting the network adopter driver and reinstall it and seethe result again.
" Be Good and Do Good "