My ISP is apparently in the habit of frequently changing my IP or Gateway (I'm using a router and a modem). I often leave the pc on with something to download and come back in a couple of hours expecting it to be finished only to find that my internet connection had been interrupted due to "Gateway not available" just after I had left..
When this happens, I have to "diagnose" the connection problems and Windows 7 automatically notices what's wrong and Fixes it.
Since Windows 7 also automatically notices when/if your connection to the internet has interrupted, is there any way I can "tell" windows to automatically diagnose the network adapter(s) after it detects a problem? Doesn't make sense for me to have to do that manually if everything else is automated.
If there isn't such a setting, is it possible to write a script that will refresh the adapters if(connection == "lost") and with an event or timer? (so I can run it while I'm not at the PC). I'm handy with code, but I'm not familiar with anything microsoft-windows-related (how to get a hold of the network adapters and read/write settings)..
[EDIT] nevermind, solved it on [H]ardforum. Most probably was a router issue. Anyway, updated my firmware and I set the DHCP lease time to 1hr so no matter what, my connection won't stay broken for more than that.