Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want practically all of my AD users in my organization to change their password the next time they log in. I have roughly 160 users. I would also like to not include a few select members. Is there a quick way to do this rather than going through AD and checking the box for each user one at a time?

share|improve this question
up vote 3 down vote accepted

Select all the users you want to change password. Shift or Control click to select more than one. Then right click -> Properties -> Account -> Users must change password at next logon.

share|improve this answer

Here is a link to a very good and very useful tool for doing what you want.

You can do this by OU, by CSV import based on username for a unique identifier, lots of options.

share|improve this answer

Another option, using PowerShell and the Quest PowerShell Commands for Active Directory.

This will:

  1. Export all users to a text file
  2. Open notepad, giving you an opportunity to remove any users that shouldn't be prompted for a password reset
  3. Process the revised file, marking each user left as needing a password change on next login

Contents of PowerShell script:

# Variable for path, change to convenient location
$exportPath = "c:\Users.txt"
# Get all users, export only their user name to a text file
Get-QADUser | Select -ExpandProperty SamAccountName | Out-File $exportPath
# Open notepad on this file
notepad $exportPath
# Write message to console
Write-Host "Using notepad, remove users not required to change password"
# Wait for user to press enter to continue
Read-Host "Press enter when ready"

# Read the text file back in, load an AD user for each line, and change their setting
Get-Content $exportPath | Get-QADUser | Set-QADUser -UserMustChangePassword $true
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.