Skip to content

How do I reinstall the AWS Replication Agent on my Windows source server?

2 minute read
1

I added new disks to the source server or my server’s MAC address changed. As a result, I need to reinstall the AWS Replication Agent on my Windows source servers to add the AWS Application Migration Service.

Short description

To reinstall the AWS Replication Agent, install the agent on top of the existing installation. Or, uninstall and then reinstall the agent.

Resolution

Install the AWS Replication Agent on top of an existing installation

Complete the following steps:

  1. Download the latest version of the AWS Replication Agent.
  2. Run the following command as an administrator to reinstall the agent:
    AwsReplicationWindowsInstaller.exe --region regionname --aws-access-key-id exampleaccess --aws-secret-access-key abcdefg/ABCDEF/examplekey
    Note: Replace regionname with your AWS Region, exampleaccess with your access key ID, and abcdefg/ABCDEF/examplekey with your secret access key.

For detailed installation steps, see Installation steps.

Uninstall and then reinstall the agent

Complete the following steps:

  1. Open the Application Migration Service console.
  2. Choose Source servers.
  3. Select the servers where you want to uninstall the AWS Replication Agent.
  4. Choose Actions, and then choose Disconnect from service.
  5. Choose Disconnect.
  6. If the AWS Replication Agent is still installed after 10 minutes, then manually uninstall the AWS Replication Agent through the source server.
  7. Reinstall the AWS Replication Agent.