New
#1
How can I force wifi to reconnect - remotely
When my laptops lose wifi signal for any reason (eg power outage, ap reboot) they do not try to reconnect again when WiFi is back unless I am actively using the machine 'locally'. The problem for me is I do not use the machine locally I RDP to it over the internet (like a terminal server), if wifi drops for any reason it will never come back until I go home and log into the machine from there (sometimes it will reconnect as soon as I login, sometimes I have to login and click reconnect)
The issue is not wifi dropping, it doesn't happen often but its unavoidable and will happen from time to time and means I lose an entire day of being able to connect back.
What I would like to do is schedule a task to run every 15 minutes to check if wifi is connected or not, I found we can connect using netsh wlan commands, but not sure how to check first if the connection is already active - I just tested the netsh wlan connect command, it does infact disconnect then reconnect the connection which is going to make matters worse.
win10 ver: 1909