I recently had this issue…I don’t know if it began after a Windows update or what, exactly.
what solved it for me was running ipconfig/release and ipconfig/renew commands. I think what fixed it permanently was going into device power management and making sure it wasn’t getting “turned off” for power saving.