There are many reasons for this problem; one of the reasons is that Windows Update failed to install or update the Network drivers, in that case, you have to update the required driver manually.
In Windows 11/10, your computer automatically connects to known Wi-Fi networks based on their priority. If you want to set a preferred Wi-Fi network—ensuring your PC always connects to it when in the ...
Microsoft wants you to use the cloud, but there are a lot of good options — including trusty old network file sharing and a little-known modern Windows feature. Remember the HomeGroup on Windows 7?