General discussion

Locked

Change Administrator's Password in Win 2

By wcp ·
How do I recover/change forgotten Administrator's password in Win 2K when there is no other account with Admin's right? One method from a recent Tech Republic's article suggets to change Logon.scr to Cmd.exe and use "Net user" command to set new Administrator's password. This method works on Win NT 4.0 but not on Win 2K. Any feedback on this?

This conversation is currently closed to new comments.

14 total posts (Page 2 of 2)   Prev   01 | 02
Thread display: Collapse - | Expand +

All Comments

Collapse -

Change Administrator's Password in Win 2

by chikara89 In reply to Change Administrator's Pa ...

Here is an article I copied from TechRepublic

I'll have to send it it two messages because of the ength of it.

WHAT TO DO IF YOU FORGET YOUR ADMIN PASSWORD, PART 1

With all the information administrators process daily, it's no wonder that passwords are forgotten sometimes. If you choose not to (or can't) assign yourself a new password, you have several options.

First, if you have Windows 2000 installed on a FAT or FAT32 partition, you can use a DOS or Windows 9x boot disk to boot the computer and then delete the SAM file in the \windows\system32\config folder. (This file stores all users and their passwords defined on the local computer; if you delete it, you'll delete all local users with it.) After you restart the machine, you'll be able to use Administrator username with a blank password. NOTE: Remember that you'll lose all user accounts defined on this machine.

If Windows 2000 is installed on an NTFS partition, you have two options--both of which require a bit of work. One option is to use a utility that allows you to read/write on an NTFS partition, such as NTFSDOS from Winternals. You can then use a DOS or Windows 9x bootable floppy to boot the computer and delete the SAM file.

Or you can delete the SAM file from another instance of Windows 2000 if you don't want to fool with old bootable floppies. This requires you to install a temporary instance of Windows 2000 on the same computer and delete the file from there. After you log on to your original installation, you can remove the temporary one.

Collapse -

Change Administrator's Password in Win 2

by chikara89 In reply to Change Administrator's Pa ...

There's a slightly different method you can try if you don't want to lose all your existing user accounts. By default, Windows 2000 starts a special screen saver (located in Logon.scr) when no one logs on for a certain period of time. If you rename Cmd.exe to Logon.scr, the system will open the command prompt under the system account instead of the screen saver.

Once you get the command prompt, type net user administrator mynewpassword, where mynewpassword is the password you want to assign to the administrator account. You won't have problems copying Cmd.exe to Logon.scr if you have FAT/FAT32, but with NTFS, you'll have to come up with something else (e.g., a new parallel installation of Windows 2000).

Collapse -

Change Administrator's Password in Win 2

by wcp In reply to Change Administrator's Pa ...

Deleting SAM file works but the other method does not.

Collapse -

Change Administrator's Password in Win 2

by wcp In reply to Change Administrator's Pa ...

This question was closed by the author

Back to Windows Forum
14 total posts (Page 2 of 2)   Prev   01 | 02

Related Discussions

Related Forums