Change pc password with command prompt












0















Welcome , today I'm working with the command prompt on Windows 10 , I like to know if it is possible to change my pc's password with this and how can I do it. Thank you










share|improve this question



























    0















    Welcome , today I'm working with the command prompt on Windows 10 , I like to know if it is possible to change my pc's password with this and how can I do it. Thank you










    share|improve this question

























      0












      0








      0








      Welcome , today I'm working with the command prompt on Windows 10 , I like to know if it is possible to change my pc's password with this and how can I do it. Thank you










      share|improve this question














      Welcome , today I'm working with the command prompt on Windows 10 , I like to know if it is possible to change my pc's password with this and how can I do it. Thank you







      windows-10 prompt






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 25 '17 at 18:43









      Riccardo_Fan_98Riccardo_Fan_98

      3438




      3438






















          3 Answers
          3






          active

          oldest

          votes


















          1














          Yes you can. You need administrative privileges and you need to know your username.



          From the command prompt, enter the following command, and replace <username> with your actual username:



          net user <username> *


          Then enter the new password.



          Do note, it will not ask to reconfirm your password, so any typo can mean the end of logging in.






          share|improve this answer

































            1














            1. Change Local Password from Command Line



            net user <username> <NewPassword>




            2. Change Domain Password from Command Line



            net user <username> <NewPassword> /Domain


            Note: Be sure to run this from an elevated command prompt.



            Important: You will need AD level permission to change your own password apparently via this method so this command may more easily be usable by domain admins; otherwise, further AD permissions.



            Error




            System error 5 has occurred.

            Access is denied.



            enter image description here



            3. Alternatively



            You can press Ctrl+Alt+Del and select Change Password for a GUI method to change your own password on a domain PC when you're not a domain admin.



            enter image description here



            Further Resources




            • Net User






            share|improve this answer


























            • Change Domain Password with net use does not work with own password and if not domain admin!

              – Falco Alexander
              Dec 17 '18 at 10:50











            • @FalcoAlexander FYI... I've updated to indicate more clearly that issue you mentioned and reported on this post. Let me know if this pacifies your concern and expresses more clearly of this issue you reported.

              – Pimp Juice IT
              Dec 17 '18 at 15:48











            • afaik "You will need AD level permission to change your own password apparently via this method" is not correct or enough. the only method that worked for me as non AD Admin by script is the Powershell command from the RBAC tools, not installed by default.

              – Falco Alexander
              Dec 18 '18 at 8:45











            • Thus the #3 alternative which I provided for AD non-domain admin accounts. Regular non-admin users in an AD environment typically won't change their password via a script & will more likely use a GUI method. At least for the ten thousands of end-user I've supported over my years in AD environments, they change at login as prompted upon password expiring or press Alt+Ctrl+Del or Alt+Ctrl+End via RDP or terminal services. I answered this question long ago right at the same time the other answers were provided so I just added the domain method as additional but yes, I've always been domain admin.

              – Pimp Juice IT
              Dec 18 '18 at 12:46











            • in my case I searched for a method to chance my AD password, and UI was not an option because I could not type the generated password with a german keyboard layout :)

              – Falco Alexander
              Dec 18 '18 at 16:01



















            0














            net user <your username> *



            You will be prompted to enter your new password.
            Replace <your username> with your logon name (and don't type the <> characters).






            share|improve this answer























              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%2f1212911%2fchange-pc-password-with-command-prompt%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              Yes you can. You need administrative privileges and you need to know your username.



              From the command prompt, enter the following command, and replace <username> with your actual username:



              net user <username> *


              Then enter the new password.



              Do note, it will not ask to reconfirm your password, so any typo can mean the end of logging in.






              share|improve this answer






























                1














                Yes you can. You need administrative privileges and you need to know your username.



                From the command prompt, enter the following command, and replace <username> with your actual username:



                net user <username> *


                Then enter the new password.



                Do note, it will not ask to reconfirm your password, so any typo can mean the end of logging in.






                share|improve this answer




























                  1












                  1








                  1







                  Yes you can. You need administrative privileges and you need to know your username.



                  From the command prompt, enter the following command, and replace <username> with your actual username:



                  net user <username> *


                  Then enter the new password.



                  Do note, it will not ask to reconfirm your password, so any typo can mean the end of logging in.






                  share|improve this answer















                  Yes you can. You need administrative privileges and you need to know your username.



                  From the command prompt, enter the following command, and replace <username> with your actual username:



                  net user <username> *


                  Then enter the new password.



                  Do note, it will not ask to reconfirm your password, so any typo can mean the end of logging in.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 25 '17 at 20:44

























                  answered May 25 '17 at 18:53









                  LPChipLPChip

                  35.5k55185




                  35.5k55185

























                      1














                      1. Change Local Password from Command Line



                      net user <username> <NewPassword>




                      2. Change Domain Password from Command Line



                      net user <username> <NewPassword> /Domain


                      Note: Be sure to run this from an elevated command prompt.



                      Important: You will need AD level permission to change your own password apparently via this method so this command may more easily be usable by domain admins; otherwise, further AD permissions.



                      Error




                      System error 5 has occurred.

                      Access is denied.



                      enter image description here



                      3. Alternatively



                      You can press Ctrl+Alt+Del and select Change Password for a GUI method to change your own password on a domain PC when you're not a domain admin.



                      enter image description here



                      Further Resources




                      • Net User






                      share|improve this answer


























                      • Change Domain Password with net use does not work with own password and if not domain admin!

                        – Falco Alexander
                        Dec 17 '18 at 10:50











                      • @FalcoAlexander FYI... I've updated to indicate more clearly that issue you mentioned and reported on this post. Let me know if this pacifies your concern and expresses more clearly of this issue you reported.

                        – Pimp Juice IT
                        Dec 17 '18 at 15:48











                      • afaik "You will need AD level permission to change your own password apparently via this method" is not correct or enough. the only method that worked for me as non AD Admin by script is the Powershell command from the RBAC tools, not installed by default.

                        – Falco Alexander
                        Dec 18 '18 at 8:45











                      • Thus the #3 alternative which I provided for AD non-domain admin accounts. Regular non-admin users in an AD environment typically won't change their password via a script & will more likely use a GUI method. At least for the ten thousands of end-user I've supported over my years in AD environments, they change at login as prompted upon password expiring or press Alt+Ctrl+Del or Alt+Ctrl+End via RDP or terminal services. I answered this question long ago right at the same time the other answers were provided so I just added the domain method as additional but yes, I've always been domain admin.

                        – Pimp Juice IT
                        Dec 18 '18 at 12:46











                      • in my case I searched for a method to chance my AD password, and UI was not an option because I could not type the generated password with a german keyboard layout :)

                        – Falco Alexander
                        Dec 18 '18 at 16:01
















                      1














                      1. Change Local Password from Command Line



                      net user <username> <NewPassword>




                      2. Change Domain Password from Command Line



                      net user <username> <NewPassword> /Domain


                      Note: Be sure to run this from an elevated command prompt.



                      Important: You will need AD level permission to change your own password apparently via this method so this command may more easily be usable by domain admins; otherwise, further AD permissions.



                      Error




                      System error 5 has occurred.

                      Access is denied.



                      enter image description here



                      3. Alternatively



                      You can press Ctrl+Alt+Del and select Change Password for a GUI method to change your own password on a domain PC when you're not a domain admin.



                      enter image description here



                      Further Resources




                      • Net User






                      share|improve this answer


























                      • Change Domain Password with net use does not work with own password and if not domain admin!

                        – Falco Alexander
                        Dec 17 '18 at 10:50











                      • @FalcoAlexander FYI... I've updated to indicate more clearly that issue you mentioned and reported on this post. Let me know if this pacifies your concern and expresses more clearly of this issue you reported.

                        – Pimp Juice IT
                        Dec 17 '18 at 15:48











                      • afaik "You will need AD level permission to change your own password apparently via this method" is not correct or enough. the only method that worked for me as non AD Admin by script is the Powershell command from the RBAC tools, not installed by default.

                        – Falco Alexander
                        Dec 18 '18 at 8:45











                      • Thus the #3 alternative which I provided for AD non-domain admin accounts. Regular non-admin users in an AD environment typically won't change their password via a script & will more likely use a GUI method. At least for the ten thousands of end-user I've supported over my years in AD environments, they change at login as prompted upon password expiring or press Alt+Ctrl+Del or Alt+Ctrl+End via RDP or terminal services. I answered this question long ago right at the same time the other answers were provided so I just added the domain method as additional but yes, I've always been domain admin.

                        – Pimp Juice IT
                        Dec 18 '18 at 12:46











                      • in my case I searched for a method to chance my AD password, and UI was not an option because I could not type the generated password with a german keyboard layout :)

                        – Falco Alexander
                        Dec 18 '18 at 16:01














                      1












                      1








                      1







                      1. Change Local Password from Command Line



                      net user <username> <NewPassword>




                      2. Change Domain Password from Command Line



                      net user <username> <NewPassword> /Domain


                      Note: Be sure to run this from an elevated command prompt.



                      Important: You will need AD level permission to change your own password apparently via this method so this command may more easily be usable by domain admins; otherwise, further AD permissions.



                      Error




                      System error 5 has occurred.

                      Access is denied.



                      enter image description here



                      3. Alternatively



                      You can press Ctrl+Alt+Del and select Change Password for a GUI method to change your own password on a domain PC when you're not a domain admin.



                      enter image description here



                      Further Resources




                      • Net User






                      share|improve this answer















                      1. Change Local Password from Command Line



                      net user <username> <NewPassword>




                      2. Change Domain Password from Command Line



                      net user <username> <NewPassword> /Domain


                      Note: Be sure to run this from an elevated command prompt.



                      Important: You will need AD level permission to change your own password apparently via this method so this command may more easily be usable by domain admins; otherwise, further AD permissions.



                      Error




                      System error 5 has occurred.

                      Access is denied.



                      enter image description here



                      3. Alternatively



                      You can press Ctrl+Alt+Del and select Change Password for a GUI method to change your own password on a domain PC when you're not a domain admin.



                      enter image description here



                      Further Resources




                      • Net User







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Dec 17 '18 at 15:47

























                      answered May 25 '17 at 18:53









                      Pimp Juice ITPimp Juice IT

                      23.7k113971




                      23.7k113971













                      • Change Domain Password with net use does not work with own password and if not domain admin!

                        – Falco Alexander
                        Dec 17 '18 at 10:50











                      • @FalcoAlexander FYI... I've updated to indicate more clearly that issue you mentioned and reported on this post. Let me know if this pacifies your concern and expresses more clearly of this issue you reported.

                        – Pimp Juice IT
                        Dec 17 '18 at 15:48











                      • afaik "You will need AD level permission to change your own password apparently via this method" is not correct or enough. the only method that worked for me as non AD Admin by script is the Powershell command from the RBAC tools, not installed by default.

                        – Falco Alexander
                        Dec 18 '18 at 8:45











                      • Thus the #3 alternative which I provided for AD non-domain admin accounts. Regular non-admin users in an AD environment typically won't change their password via a script & will more likely use a GUI method. At least for the ten thousands of end-user I've supported over my years in AD environments, they change at login as prompted upon password expiring or press Alt+Ctrl+Del or Alt+Ctrl+End via RDP or terminal services. I answered this question long ago right at the same time the other answers were provided so I just added the domain method as additional but yes, I've always been domain admin.

                        – Pimp Juice IT
                        Dec 18 '18 at 12:46











                      • in my case I searched for a method to chance my AD password, and UI was not an option because I could not type the generated password with a german keyboard layout :)

                        – Falco Alexander
                        Dec 18 '18 at 16:01



















                      • Change Domain Password with net use does not work with own password and if not domain admin!

                        – Falco Alexander
                        Dec 17 '18 at 10:50











                      • @FalcoAlexander FYI... I've updated to indicate more clearly that issue you mentioned and reported on this post. Let me know if this pacifies your concern and expresses more clearly of this issue you reported.

                        – Pimp Juice IT
                        Dec 17 '18 at 15:48











                      • afaik "You will need AD level permission to change your own password apparently via this method" is not correct or enough. the only method that worked for me as non AD Admin by script is the Powershell command from the RBAC tools, not installed by default.

                        – Falco Alexander
                        Dec 18 '18 at 8:45











                      • Thus the #3 alternative which I provided for AD non-domain admin accounts. Regular non-admin users in an AD environment typically won't change their password via a script & will more likely use a GUI method. At least for the ten thousands of end-user I've supported over my years in AD environments, they change at login as prompted upon password expiring or press Alt+Ctrl+Del or Alt+Ctrl+End via RDP or terminal services. I answered this question long ago right at the same time the other answers were provided so I just added the domain method as additional but yes, I've always been domain admin.

                        – Pimp Juice IT
                        Dec 18 '18 at 12:46











                      • in my case I searched for a method to chance my AD password, and UI was not an option because I could not type the generated password with a german keyboard layout :)

                        – Falco Alexander
                        Dec 18 '18 at 16:01

















                      Change Domain Password with net use does not work with own password and if not domain admin!

                      – Falco Alexander
                      Dec 17 '18 at 10:50





                      Change Domain Password with net use does not work with own password and if not domain admin!

                      – Falco Alexander
                      Dec 17 '18 at 10:50













                      @FalcoAlexander FYI... I've updated to indicate more clearly that issue you mentioned and reported on this post. Let me know if this pacifies your concern and expresses more clearly of this issue you reported.

                      – Pimp Juice IT
                      Dec 17 '18 at 15:48





                      @FalcoAlexander FYI... I've updated to indicate more clearly that issue you mentioned and reported on this post. Let me know if this pacifies your concern and expresses more clearly of this issue you reported.

                      – Pimp Juice IT
                      Dec 17 '18 at 15:48













                      afaik "You will need AD level permission to change your own password apparently via this method" is not correct or enough. the only method that worked for me as non AD Admin by script is the Powershell command from the RBAC tools, not installed by default.

                      – Falco Alexander
                      Dec 18 '18 at 8:45





                      afaik "You will need AD level permission to change your own password apparently via this method" is not correct or enough. the only method that worked for me as non AD Admin by script is the Powershell command from the RBAC tools, not installed by default.

                      – Falco Alexander
                      Dec 18 '18 at 8:45













                      Thus the #3 alternative which I provided for AD non-domain admin accounts. Regular non-admin users in an AD environment typically won't change their password via a script & will more likely use a GUI method. At least for the ten thousands of end-user I've supported over my years in AD environments, they change at login as prompted upon password expiring or press Alt+Ctrl+Del or Alt+Ctrl+End via RDP or terminal services. I answered this question long ago right at the same time the other answers were provided so I just added the domain method as additional but yes, I've always been domain admin.

                      – Pimp Juice IT
                      Dec 18 '18 at 12:46





                      Thus the #3 alternative which I provided for AD non-domain admin accounts. Regular non-admin users in an AD environment typically won't change their password via a script & will more likely use a GUI method. At least for the ten thousands of end-user I've supported over my years in AD environments, they change at login as prompted upon password expiring or press Alt+Ctrl+Del or Alt+Ctrl+End via RDP or terminal services. I answered this question long ago right at the same time the other answers were provided so I just added the domain method as additional but yes, I've always been domain admin.

                      – Pimp Juice IT
                      Dec 18 '18 at 12:46













                      in my case I searched for a method to chance my AD password, and UI was not an option because I could not type the generated password with a german keyboard layout :)

                      – Falco Alexander
                      Dec 18 '18 at 16:01





                      in my case I searched for a method to chance my AD password, and UI was not an option because I could not type the generated password with a german keyboard layout :)

                      – Falco Alexander
                      Dec 18 '18 at 16:01











                      0














                      net user <your username> *



                      You will be prompted to enter your new password.
                      Replace <your username> with your logon name (and don't type the <> characters).






                      share|improve this answer




























                        0














                        net user <your username> *



                        You will be prompted to enter your new password.
                        Replace <your username> with your logon name (and don't type the <> characters).






                        share|improve this answer


























                          0












                          0








                          0







                          net user <your username> *



                          You will be prompted to enter your new password.
                          Replace <your username> with your logon name (and don't type the <> characters).






                          share|improve this answer













                          net user <your username> *



                          You will be prompted to enter your new password.
                          Replace <your username> with your logon name (and don't type the <> characters).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered May 25 '17 at 18:53









                          TonnyTonny

                          17k33353




                          17k33353






























                              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%2f1212911%2fchange-pc-password-with-command-prompt%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

                              Terni

                              A new problem with tex4ht and tikz

                              Sun Ra