Windows

Recovering from a forgotten Administrator password in Windows 2000 Pro

Memory failing? If it's not your computer memory, it might be that you've mentally mislaid your Administrator password for your Windows 2000 Professional system. It may be lost forever, but here are a few methods for resetting the password.

It's the one of the worst things you can do, and it makes you feel like a complete idiot. You forgot the password for the Administrator account of your Windows 2000 Pro system. If you've just finished the install, check for an innocent mistake before you jump out the window or reinstall—enter the password in uppercase in case the Caps Lock key was on when you created the Administrator account.

Didn't do it? Hopefully you have another account that is a member of the Administrator's group. If so, just log on with that account and change the Administrator password. If that doesn't do the trick and you can afford to lose any other accounts contained on the system (likely with a workstation but unlikely on most servers), delete the SAM hive. On a FAT system, boot the computer with an old DOS or Windows 9x boot disk and delete the %systemroot%\System32\Config\SAM file (or rename it). On an NTFS system, you can use the Recovery Console to access and delete the file, but only if you have configured the Recovery Console for automatic administrative logon through the local security policy or through the inherited domain security policy.

Another option is to back up the system, reinstall Windows 2000, and then restore the system. As when deleting the SAM, you'll lose your accounts, but at least you'll have the system back with all your other settings intact. And if you absolutely don't want to lose your accounts, check out http://www.winternals.com/ for utilities that will enable you to reset the administrator password.

Miss a column?

Check out the Windows 2000 Professional archive, and catch up on all the W2K Pro columns.

Want more Win2K tips and tricks? Automatically sign up for our free Windows 2000 Professional newsletter, delivered each Tuesday!

23 comments
samsulalam08
samsulalam08

my computer windows password already forget. so i want to open my password. otherwish make another username and password. so plz give me advice how i can open my password or another username and password.

BloggerDigest
BloggerDigest

This article is about to crack in Windows XP without knowing or changing administrtor password, which i suppose to work in Windows 2000 as well.

itsds
itsds

Boot from a rescue cd that contains this nifty util; Trinity Rescue CD is one :-)

fmendez
fmendez

I Couldn't follow the link to try to download. Any other known source to download this file?

NI70
NI70

I have not personally tried UBCD, but have used UBCD4Win or Ultimate Boot CD for Windows, from http://www.ubcd4win.com. Great set of tools for any systems administrator or PC tech.

hpoppe
hpoppe

I frequently "crack" Windows passwords. For this I use UBCD, (Ultimate Boot CD). It takes only a few minutes to set the password blank.

ascott
ascott

Or you can download ntpasswd, This is a linux boot cd that lets you delete any password

ollie56
ollie56

I tried the UBCD on a windows 2000 professional system and it acts like it is changing the password, but it doesn't work.. Tried it several time with no luck at all.. Am I doing something wrong ? I followed all the steps and still didn't work.

tayyaba_azim
tayyaba_azim

May I know from where did you get this ultimate boot CD.I mean what is its basic purpose?Did u get it with the laptop CDz?

unhappyuser
unhappyuser

It actually works too well. It's sort of scary how easy it is for someone to "hack" your computer with this program.

ascott
ascott

Or try this WSH VB script.It can reset any local admin password for any networked PC or server Dim fsoIn, fsoOut Dim inFile, outFile Dim arrComputerNames Dim objUser Dim strComputer Dim newPassword Dim ErrorOccurred Const ForReading = 1 Const ForWriting = 2 Const ForAppending = 8 Const inFilename = "servers.txt" Const outFilename = "ChangePwdServers.log" '------------------------------------------------------------------------------- ' Main script '------------------------------------------------------------------------------- On Error Resume Next ErrorOccurred = False ' Insert WARNING here... Msgbox ("WARNING: This script will change the local administrator password for every " & _ "computer listed in SERVERS.TXT. If any services are running with the local " & _ "administrator credentials, those services must be updated, or they won't " & _ "start on the next boot. For this script to work, you must have administrative " & _ "privileges on all of the remote computers you are changing the password for.") ' Get new password newPassword = Inputbox ("Please enter the new password.") ' Open the input file and skip the header line Set fsoIn = CreateObject("scripting.filesystemobject") Set inFile = fsoIn.OpenTextFile(inFilename, ForReading, True) inFile.Skipline ' Open the log file (append mode) and timestamp the entry Set fsoOut = CreateObject("scripting.filesystemobject") Set outFile = fsoOut.OpenTextFile(outFilename, ForAppending, True) outFile.writeline (Now & vbTab & "Starting script...") While Not inFile.AtEndOfStream arrComputerNames = Split(inFile.Readline, vbTab, -1, 1) ' arrComputerNames(0) contains the computer name strComputer = arrComputerNames(0) ' Connect to the computer\administrator account Set objUser = GetObject("WinNT://" & strComputer & "/Administrator, user") If Err.Number 0 Then outFile.writeline Now & vbTab & "Error connecting to " & strComputer & " --- " & Err.Description Err.Clear ErrorOccurred = True Else ' Set the password for the account objUser.SetPassword newPassword objUser.SetInfo If Err.Number 0 Then outFile.writeline Now & vbTab & "Error setting password for " & strComputer & _ "\Administrator" & " --- " & Err.Description Err.Clear ErrorOccurred = True Else outFile.writeline (Now & vbTab & "Password set for " & strComputer & "\Administrator") End If End If Wend ' Clean up the environment outFile.writeline (Now & vbTab & "Ending script...") inFile.close outFile.close If ErrorOccurred Then msgbox "Script completed with errors. Please check the log file." Else MsgBox "Script completed successfully." End If

ManiacMan
ManiacMan

If you're tasked as a network admin and you forget your passwords as you say due to memory loss, then you have bigger problems than cracking passwords, such as the onset of alzheimers disease.

Aragorn7
Aragorn7

You could try www.loginrecovery.com .

ganesh.jaratarghar
ganesh.jaratarghar

Is there in download software available for breaking the password of administrator for windows 2000/2003 Server operating system. The information which I got is really very much important. Some times I will be forgetting the password. Please send me the link for downloading the software for breaking the Password.

ollie56
ollie56

Tried it a couple times again and it worked great..

harrison.smith
harrison.smith

I have also used this linux kernel based tool many times over the years. small enuf to fit on any storage device, and works like a charm.

rdubrey
rdubrey

I have a customer right now that has a Win2K Pro box with a password that they changed and then forgot. I set up a back door admin account for myself in all my systems now. People have said they could hack that password but I haven't taken them seriously because this is a business PC and I don't like messing around with things like that. I am thinking now I might give this a try. Can you repost a URL? Thanks.. Rob

No name specified
No name specified

I second all those methods, in that precise order. For those interested to do it another way, Webroot Admin Pak...

gshollingsworth
gshollingsworth

So maybe you should configure your BIOS to only boot from the hard drive. Oh, and might as well protect the BIOS configuration with the BIOS setup (not boot) password. (You cannot bypass the BIOS password by booting to a floppy or CD if only booting to the HDD is allowed, be logical.) Finally, if you suspect somebody might use the BIOS password reset jumper on the MB, then lock or seal the chassis. If you need any more than that, lock the entire computer in a ventilated cabinet, or lock the user away from the computer.

phil.gillett
phil.gillett

who still retains the Administrator account name as "Administrator"?

Editor's Picks