On windows 7, right click the red x, click "open nework center"
On the right you will see connections.
If there is a Local area connection, right click it and disable.
Then right click and disable the wireless connection.
The re-enable the wireless connection.