Here are a few things to try, some of which you may have already tried :-
Try typing the WEP/WPA key in hexadecimal rather than as characters.
Changing the channel number sometimes helps.
Try the IPCONFIG commands /RELEASE, /RENEW and /FLUSHDNS (capitals are for clarity only)
I haven’t tried it but this may help, download and run this click here