No worries if you forgot the admin password. Here are 12 ways to reset the Windows administrator password on Windows 8.1, Windows 8, Windows 7, Vista and Windows XP. Rest assured, one way will work for you.

Michael Pietroforte

Michael Pietroforte is the founder and editor in chief of 4sysops. He has more than 35 years of experience in IT management and system administration.

In this article, I describe 12 ways for resetting the administrator password on Windows 8, Windows 8.1, Windows 7, Vista, or Windows XP. Each method has its advantages and disadvantages. Make sure you use the right procedure for your situation.

If you forgot the admin password and have no other account with administrator rights, things can get tricky. The methods and free tools explained here can reset the Windows password for all Windows versions—that is, for Windows 7, Vista, Windows XP, Windows 2000, Windows Server 2003, and Windows Server 2008 R2. In this article I only talk about the Windows client editions, but the methods also work for the corresponding server versions. The methods described here are not for resetting lost domain administrator passwords.

As system administrator, you are usually confronted with this problem if users have admin rights on their machines. Even if you don't have to reset a password now, you should get acquainted with this issue. Rest assured that sooner or later a user will bug you with this problem. I must admit that I managed to forget my password more than once.

Note that I published this article a few years ago, but since then I updated it several times and added a few new methods. Not much of the original article is left except the numerous comments below. As you can see, forgetting the Windows password is a common problem.

Use your password reset disk to recover the Windows password ^

Vista and Windows 7 allow you to create a password reset disk, which enables you to reset your password without much hassle. The problem with this option is that you have to create the reset disk before the password is lost. Thus if you don't have a password reset disk, this option is not for you. You can find a description of how to create a password reset disk here.

Restore Windows 7 or Windows 8 to a previous state ^

If you configured a new password recently and can still remember the password you used before, then you can restore Windows to a point in time before you changed the password. The Restore function of Windows 7 and Windows Vista will make sure that you don't lose personal data. However, programs that have been installed since the corresponding restore point have to be installed again. All you need for this procedure is a Windows 7 or Windows Vista setup DVD. A detailed description of this method can be found here. If you are uncertain what System Restore is doing with your computer, read this first. This approach doesn't work with Windows XP.

Boot up Windows XP in Safe Mode and log on with the built-in administrator account ^

When you installed Windows XP, you had to set a password for the Administrator account. If you still know this password, you can boot up in Safe Mode (by pressing F8 when your computer starts) and log on with the Administrator account. Read this Microsoft Knowledge Base article for more information about Safe Mode. Note that whenever you reset the password for a user using another account, this user will no longer be able to access files that have been encrypted with EFS (Encrypted File System). Stored credentials in the Windows Vault and Internet Explorer will also no longer be available. This method doesn't work in Vista and Windows 7 because the administrator account is disabled by default in Safe Mode with these Windows versions. Below you will learn how to enable the built-in admin account in Windows 7 and Vista.

Reset Windows 7 administrator password with the Sticky Keys trick ^

The Sticky Keys trick to restore a forgotten administrator password is a reliable way to reset a Windows 7 administrator password , and does not require third-party software. All you have to do is boot up from a Windows 7 or Windows Vista setup DVD, launch the Windows Recovery Environment (RE), and then replace the sethc.exe file with cmd.exe. You can also use this method for Windows XP, but you have to use a Windows 8 or Windows  7 DVD. This is the corresponding guide for Windows 8 users.

Reset Windows 8 administrator password ^

The Sticky Keys trick also works with Windows 8 and Windows 8.1. This guide is for Windows 8.

Change Windows password on servers with the Utility Manager tick ^

I wrote a new guide that uses the Utility Manager trick to change a Windows password. The text is for resetting a forgotten domain admin password. However, the trick also works for Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, and Windows Server 2012 R2. If you have problems with Sticky Keys trick, you might want to try Utility Manager trick which works in a similar way.

Reset Windows 8.1 password with the free ntpasswd tool ^

The downside of this option is that you have to create a password reset CD first. Then you can boot up with this CD and manipulate the Security Accounts Manager (SAM) database. Please note that resetting the password with third-party tools can also cause data loss as described in option 4. Also note that this tool comes without any warranty. However, I've been using it quite a few times and never had any problem with it. The latest version also supports Windows Vista and Windows 7. The advantage of this method is that it is quick if you already have the password CD in your tool box. Thus it is useful for admins who have to perform this procedure often. In all other cases I recommend option 4. Follow the new step-by-step guide for Windows 8.1.

Offline enable the built-in administrator account in Windows 7 and Vista ^

This method is useful if no other user account on this machine has administrator privileges. You also need a Windows setup DVD (Vista, Windows 7, or Windows 8). With this DVD you can boot up Windows RE and edit the Registry to offline enable the built-in administrator account. Also read my article about the offline Registry editor if you don't know how to edit the Registry in offline mode. After you enable the built-in Administrator, you can log on with this account without requiring a password and then reset the Windows password of any user account.

Use the free Trinity Rescue Kit (TRK) to recover the admin password ^

