I have a weird issue where my network connection gets disabled somehow. Device Manager shows the card as being enabled, the network icon shows that I don't have a wireless card. Rebooting the computer always fixes it.
I've found a way whereby if I restart the WLAN AutoConfig service and then run diagnostics on the wireless network connection that it comes back up. Diagnostics said that:
Windows couldn't automatically bind the IP Protocol stack to the network adapter
and Event Viewer shows that the
WLAN extensibility module has stopped.
The device is a Lenovo ThinkPad x201 with Intel Centrino 6250 AGN.
What I'd like to do is build the solution into a batch file. So far I have:
net stop "WLAN Autoconfig" net start "WLAN Autoconfig"
How can I continue to fix this?