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.
Have you ever wondered what Public folders are in the User folder in Windows 11/10 and how they can help you share files effortlessly between different user accounts on the same computer? Read this ...