The Trinity Rescue Kit (TRK) is a troubleshooting solution that belongs in every admin's tool box. Please read my review of the Trinity Rescue Kit for more information. This great tool allows you to reset the password of Windows XP, Vista, Windows 7, and Windows 8. It works similar to ntpasswd. After you have booted up with the TRK CD, you have to enter the command winpass -u user_name and then follow the instructions. Sometimes setting a new password doesn't work; in this case, just set an empty password.

Use the free Kon-Boot tool to remove Windows passwords ^

I reviewed the free Kon-Boot tool a few days ago, and I can't really recommend it because it crashed two Windows 7 installations during my test. I mention this free password reset tool here for the sake of completeness and because it is quite famous. Its main advantage is that it is very quick. You only have to boot up from the Kon-Boot CD and the tool will do the rest for you. It changes the contents of the Windows kernel on the fly while booting allowing you to log on without password. Thus the tool doesn't change the SAM database. If you reboot again without using Kon-Boot you need the old passwords. Update: The tool not free anymore.

Use the free NTPWEdit tool to reset the Windows password ^

Especially if your computer doesn't have a CD or DVD drive, you have to create a bootable Windows USB flash drive and then you can use the free Windows password reset tool NTPWEdit. Don't forget to add NTPWEdit to the USB stick before you boot up.

Use Microsoft Diagnostics and Recovery Toolset to reset the administrator password ^

MSDaRT is a toolset from Microsoft that allows you to repair a Windows installation. This tool is only available for Microsoft volume customers, TechNet Plus subscribers, and MSDN subscribers. You can easily recover an admin password with its Locksmith tool. Please check out my review about MSDaRT for more information.

Get a commercial password reset tool ^

Many commercial tools are available that allow you to reset the Windows administrator password. Technically, they do the same as the free tools. Some of them might be easier to use or come with better instructions than the free tools. But before you spend money, I recommend trying the other options I described in this article. I don't want to recommend a particular tool here. However, I would prefer a tool where the vendor offers support in case you run into problems. Be careful—there are many black sheep exploiting desperate people by selling overpriced tools.

Reinstall Windows ^

This might sound like a joke, but in some cases this is the best method. For instance, if you don't want to lose your EFS-encrypted files or stored credentials by resetting your password, but you desperately need the computer, you can just install Windows a second time. You will have access to all the files of the previous installation. Just make sure that you don't overwrite the original Windows installation during the Windows setup. This allows you to boot up the original Windows installation at a later time. I am sure you will remember your forgotten Windows password sooner or later. As to my own experience, the old password will pop up in your mind right after you finish the installation and go to configure your new administrator password.

Please let me know in a comment below if you've heard of another option for resetting the Windows password.

Are you an IT pro? Apply for membership!

Your question was not answered? Ask in the forum!

