---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Reset AD User Password activity

# Reset AD User Password activity {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

The Reset AD User Password activity resets the password of a user account in Windows
Active Directory.
If the new password violates any Active Directory password requirements, such as length or
character combinations, the reset activity fails and returns the appropriate error message.
This error appears in the ECC Queue and when you point to the activity in the Workflow
Editor.  
To access this activity in the Workflow Editor, select the Custom tab, and then navigate to Custom ActivitiesActive Directory.  
Hinweis:  
This activity replaces an AD activity by the same name available in prior releases. If you have a workflow that uses the deprecated activity, your workflow will continue to work normally after upgrading to Instanbul. However, all new workflows must use the custom version of this activity, which was built with the [PowerShell activity designer](https://servicenow-prod.fluidtopics.net/MjnUEg~6RmXMwQSzlAKDTA "PowerShell activities are configured to return data to a workflow from a host using Microsoft PowerShell.").

## Input variables

{#r_ResetADUserPassword__table_bkq_fqh_dp__entry__2}

| Variable | Description |
|-|-|
| DomainController | IP address of the domain controller machine. |
| User | The sAMAccountName of the Active Directory user account. |
| Password | The new password for the user. This password must comply with the organization's Active Directory requirements. |
| ForceChange | Makes this password temporary by forcing the user to change it at the next login. |
| Unlock | Unlock the account if the account is locked. |
[Tabelle : 1. Reset AD User Password input variables]

{#r_ResetADUserPassword__table_bkq_fqh_dp}

## Output variables

{#r_ResetADUserPassword__table_oxz_bg1_ts__entry__2}

| Variable | Description |
|-|-|
| result | One of the following outcomes: * failure * success * Policy Failure {#r_ResetADUserPassword__ul_ekn_gsl_zs} |
| errorMessage | The executionResult.errorMessages from the [Activity designer parsing sources](https://servicenow-prod.fluidtopics.net/jecuRsCuzIyfFDyPkB_Ehw#r_ActivityDesignerParsingSources "This table lists the parsing sources available with each execution template."). |
| hresult | Powershell command result. |
[Tabelle : 2. Reset AD User Password output variables]

{#r_ResetADUserPassword__table_oxz_bg1_ts}

## Conditions

{#r_ResetADUserPassword__table_pft_nf1_ts__entry__2}

| Condition | Description |
|-|-|
| Success | Password was successfully reset. |
| Policy Failure | New password does not comply with the organization's Active Directory requirements. |
| Failure | An error occurred while attempting to reset the password. Additional details may be available in the workflow log. |
[Tabelle : 3. Reset AD User Password conditions]

{#r_ResetADUserPassword__table_pft_nf1_ts}

