View a markdown version of this page

Resetting and enabling an Amazon Managed Microsoft AD user's password - Amazon Directory Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Resetting and enabling an Amazon Managed Microsoft AD user's password

Use the following procedure to reset an Amazon Managed Microsoft AD user's password to enable their account with Amazon Directory Service Data in the Amazon Web Services Management Console, Amazon CLI, or Amazon Tools for PowerShell.

Before you begin, complete the following:
Amazon Web Services Management Console

You can reset an Amazon Managed Microsoft AD user's password to enable their account in the Amazon Web Services Management Console. You can perform this task from either the Directories screen or Directory details screen.

Directories
  1. Open the Amazon Directory Service console at https://console.amazonaws.cn/directoryservicev2/.

  2. From the navigation pane, choose Active Directory, and then choose Directories. You're directed to the Directories screen where you can view a list of directories in your Amazon Web Services Region.

  3. Choose Actions, and then choose Reset user password and enable account.

    1. Under User logon name, enter the user logon name for the user whose password you want to reset.

    2. Under New password, enter the user's new password.

    3. Under Confirm password, enter user's new password again.

  4. After you confirm the user's new password, choose Reset password and enable account.

Directory details
  1. Open the Amazon Directory Service console at https://console.amazonaws.cn/directoryservicev2/.

  2. From the navigation pane, choose Active Directory, and then choose Directories. You're directed to the Directories screen where you can view a list of directories in your Amazon Web Services Region.

  3. Choose a directory. You're directed to the Directory details screen.

  4. Choose Users. The tab shows a list of users in your directory.

  5. Select the user whose password you want to reset.

  6. Choose Actions, and then choose Reset user password and enable account.

    1. Under New password, enter the user's new password.

    2. Under Confirm password, enter user's new password again.

  7. After you confirm the user's new password, choose Reset password and enable account.

Amazon CLI

You can reset an Amazon Managed Microsoft AD user's password to enable their account with the Amazon Directory Service Data CLI.

Note

This command uses the aws ds namespace.

To reset an Amazon Managed Microsoft AD user's password with the Amazon CLI
  • To reset a user's password, open the Amazon CLI, and run the following command with your Directory ID, username, and password:

aws ds reset-user-password \ --directory-id d-1234567890 \ --user-name "jane.doe" \ --new-password "your-password"

For more information, see reset-user-password.

PowerShell

You can reset an Amazon Managed Microsoft AD user's password to enable their account with Amazon Tools for PowerShell.

Note

This command uses the AWS.Tools.DirectoryService module.

To reset an Amazon Managed Microsoft AD user's password with Amazon Tools for PowerShell
  • To reset a user's password, open PowerShell, and run the following command with your Directory ID, username, and password:

Reset-DSUserPassword ` -DirectoryId d-1234567890 ` -UserName "jane.doe" ` -NewPassword "your-password"

For more information, see Reset-DSUserPassword.