1) Go to Control Panel -> Network and Internet -> Network and Sharing Center
2) Select "Manage Wireless Networks" from links on left side.
3) Click on the wireless network connection, and click "Remove"
4) Click "Add", and re-create the wireless network connection with the correct parameters. Check "Start this connection automatically". Click "Next".