If you’ve forgotten the WiFi password of your network or want to show it to someone else so he or she can connect.
The error Wireless network connection doesn't have a valid ip configuration means that Windows cannot find a valid ip configuration for your current.