(Windows Server 2022)
If you’ve previously created a password reset disk, insert it into the server. On the login screen, click Reset Password.
If you have access to another administrator account on the server, log in with it. Open Computer Management.
Restart the server and press F8 to access the advanced boot options. Choose Safe Mode with Command Prompt, then type net user Administrator.
Insert the Windows Server 2022 installation disk and boot from it. Choose Repair your computer, open the Command Prompt, and use net user commands.
If you have regular system backups, you can restore the server to a previous state where you remember the password or use backup tools to reset it.
By following these steps, you can recover or reset your password on Windows Server 2022, ensuring minimal downtime.