May 20, 2002 05:20 PM

How to Reset the Administrator Password

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

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.

ARTICLE TOOLS

Add a Comment

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

jameslo1/20/2005 12:55:20 PM


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?

Anonymous User 1/16/2005 12:15:51 PM


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.

Patrick6/18/2004 6:36:07 PM


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

Danny12/5/2003 12:52:52 PM


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



Mike Brown 11/13/2003 9:40:52 AM


You must log on before posting a comment.

Are you a new visitor? Register Here
Free Power Tools Brochure
Get Mark Minasi's 17-page guide today!



      

advertisement

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS

White Papers

Your remote offices contain valuable electronic data – are they adequately protected? Learn how proven technologies can reliably and cost-effectively back up a branch office from a central location, in real time, to disk or tape, and even utilize existing backup solutions.

Downloads

PacketTrap IT is a comprehensive and affordable network management and application monitoring solution that solves problems associated with bandwidth, network and application performance, and connectivity. Gain insight into your network - try PacketTrapIT free for 21 days!

Web Seminars

IT administrators have to solve a myriad of problems. This web seminar outlines the ten most common systems management pains - including managing highly distributed systems and dealing with data theft/loss – and the best practices to address each.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

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