Quick Tip: Change the Windows User Password via Command Line

Windows-tip Are you an administrator on the Windows operating system with multiple user accounts? Have you forgotten the password to one of those accounts and you are locked out? Then, provided you are the administrator, you can reset the password from the command line.

To open the Windows command line, just go to your start menu then choose “run” (or press your Windows key and then press R). Then in the box that pops up, type cmd and press enter.

In the black box that comes up, type net user then enter. This will give you a list of all your Windows accounts on that computer.

To change the password for one of these accounts is very simple. Say the Windows account name is asks and you want to change the password to mypa$$word then you just need to type the following :

    net user asks mypa$$word

Windows Command Prompt - Change Password

After pressing enter, you should then get a message saying “the command completed successfully”. That means the password has now been changed and you can now log into that account.

(By) Mark O’Neill is a blogger, writer and English tutor. Check out his blog at BetterThanTherapy.net

Filed Under: How-To ¦ Windows

If you found this article useful then please help us spread the word by Stumbling It.

If you like this article then subscribe to MakeUseOf feed and get latest articles delivered to your Feedreader. If you want to recieve latest articles in your email click here. It's FREE!

Latest from Mark O'Neill:

Blog Posts from Mark O'Neill:
Most Popular:
  • 1 Awesome Gmail tip You Don’t Know about. Seriously.
  • 100 Portable Apps for your USB Stick (both for Mac and Win)
  • 40 Unusual Websites you should Bookmark.
  • The Best, Free Alternatives to Nero CD/DVD Burner
  • 5 Packs to Transform Windows to other OS
  • 13 Bargain Websites That are Cheaper than eBay
  • 7 Excellent destinations to watch TV Shows for FREE
  • 5 Tools to Make Windows XP Look Like Vista
  • 18 Free Ways To Download Any Video off the Internet
  • Watch Popular TV Shows,Cartoons,Movies,Anime for free
  • Collection of Rapidshare Tools and Tricks
  • How To: Move Music from iPod to PC in 5 Easy Steps
  • Gmail Craze: 40 + Tools and Hacks for Gmail
  • Ultimate GMail Collection: over 80 Tools and Tips
  • 5 “DISPOSABLE” Web Accounts to Keep Your Identity Safe
  • Are you a geek? Want to get famous? Write for MakeUseOf.com

    Comments RSS   |  Trackback URI

    3 Comments » Leave One...

     
    Comment by Aibek
    2008-02-17 20:51:57

    “TO THE EARLIER COMMENTER”

    I am pretty sure I had approved your comment earleir but for some reason it’s not here. :? I must have mistakenly set it to ‘delete’ instead of ‘approve’. Sorry … :-(

     
    Comment by Sasha
    2008-02-17 21:44:34

    You know an even easier way to change/reset user passwords? start > run > control userpasswords2.

     
    Name (required)
    E-mail (required - never shown publicly)
    URI
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment. All comments are moderated. If your comment does not show up immediately, be patient. It will show up momentarily.


    © 2007-2008 MakeUseOf.com. All rights reserved. Design by Unique Blog Designs.