Here’s a nightmare scenario: You lose the connection to your wireless network and don’t know the security key to re-connect to it. What do you do? Do you rebuild your wireless network and reconnect all its PCs and devices with a “known” wireless key?
A better solution is the program called WirelessKeyView from NirSoft (http://www.nirsoft.net/utils/wireless_key.html). The program is free and it “recovers all wireless network security keys/passwords (WEP/WPA) stored in your computer”. Once the program is run, the resulting keys can be stored in a file or copied to the clipboard for use in re-establishing your connections.