Subscribe to Windows IT Pro
May 20, 2002 12:00 AM

How to Reset the Administrator Password

Windows IT Pro
InstantDoc ID #24862
Rating: (6)

Editor's Note: Share your Windows and .NET discoveries, comments, problems, solutions, and experiences with products and reach out to other Windows & .NET Magazine readers (including Microsoft). Email your contributions (400 words or less) to r2r@winnetmag.com. Please include your phone number. We edit submissions for style, grammar, and length. If we print your submission, you'll get $100. Submissions and listings are available online at http://www.winnetmag.com/articles. Enter the InstantDoc ID number in the InstantDoc ID text box.

How to Reset the Administrator Password
I recently applied a couple of Microsoft Office 2000 patches on a Windows 2000 Professional machine. After rebooting the machine, I couldn't log on. Win2K rejected my password, although I hadn't changed it. I tried to use the Win2K setup CD-ROM to repair the installation, with no success. I then followed Darren Sykes's advice in Reader to Reader: "Lost Passwords," (April 2001, InstantDoc ID 20030). I was able to start the Microsoft Management Console (MMC) Computer Management snap-in, but when I tried to set a new Administrator password, I received the error message Unable to change password. None of the Microsoft Windows 2000 Resource Kit's tools fixed the problem. I tried to create another account with Administrator rights, to no avail. I couldn't change anything related to user accounts.

I searched TechNet and finally found a solution. The Microsoft article "How to Identify the User Who Changed the Administrator Password" (http://support.microsoft.com/default.aspx?scid=kb;en-us;q173939) explains that Win2K and Windows NT store the Administrator password in the HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\000001F4\F registry subkey. My machine boots into Win2K Pro and Win2K Server, so I started Win2K Server and reset the Administrator password to blank. Then, I launched regedt32, navigated to the HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Users\000001F4\F registry subkey, and copied the value's contents. Next, I loaded Win2K Pro's SAM hive and pasted the copied data to the loaded SAM hive's HKEY_LOCAL_MACHINE\WIN2K\SAM\Domains\Account\Users\000001F4\F registry subkey. This action changed Win2K Pro's Administrator password to blank, and I was able to log on after rebooting.

Related Content:

ARTICLE TOOLS

Comments
  • jameslo
    7 years ago
    Jan 20, 2005

    If you have physical access to the machine, download and use LinNT to reset the admin password. It's non-destructive.

  • Anonymous User
    7 years ago
    Jan 16, 2005

    I bought a computer with windows 2000 pro installed on it. I don't know the password to log into windows. Is there anyway I can reset the password?

  • Patrick
    8 years ago
    Jun 18, 2004

    yeah. i can't get past the log in screen. how do you get on, if you can't use any username or password. and i don't have the option to tell the computer to not log onto a domain. can anyone help? i really need to get this computer working.

  • Danny
    9 years ago
    Dec 05, 2003

    As Mike above, I can log on but not as Administrator and he has left the company

  • Mike Brown
    9 years ago
    Nov 13, 2003

    Ahhh, If you can't log on to the server with administrative access how are you going to edit the registry?

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.