Set-ADAccountPassword — Basic UsageIT technician command center
PowerShell · Active Directory

Set-ADAccountPassword — Basic Usage

Use Set-ADAccountPassword for a standard administrative task.

Copy-ready commandSet-ADAccountPassword — Basic Usage
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString)
Production warning

Test write operations in a non-production environment first.

Requirements and permissions

Requirements
RSAT ActiveDirectory module
Permissions
Domain permissions vary
Last reviewed
2026-07-31

Examples

Basic Usage

Use Set-ADAccountPassword for a standard administrative task.

Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString)

Original command

Reset an Active Directory password.

Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString)

Common errors

Command not found

Confirm RSAT ActiveDirectory module is installed and available in your current shell.