Reset the Windows administrator password using EC2Launch - Amazon Elastic Compute Cloud

If you have lost your Windows administrator password and are using a Windows Server 2016 or later AMI, you can use the EC2Rescue tool , which uses the EC2Launch service to generate a new password.