There are multiple ways to view the Wi-Fi password, but using Settings is the easiest. The Netsh utility, accessible via Command Prompt, shows passwords for all the networks you've ever connected to.
Your Windows PC stores the credentials for each Windows computer’s Wi-Fi network. Examples include the current Wi-Fi network and any previous networks used to ...
You should always be able to find the password for a WiFi network you're connected to. Finding a WiFi password may not be something you need to do very often ...