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 user and group management or Amazon Directory Service Data in either the Amazon Web Services Management Console, Amazon CLI, Amazon Tools for PowerShell.

Before you begin either procedure, you need to 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 use's password to enable their account with the Amazon Directory Service Data CLI.

Note

The reset user's password command uses aws ds.

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, replacing the Directory ID, username, and password with your Amazon Managed Microsoft AD Directory ID, username, and desired credentials:

aws ds reset-user-password --directory-id d-1234567890 --user-name "jane.doe" --new-password "your-password"
Amazon Tools for PowerShell

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

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

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