Forum Discussion
Reset windows server 2022 admin password without losing data?
Using the Built-in Windows Recovery Options can be an effective way to reset Windows Server 2022 administrator password if you have access to the server or its console. These options are designed to help recover or troubleshoot your system without needing additional third-party tools.
How to use Built-in Windows Recovery Options to reset Windows Server 2022 administrator password:
1. Boot into Recovery Mode
If you have physical or remote console access:
Restart the server.
During startup, press F8, Shift + F8, or your server's specific key to access the Advanced Startup Options.
Alternatively, if Windows is running, you can navigate to:
Settings > Update & Security > Recovery
Under Advanced startup, click Restart now.
2. Access Command Prompt
In the Recovery Environment:
Choose Troubleshoot > Advanced options > Command Prompt.
3. Use Command Prompt to Reset Windows Server 2022 administrator password:
In the Command Prompt window:
Type the following command to list user accounts:
net user
To reset the administrator password, type:
net user Administrator newpassword
Replace newpassword with your desired password.
4. Restart and Log In
Exit Command Prompt and restart the server.
Log in using the Administrator account with the new password.