If it's the key itself that is the problem - the answer I gave to someone else (quoted below) with a problematic HP G6 might help:
" Actually I was just thinking ... If the key itself is the problem you can turn the wireless on and off from the command line. But first you need to know the wi-fi name. Go to Control Panel ... select Network and Sharing Center ... click on 'change adapter settings' and look to see what your wi-fi connection is called ... mine is called Wireless Network Connection 5 so my example will use that name - you use whatever the name of yours is.
right click on command prompt and select 'run as administer'
type this on the command line and then press enter:
netsh interface set interface "Wireless Network...