How to reconnect your computer to a network, if it’s having trouble
Windows 7 and Windows 8 do a pretty good job of connecting to networks automatically. And if your network goes out (maybe from a power failure or a switch going offline), Windows will generally reconnect without a problem. But sometimes it needs an extra kick. Also, if your laptop goes