The wireless network profiles are stored in the registry. Specifically, you'll want to look for this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\
There, you'll find several values named Static#0000
, Static#0001
and so on, one for every WLAN that particular interface on that system has ever been connected to. Of course, you can use cmd tools like REG QUERY
or REG DELETE
in order to show/delete them as you asked. Take into account, though, that the info is stored in REG_BINARY format, so depending on your exact needs you'll need a little bit of parsing.
More info on this (from page 13 on): http://www.sans.org/reading-room/whitepapers/forensics/wireless-networks-windows-registry-computer-been-33659