Can't remember any passwords?

Recently I was placed in scenario where a user forgot the administrator's password on a Windows NT 4.0 standalone workstation. Worst yet, the user had even forgotten the regular user-account password. And there was no Emergency Repair Disk (ERD) available. Having one would have made life a whole lot easier in restoring the SAM database and necessary NTUSER.DAT files.

But there was some good news: the workstation, being a standalone unit, wasn't used a lot, so there was no long user-account listing.

How to restore user access to the workstation? Here's the procedure I followed.

You have to have the following:

  • Three NT 4.0 workstation setup disks
  • The NT 4.0 workstation CD-ROM

Boot NT using setup disk 1.
Follow the on-screen installation instructions.
During the installation process you will see a screen that will include an option to Repair a current installation, which you should select.

Now you'll see a screen with these options:

  • Inspect Registry Files
  • Inspect startup environment
  • Verify Windows NT system files
  • Inspect boot sector

Select verify Windows NT system files, and deselect the rest.

Select only:


from the list of options that follows.

The repair process you have just started will then restore the original SAM database. Then you'll get a prompt to restart the workstation.

After the reboot, the system will show the default administrator's. Click OK to logon with the default administrator's account (you do not have to enter any password).

Please note that all other user accounts created previously will not be present since the original SAM is restored. So you'll have to recreate any user accounts you want, apply the proper security restrictions, etc.

The lesson learned here is that it is always advisable to have a copy of the Emergency Repair Disk (ERD) updated and readily available. Had that been the case in this situation, all I would have had to do was to use this disk when prompted during the setup procedure.

Adesh Rampat has 10 years experience with network and IT administration. He is a member of the Association Of Internet Professionals, the Institute For Network Professionals, and the International Webmasters Association. He has also lectured extensively on a variety of topics.

This was first published in March 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.