How do I use the AWSSupport-RunEC2RescueForWindowsTool runbook to run EC2Rescue for Windows Server?

2 minute read
0

I want to use the AWSSupport-RunEC2RescueForWindowsTool Support Automation Workflow runbook to run EC2Rescue for Windows Server.

Resolution

Before you start the AWSSupport-RunEC2RescueForWindowsTool runbook, make sure that your AWS Identify and Access Management (IAM) user or role has the required permissions. For more information, see the example IAM policy in Use EC2Rescue for Windows Server with Systems Manager Run Command.

Note: If you receive errors when you run AWS Command Line Interface (AWS CLI) commands, see Troubleshoot AWS CLI errors. Also, make sure that you're using the most recent AWS CLI version.

Complete the following steps:

  1. Open the Systems Manager console.
  2. In the navigation pane, choose Documents.
  3. In the search bar, enter AWSSupport-RunEC2RescueForWindowsTool.
  4. Select the AWSSupport-RunEC2RescueForWindowsTool document.
  5. Choose Run command.
  6. In Command parameters, for Command, choose one of these parameters:
    ResetAccess
    CollectLogs
    FixAll
  7. In Parameters, enter the Windows PowerShell parameters.
  8. Choose Run.
  9. After the automation completes, review the detailed results in the Outputs section.

For more information on how to use the Systems Manager Run Command document to run EC2Rescue for Windows Server with the AWS CLI, see Examples.

Note: Make sure that your instance has access to the Amazon Simple Storage Service (Amazon S3) bucket that's specified in the AWS CLI commands.

Related information

How can I reset the administrator password on an EC2 Windows instance?

How can I use EC2Rescue to troubleshoot issues with my Amazon EC2 Windows instance?

Setting up Automation

AWS OFFICIAL
AWS OFFICIALUpdated 4 months ago