Tip

Forgot the administrator password?

Forgot the administrator password?
Adesh Rampat

The Windows 2000 installer sets up a default administrator account and prompts for a password. Thus, it's possible that the primary user of the system may forget that administrative password, or might not know it at all. That means the user cannot perform any administrative functions, such as applying configuration changes, or even installing a printer driver.

What can you do in such a case? First of all, it's always a good idea for you to have an account that is a member of the administrative group of that machine so that in the event of a forgotten password at least you would have an account to work with in order to try a couple of things.

But in the case where a user just can't get logged onto his machine for some routing work, try the following:

  • Ensure that you are not entering the password with CAPS lock on.
  • Use the account that has some administrative functions. Log on with that account, and change the password for the administrator account.
  • Be careful when you do this next procedure, because you will destroy user accounts when you do it. Log on with an account that has some administrative privileges. The objective is that you need to have read/write access to the system folder. Once you are in this folder, delete the file %systemroot%System32ConfigSAM; this

Requires Free Membership to View

  • folder contains all the user accounts.
  • Reboot, and now you have a new Administrator account with a blank password.

Please note: This procedure should not be done on a live server due to the fact that all user accounts will be deleted! The only way that this should be performed on a server is if there are adequate backup servers with user accounts.


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 October 2001

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.