Forum Discussion

Frank__37's avatar
Frank__37
Copper Contributor
Jan 08, 2026

Set-ADAccountPassword CmdLet not found

Hi,

Edition: Windows Server 2022 Standard

Version: 21H2

PowerShell with "administrator" rights

I installed successful:

  • Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools*
  • Install-WindowsFeature -Name RSAT-ADDS-Tools

If I try to call

Set-ADAccountPassword -Identity MyUserName

The CmdLet is not found

I didn't found infos on https://learn.microsoft.com/en-us/powershell/module/activedirectory/set-adaccountpassword?view=windowsserver2025-ps

What is missing?

 

1 Reply

  • Mike316's avatar
    Mike316
    Copper Contributor

    Hello, I am a novice, but reading the above, you say that you installed those two, but did you also install RSAT-AD-PowerShell (Install-WindowsFeature RSAT-AD-PowerShell)? If not try that and then import it Import-Module ActiveDirectory and try againHope that works out for you 😀


Resources