2+
Share
249 Comments
  1. Heather 7 years ago

    Just wanted to drop a line to say this was incredibly helpful. My daughter managed to forget her password and she was the only account on her laptop - it wasn't easy, but using the System Restore method (with the downloaded ISO, since we couldn't locate the durned disc, either) did the ticket. Needless to say, there's an admin account on that laptop now... thank you for posting this!!

    1+

  2. Mahmoud 7 years ago

    I tried comment #81
    it worked well. thank you very much Raveman.

    thaanks a lot

    1+

  3. Ebrahiem 7 years ago

    Dear Michael;
    Thanks so much your great article. I found it very useful. But I want to ask you, why we might want to restore the Sticky Keys app (sethc.exe ) in the step 10?
    Thanks

    1+

  4. Michael Pietroforte 7 years ago

    Ebrahiem, so you can use the Sticky Keys app again after your reset your Windows password.

    1+

  5. Mathias 7 years ago

    I forgot the password to my administrator account on Windows 7. I have to privleges and the parental control blocks about everything so I can’t download anything, watch anything, etc. What do I do?

    1+

  6. Rahat Khan 7 years ago

    Thank You for the time you kindly took to put together this information. I was stuck and a combination of the solutions mentioned above helped me solve my problem. Thanks

    1+

  7. Noel 7 years ago

    Hi Michael
    I have a windows 2000 and don't have the admin password so I don't have access to windows, I changed primary boot to CD and tried to boot the windows CD it jumps to windows would you please give me some suggestions so I can re-install the windows.
    Thanks

    1+

  8. Kris 6 years ago

    My kids locked out our vista based laptop, and after wasting more than a day on the ophcrack route, I used this ntpasswd and it worked like a charm.
    Once you boot from USB,You may want to pay attention when the screen comes in to read what it says, and pick the right option. when in doubt, go with the default setting.

    1+

  9. Ben @ geekswing 6 years ago

    I highly recommend offline NT as well. Was surprised to hear earlier commenter that couldn't find the hard drive. I used it years ago to recover a friend's windows NT desktop. Just this year I needed to reset a windows 2008 on IBM xSeries (enterprise server). I went looking for Offline NT on the slim hopes it would work (SLES didn't even install cleanly, couldn't find the hard drives). Was very happily surprised somehow offline NT had the right drivers for the IBM x series servers. Recommended

    (my post here)
    http://geekswing.com/geek/win/my-windows-2008-r2-password-recovery-on-ibm-x3550m3-experience/

    1+

  10. J Warmack 6 years ago

    Hello, I am not having a problem with log-on passwords for any of the users on our home computer. Apparently, I set up an administrative password that is required when downloading updates. I have a hint and have typed in what I think it should be, but NOTHING works. Our computer is old, we are running Windows Vista. I have not been able to remember this administrative password for years, and I am just now trying to figure out if there is a way to recover it without completely reinstalling. I am also having problems now with computer and inability to do some updates. I cannot update flashplayer without putting in the admin password. Again, we all know our log-on passwords, our computer is not locked, I am just not able to do updates that require me to log-in the admin password first! Is there a way to recover this admin password, which is apparently different from my log-on password and my account is the one that is set up as administrator. I can still look at other user accounts and I can set time restrictions on their accounts, but I have to have admin. password to do other tasks... Can you offer any advise? Thanks!

    1+

  11. alexander wolf 6 years ago

    hello J Warmack and all readers. I had the same problem with a friends computer who forgot the admin password so could not download or update. there is a much easier solution than what has been said so far. it all depends on which computer you have so you may need to play about with some keys. on the packardbell computers you need to restart your computer and while windows is loading press and hold down alt and f12. this will take you to a menu where you pick pick the option of putting the computer back to factory settings ( no admin password) but you will loss all your saved files (so back them up to disk if you want them) or the option for factory settings but not deleting files (might still have admin password). to get to this menu on other makes of computer will be with other keys but the same way. one make is holding down f8 while windows loads up. hope this helps. p.s. I am sure somewhere like PC world can tell you which keys if you tell them what computer you have.

    1+

  12. Abril Z 6 years ago

    Hello, Michael, I would really appreciate it if you helped me here.

    We have a Windows Vista (Home Basic) and recently, I accidentally switched the admin and user accounts around (thinking it would help me download a product, which didn't work), and now I can't switch back. I really need to recover or reset the admin password, but I can't download anything to help me reset it (because it asks for the ADMIN password). And re-installing Windows is out of the question. Is there any way I could get that password so I can switch the accounts back?

    Thank you in advance, and please reply as soon as possible, I could really use your assistance.

    1+

  13. Michael Pietroforte 6 years ago

    Abril, with option 4 you only need the Vista boot CD.

    1+

  14. Sam 6 years ago

    I spent hours trying all kind of things. Nothing worked and I did not have a password recovery disk. Then I decided to run a system restore since my previous password was very simple. I restored my system to the time when I was still using the old password. It worked!

    1+

  15. Tomas 6 years ago

    Thanks a LOT - the Trinity kit worked great

    1+

  16. Alicia 6 years ago

    Hello Micheal, I've just come across this article, but I don't know which step to use. I have an HP Touchsmart Notebook and an Aspire One d257-13473. I used them while I was in college and stored them away when I finished.. I came across them while digging through junk.. I charged them, so I could look at what pictures, and etc that were stored on them.. But I totally forgot the log-in passwords to both of them.. I never made a back up cd/USB nor back up anything.. I need ur help.. I don't want to reset the whole computer either.. PLEASE HELP!! 🙂

    1+

  17. Michael Pietroforte 6 years ago

    Alica, if you are not able to solve the problems with one the solutions discussed here, you have to give your computer to a computer-savvy friend or a computer repair shop,.

    2+

  18. Jim 6 years ago

    Great articles and good reads. I've put together a tutorial myself using only the Windows Installtion disc and does not require third party tools. Check it out http://thejimmahknows.com/resetting-windows-and-linux-root-password-with-pictures/

    2+

  19. LEWIS 6 years ago

    i need plain english directions to reset my administrator account on a LENOVO 3000 C100

    2+

  20. suman 5 years ago

    really working...
    thanks!!!

    2+

  21. jun 4 years ago

    Hi!
    I would like to ask assistance on how to remove password bios and password admin windows 8
    ACER aspire one? I've been using bootable drive to recover the admin password, but suddenly appear that system require password for bios. Please help me..

    Thank you..

    2+

  22. Matt 4 years ago

    i download the iso and i install it in a DVD and when i boot it on the computer it stuck on the screen that said Booting Kernel did i donwload the wrong one because it is stuck in that screen for a long time and what should i put on the previous window when it said boot i try the "C:\" and it said that there was no "C:\" drive located.

    2+

  23. BRIAN 4 years ago

    I managed another account to put the guest to be the administrator and everytime i open the guest this appears"profile cannot be loaded" and everytime i download an app this appears"do you want to allow the following program to make changes on this computer"then i must type the guest password but i forgot it...what should i do?????????

    2+

Leave a reply

Your email address will not be published. Required fields are marked *

*

© 4sysops 2006 - 2019

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account