Disable Windows from automatically connect to a network when network is lost by option or setting the auto-connection option to off (by default)
Avoid automatically connecting to wireless network on windows 7