Windows 11 will not connect automatically to the WiFi if you have not enabled the option in the network’s profile. If you encounter the issue even after enabling the option, tweak the power ...
Also, disable the WdNisSvc or Windows Defender Network Inspection Service. Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender ...