Restoring password of a WIndows hosted network












7















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:Usersuser>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.










share|improve this question





























    7















    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:Usersuser>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.










    share|improve this question



























      7












      7








      7


      3






      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:Usersuser>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.










      share|improve this question
















      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:Usersuser>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.







      windows-7 wireless-networking netsh






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 17 '18 at 10:02









      YakovL

      1921111




      1921111










      asked Jun 1 '14 at 12:43









      Nandakumar VNandakumar V

      138115




      138115






















          2 Answers
          2






          active

          oldest

          votes


















          11














          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



          Command prompt with netsh






          share|improve this answer


























          • thanks @shub setting=security worked perfectly.

            – Nandakumar V
            Jun 2 '14 at 14:30











          • any idea what was wrong with the refresh hostednetwork command... Its still haunting me.

            – Nandakumar V
            Jun 2 '14 at 14:31











          • @NandakumarV I'm sorry, I don't know. Although when I tested, this worked: netsh wlan refresh hostednetwork key which makes me think that refresh actually refreshes the key ie. makes sure it works rather than actually change it because key is the 'name' of the password field. Please +1 if you found the answer helpful :)

            – ᔕᖺᘎᕊ
            Jun 2 '14 at 17:32





















          0














          Try this format:



          netsh wlan set hostednetwork [ssid=]<ssid> [key=]<passphrase> [keyUsage=]persistent|temporary (Source)



          So to permanently set the Rambo network's passphrase to "rambo123" it'd be something like:



          netsh wlan set hostednetwork rambo rambo123 persistent






          share|improve this answer
























          • In the Windows command-line world, things in are optional, that's why they're there. :)

            – Ƭᴇcʜιᴇ007
            Jun 1 '14 at 14:17













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f762300%2frestoring-password-of-a-windows-hosted-network%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          11














          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



          Command prompt with netsh






          share|improve this answer


























          • thanks @shub setting=security worked perfectly.

            – Nandakumar V
            Jun 2 '14 at 14:30











          • any idea what was wrong with the refresh hostednetwork command... Its still haunting me.

            – Nandakumar V
            Jun 2 '14 at 14:31











          • @NandakumarV I'm sorry, I don't know. Although when I tested, this worked: netsh wlan refresh hostednetwork key which makes me think that refresh actually refreshes the key ie. makes sure it works rather than actually change it because key is the 'name' of the password field. Please +1 if you found the answer helpful :)

            – ᔕᖺᘎᕊ
            Jun 2 '14 at 17:32


















          11














          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



          Command prompt with netsh






          share|improve this answer


























          • thanks @shub setting=security worked perfectly.

            – Nandakumar V
            Jun 2 '14 at 14:30











          • any idea what was wrong with the refresh hostednetwork command... Its still haunting me.

            – Nandakumar V
            Jun 2 '14 at 14:31











          • @NandakumarV I'm sorry, I don't know. Although when I tested, this worked: netsh wlan refresh hostednetwork key which makes me think that refresh actually refreshes the key ie. makes sure it works rather than actually change it because key is the 'name' of the password field. Please +1 if you found the answer helpful :)

            – ᔕᖺᘎᕊ
            Jun 2 '14 at 17:32
















          11












          11








          11







          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



          Command prompt with netsh






          share|improve this answer















          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



          Command prompt with netsh







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Feb 22 '15 at 4:52









          Abhijeet Kasurde

          16319




          16319










          answered Jun 1 '14 at 14:04









          ᔕᖺᘎᕊᔕᖺᘎᕊ

          5,15842341




          5,15842341













          • thanks @shub setting=security worked perfectly.

            – Nandakumar V
            Jun 2 '14 at 14:30











          • any idea what was wrong with the refresh hostednetwork command... Its still haunting me.

            – Nandakumar V
            Jun 2 '14 at 14:31











          • @NandakumarV I'm sorry, I don't know. Although when I tested, this worked: netsh wlan refresh hostednetwork key which makes me think that refresh actually refreshes the key ie. makes sure it works rather than actually change it because key is the 'name' of the password field. Please +1 if you found the answer helpful :)

            – ᔕᖺᘎᕊ
            Jun 2 '14 at 17:32





















          • thanks @shub setting=security worked perfectly.

            – Nandakumar V
            Jun 2 '14 at 14:30











          • any idea what was wrong with the refresh hostednetwork command... Its still haunting me.

            – Nandakumar V
            Jun 2 '14 at 14:31











          • @NandakumarV I'm sorry, I don't know. Although when I tested, this worked: netsh wlan refresh hostednetwork key which makes me think that refresh actually refreshes the key ie. makes sure it works rather than actually change it because key is the 'name' of the password field. Please +1 if you found the answer helpful :)

            – ᔕᖺᘎᕊ
            Jun 2 '14 at 17:32



















          thanks @shub setting=security worked perfectly.

          – Nandakumar V
          Jun 2 '14 at 14:30





          thanks @shub setting=security worked perfectly.

          – Nandakumar V
          Jun 2 '14 at 14:30













          any idea what was wrong with the refresh hostednetwork command... Its still haunting me.

          – Nandakumar V
          Jun 2 '14 at 14:31





          any idea what was wrong with the refresh hostednetwork command... Its still haunting me.

          – Nandakumar V
          Jun 2 '14 at 14:31













          @NandakumarV I'm sorry, I don't know. Although when I tested, this worked: netsh wlan refresh hostednetwork key which makes me think that refresh actually refreshes the key ie. makes sure it works rather than actually change it because key is the 'name' of the password field. Please +1 if you found the answer helpful :)

          – ᔕᖺᘎᕊ
          Jun 2 '14 at 17:32







          @NandakumarV I'm sorry, I don't know. Although when I tested, this worked: netsh wlan refresh hostednetwork key which makes me think that refresh actually refreshes the key ie. makes sure it works rather than actually change it because key is the 'name' of the password field. Please +1 if you found the answer helpful :)

          – ᔕᖺᘎᕊ
          Jun 2 '14 at 17:32















          0














          Try this format:



          netsh wlan set hostednetwork [ssid=]<ssid> [key=]<passphrase> [keyUsage=]persistent|temporary (Source)



          So to permanently set the Rambo network's passphrase to "rambo123" it'd be something like:



          netsh wlan set hostednetwork rambo rambo123 persistent






          share|improve this answer
























          • In the Windows command-line world, things in are optional, that's why they're there. :)

            – Ƭᴇcʜιᴇ007
            Jun 1 '14 at 14:17


















          0














          Try this format:



          netsh wlan set hostednetwork [ssid=]<ssid> [key=]<passphrase> [keyUsage=]persistent|temporary (Source)



          So to permanently set the Rambo network's passphrase to "rambo123" it'd be something like:



          netsh wlan set hostednetwork rambo rambo123 persistent






          share|improve this answer
























          • In the Windows command-line world, things in are optional, that's why they're there. :)

            – Ƭᴇcʜιᴇ007
            Jun 1 '14 at 14:17
















          0












          0








          0







          Try this format:



          netsh wlan set hostednetwork [ssid=]<ssid> [key=]<passphrase> [keyUsage=]persistent|temporary (Source)



          So to permanently set the Rambo network's passphrase to "rambo123" it'd be something like:



          netsh wlan set hostednetwork rambo rambo123 persistent






          share|improve this answer













          Try this format:



          netsh wlan set hostednetwork [ssid=]<ssid> [key=]<passphrase> [keyUsage=]persistent|temporary (Source)



          So to permanently set the Rambo network's passphrase to "rambo123" it'd be something like:



          netsh wlan set hostednetwork rambo rambo123 persistent







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 1 '14 at 14:00









          Ƭᴇcʜιᴇ007Ƭᴇcʜιᴇ007

          98.9k14156212




          98.9k14156212













          • In the Windows command-line world, things in are optional, that's why they're there. :)

            – Ƭᴇcʜιᴇ007
            Jun 1 '14 at 14:17





















          • In the Windows command-line world, things in are optional, that's why they're there. :)

            – Ƭᴇcʜιᴇ007
            Jun 1 '14 at 14:17



















          In the Windows command-line world, things in are optional, that's why they're there. :)

          – Ƭᴇcʜιᴇ007
          Jun 1 '14 at 14:17







          In the Windows command-line world, things in are optional, that's why they're there. :)

          – Ƭᴇcʜιᴇ007
          Jun 1 '14 at 14:17




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f762300%2frestoring-password-of-a-windows-hosted-network%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Plaza Victoria

          In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

          How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...