How to view WiFi's password or forget this network in Windows 8.1

I found this on YouTube and it worked for me.

  1. Hover mouse over Windows icon and right-click
  2. Open up "Command Prompt (Admin)". Click Yes for the prompt box that pops up.
  3. Type the command line below:

    netsh wlan show profile name="INSERT SSID HERE" key=clear
    

Note: if you don't know your SSID, you can list all Wi-Fi profiles you have connected in the past with following command:

netsh wlan show profile

The first version of the command may dump out tens of lines of output (commonly between 30 and 40 lines).  If you want to see only the password (Key Content), you can pipe the command through findstr Key.  Note that the K in Key must be capitalized.

Example command line will therefore look like:

netsh wlan show profile name="Sales Dept Network" key=clear | findstr Key

You can leave out the "name=":

netsh wlan show profile "Sales Dept Network" key=clear | findstr Key

  1. Open Network and Sharing Center.
  2. Click on your wireless connection in the window that opens.
  3. After that, click on button Wireless properties.
  4. Then open tab Security.

Command line (Manage wireless network profiles) or third party utilities are your options since Microsoft removed the Wireless Profile Manager.