How to - Change passwords for Active Directory users in bulk using a .csv file
Channel: Daily IT
Date: 2020-05-08

Many accounts in your AD might need a password change. What if you want to do this in bulk ?

First, we need to the userlist. Depending on your requirements we need to get a list of users (specifically samaccountname). For random password generation use https://www.random.org/passwords/  as it can generate up 100 for free.
Or
 I recommend using http://manytools.org/network/password-generator/ as it can generate up 1000 for free.

Download files Here
https://drive.google.com/open?id=1uPyYrOjdsNr1i6ilPEub0Yc9rroAFSgT
https://drive.google.com/open?id=1uPyYrOjdsNr1i6ilPEub0Yc9rroAFSgT

Make sure you do the following on a domain controller or connecting to your domain controller via PS-remote with elevated permissions.

Run this in PowerShell (Open PowerShell in Admin Mode)


-Reset
Specifies to reset the password on an account. (User is not prompted to change password).
To use this parameter, you must set the -NewPassword parameter.
You do not need to specify the -OldPassword parameter.