I have a computer with windows 7 that I intend to use as server (it will at home and I may need to access it from work), now, problem is WiFi connection sometimes hangs, but after repairing it, it works OK.
Is there any way to trigger a network connection repair automatically from a script which will first ping router and if no answer then start connection repair, all without my intervention?