Delete a user's account with an Amazon EC2 instance
You can use the following procedure to delete a user with an Amazon EC2 instance that's joined to your AWS Managed Microsoft AD.
Note
Before you complete this procedure, you must install the Active Directory administration tools. For more information, see Install the Active Directory administration tools.
To delete a user
Open the Active Directory Users and Computers tool. There is a shortcut to this tool in the Windows Administrative Tools folder.
Tip
You can run the following from a command prompt on the instance to open the Active Directory Users and Computers tool box directly.
%SystemRoot%\system32\dsa.msc
In the directory tree, select the OU containing the user that you want to delete (for example, Corp\Users).
Select the user you wish to delete. On the Action menu, choose Delete.
A dialog box will appear prompting you to confirm you want to delete the user. Choose Yes to delete the user.
Deleted users are stored temporarily in the AD Recycle Bin.
For more information about the AD Recycle Bin, see The AD Recycle Bin: Understanding, Implementing, Best Practices, and Troubleshooting