Bulk Password Reset in Active Directory

In this guide, you’ll learn how to bulk reset passwords for multiple Active Directory users at once using PowerShell and the AD Pro Toolkit.

Whether you’re resetting passwords after a security breach, preparing new accounts for onboarding, or enforcing a company-wide password policy, this method works for any number of users, from 10 to 10,000.

How to Bulk Reset Passwords with AD Pro Toolkit

The AD Pro Toolkit includes a Password Reset Tool that simplifies resetting passwords for multiple Active Directory users.

Step 1. Click on Users > Bulk Update Password

Step 2. Select Users. You can browse and select an OU, select all users or use a csv list.

select users or use a csv file

Step 3. Choose Password options.

  • Auto generate a unique password for each user
  • Use password from a CSV
  • Set the same password for all users (not recommended)
  • User must change password at next logon (recommended)
  • Unlock account if locked
select password reset options

Step 4. Click Reset Passwords button.

run password reset for selected users

The results section will show you the status after the tool runs. If you chose to auto generate passwords, they will be listed in the results section. Clicking Export Results will download the result section to a csv.

Download 14-day free trial.

How to Bulk Password Reset with PowerShell

Step 1. Create a CSV file with two columns

csv file of users

Step 2. Run the follow command.

Change the path to the location where you saved your csv file.

Import-Csv "C:\it\Allusers.csv" | ForEach-Object {
    Set-ADAccountPassword -Identity $_.SamAccountName `
        -NewPassword (ConvertTo-SecureString $_.Password -AsPlainText -Force) `
        -Reset
    Write-Host "Password reset completed for $($_.SamAccountName)" -ForegroundColor Green
}
bulk reset powershell example