title: Get stored WiFi passwords for disconnected WiFi adapter
body: <p>For example, if I have USB WiFi adapter, I can store password from some WiFi network and get it using <code>netsh wlan show profile ProfileName key=clear</code> command.
  But after I disconnect USB WiFi adapter the above command will show error:</p>
  
  <p><code>There is no wireless interface on the system.</code></p>
  
  <p>How can I get stored passwords for disconnected WiFi device? May be they are stored somewhere in registry? Passwords are definitely stored somewhere, because if I connect my USB WiFi adapter again - then <code>netsh</code> command begins to work. </p>
  
  <p>I did not found how to get this information using <a href="https://docs.microsoft.com/en-us/windows/desktop/nativewifi/wireless-user-interface-apis" rel="nofollow noreferrer">Windows API</a> either.</p>