Windows2003 How to add admin account and retrieve password

Source: Internet
Author: User
Tags administrator password

Method One, Command mode increase

Start – Run input control userpasswords2 OK

Out a user account

Point add to enter your account name in it – Point next

Select Other in the other box to select the administrator

Method One,

Start-run-cmd

NET user create name password/add

net localgroup Administrators create name/add

I can do it ~ ~ ~

This adds a good administrator.

If your admin password is forgotten, we can restore it by the following method

1, can log on locally dc;2, need local Administrator password (DC also has local administrator); 3, Srvany and INSTSRV (included in Resource Kit)

*DC's local administrator is also called Directory Recovery Administrator or machine account, and I think we all have this hint when we install DC.

First step:

Restart Windows 2003 DC computer, enter directory restory service mode, log in with local Administrator account;

Step Two:

Create a new directory, such as: C:/resdomadmin, and then copy Srvany,instsrv and%systemroot%/system32/cmd.exe,

Step Three:

Go to the command prompt and run instsrv passwordrecovery "C:/resdomadmin/srvany. EXe "

Fourth Step:

Run Registry Editor: regedit, find Hkey_local_machine/system/currentcontrolset/services/passwordrecovery,

Then add a subkey named parameters, and create two new key values below:

Name: Application
Type: REG_SZ (String)
Value: D:/temp/cmd.exe

Name: Appparameters
Type: REG_SZ (String)
Value:/k NET User Administrator New_password

Note: The new_password here requires a password-compliant policy, such as P@ssw0rd

Then run services.msc, find PasswordRecovery, configure the Run as Automatic (Automatic), and then select Allow interaction with the desktop in the Properties login page.

Fifth Step:

Restart your computer. Then you can log in with the password you just configured.

Then run the following action: net stop PasswordRecovery, SC delete passwordrecovery

Finally, don't forget to delete c:/resdomadmin this directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.