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.