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 Password Reset with AD Pro Toolkit

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 AD Pro Toolkit contains multiple tools to simplify managing and reporting on Active Directory environments. You can download a 14-day trial or a schedule a demo and talk to a real person.

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