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
-
Open the Amazon Directory Service console at https://console.amazonaws.cn/directoryservicev2/.
-
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.
-
Choose Actions, and then choose Reset user
password and enable account.
-
Under User logon name, enter the user logon name for
the user whose password you want to reset.
-
Under New password, enter the user's new password.
-
Under Confirm password, enter user's new password
again.
-
After you confirm the user's new password, choose Reset password and
enable account.
Directory details
-
Open the Amazon Directory Service console at https://console.amazonaws.cn/directoryservicev2/.
-
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.
-
Choose a directory. You're directed to the Directory
details screen.
-
Choose Users. The tab shows a list of users in your
directory.
-
Select the user whose password you want to reset.
-
Choose Actions, and then choose Reset user
password and enable account.
-
Under New password, enter the user's new password.
-
Under Confirm password, enter user's new password
again.
-
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.
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.
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.