Restoring password of a WIndows hosted network
I have created a hosted network in my windows7 system. The netsh wlan show hostednetwork
command gives the output
Hosted network settings
-----------------------
Mode : Allowed
SSID name : "rambo"
Max number of clients : 100
Authentication : WPA2-Personal
Cipher : CCMP
Hosted network status
---------------------
Status : Started
BSSID : xx:xx:xx:xx:xx:xx
Radio type : 802.11n
Channel : 11
Number of clients : 1
xx:xx:xx:xx:xx:xx Authenticated
But I have forgot the password for this connection and after some googling I found the command netsh wlan refresh hostednetwork YourNewNetworkPassword
. But on executing this command it get the error
C:\Users\user>netsh wlan refresh hostednetwork rambo123
Invalid value "rambo123" for command option "data".
Usage: refresh hostednetwork [data=]key
I have no idea what is wrong with this command.
You could reset your password by setting the whole network up again ie (via here):
netsh wlan set hostednetwork mode=allow ssid=rambo key=rambo123 keyUsage=persistent
or
netsh wlan set hostednetwork mode=allow ssid=rambo key=rambo123 keyUsage=temporary
Although, if you've forgotten your password, all you need to do is (via here):
netsh wlan show hostednetwork setting=security
Then you'll see User security key:
and your password