Windows Server 2022 is the bet that Microsoft has for companies of all kinds, delivering a series of roles and functions so that the administrator has the key tools to work everything that this system encompasses. Right there, the Active Directory or Active Directory provides us with the simplest administration options and one of the daily tasks is to reset the password of a user either because I forgot it (99% of the cases) or because of locks..
The password is essential for the protection of our computers and accounts, so it is necessary to keep them safe. You may forget or lose this Active Directory password if you have it saved. Regardless of the case, TechnoWikis will give you the steps to reset the password of an Active Directory user in Windows Server 2022.
To stay up to date, remember to subscribe to our YouTube channel! SUBSCRIBE
1. Reset Windows Server 2022 user password with Menu
In the Server Manager we go to "Tools - Active Directory Users and Computers":
In the Active Directory window, we right click on the user and select the option "Reset password":
The following window will be displayed where we enter the new password:
In this window it is possible to check the box "Unblock the user's account" in case it has been blocked by several failed login attempts. Apply the changes.
Now we double click on the user and in the "Account" tab it is possible to edit the password options:
2 . Reset Windows Server 2022 user password with PowerShell
We access PowerShell as administrators:
In the console we list the local users with the command:
We assign the password to the $ NewPassword cmdlet:
"$ NewPassword = ConvertTo-SecureString" password "-AsPlainText -Force"
Then we are going to use this $ NewPassword cmdlet to set the registered password to the desired user with the syntax:
Set-LocalUser -Name "user" -Password $ NewPassword
This method is functional in scenarios where the password is the same for the user group.
Thus we have seen two options to reset the user password in Windows Server 2022..