+4 votes
239 views
Reset User Password Active Directory Windows Server 2022 | Menu or PowerShell

in WindowsServer by (552k points)
reopened | 239 views

1 Answer

+5 votes
Best answer

1. Reset Windows Server 2022 user password with Menu
2 . Reset Windows Server 2022 user password with PowerShell

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

 

Step 1

In the Server Manager we go to "Tools - Active Directory Users and Computers":

 

image

 

 

Step 2

In the Active Directory window, we right click on the user and select the option "Reset password":

 

image

 

 

Step 3

The following window will be displayed where we enter the new password:

 

image

 

 

Step 4

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.

 

image

 

 

Step 5

Now we double click on the user and in the "Account" tab it is possible to edit the password options:

 

image

 


2 . Reset Windows Server 2022 user password with PowerShell

 

Step 1

We access PowerShell as administrators:

 

image

 

 

Step 2

In the console we list the local users with the command:
 Get-Localuser 
image

 

 

Step 3

We assign the password to the $ NewPassword cmdlet:
 "$ NewPassword = ConvertTo-SecureString" password "-AsPlainText -Force" 
image

 

 

 

Step 4

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 
image

 

Note
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..

 


by (3.5m points)

Related questions

+4 votes
1 answer
+3 votes
1 answer
+3 votes
1 answer
+4 votes
1 answer
+4 votes
1 answer
asked Feb 16, 2021 in WindowsServer by backtothefuture (552k points) | 172 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users