I had this issue in two different laptops and I could not find a proper answer till now. My wifi was going well until I decided to run a live version of kali and play there a little bit. I used aircrack-ng (and of course turned the monitor mode on and off again) but when I boot back to windows I can not connect to any wifi networks. It shows all nearby networks but it would not connect to any.
I made sure that monitor mode is turned off and it is back to managed mode. I turned wlan down and up again using ifconfig wlan0 down
,ifconfig wlan0 up
,
uninstalled the driver on windows and reinstalled it again but in vain.
The weird thing is that wlan is working fine on Kali Linux and I can connect to any networks, switch between monitor and managed mode smoothly but when I run back to windows I cannot connect.