Share via

I need to recover or reset the administrator password for a windows 2019 server.

Sharwan Kumarkarn 0 Reputation points
2026-03-12T12:58:57.34+00:00

I need to recover or reset the administrator password for a windows 2019 server.

Windows for business | Windows Server | Directory services | Active Directory
0 comments No comments

1 answer

Sort by: Most helpful
  1. HLBui 4,720 Reputation points Independent Advisor
    2026-03-12T13:45:47.71+00:00

    Hi Sharwan Kumarkarn

    If you’ve lost the admin password, the most supported way is to use another account that already has admin rights and reset it from there. If you don’t have any other admin accounts, you’ll need to use the Windows Server installation media or recovery tools. Boot from the installation disk, go into Repair your computer - Troubleshoot - Command Prompt, and from there you can enable the built‑in Administrator account or reset the password using command‑line tools. Once you’re back in, you can set a new password for your main admin account.

    Another option, if your server is joined to a domain, is to reset the password through Active Directory Users and Computers from a domain controller. That way, you don’t even need to touch the local machine directly. If it’s a standalone server, though, the recovery media route is usually the way to go.

    Please notice that avoid third‑party “password reset” tools floating around the internet. They can be risky and unsupported. Stick with Microsoft’s built‑in recovery methods they’re safer and won’t break your environment. Also, once you get back in, it’s a good idea to create a secondary admin account for emergencies, so you’re not locked out again if the main password is forgotten.

    If everything is okay, don't forget to share your experience with the issue by "Accept answer". If you need more information, feel free to leave a message. We are happy to help!

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.