NEW - You can now accelerate your migration and modernization with AWS Transform. Read Getting Started in the AWS Transform User Guide.
Uninstalling Discovery Agent
This page covers how to uninstall the Discovery Agent on Linux and Microsoft Windows.
Uninstall Discovery Agent on Linux
This section describes how to uninstall Discovery Agent on Linux.
To uninstall an agent if you're using the yum package manager
-
Use the following command to uninstall an agent if using yum.
rpm -e --nodeps aws-discovery-agent
To uninstall an agent if you're using the apt-get package manager
-
Use the following command to uninstall an agent if using apt-get.
apt-get remove aws-discovery-agent:i386
To uninstall an agent if you're using the zypper package manager
-
Use the following command to uninstall an agent if using zypper.
zypper remove aws-discovery-agent
Uninstall Discovery Agent on Microsoft Windows
This section describes how to uninstall Discovery Agent on Microsoft Windows.
To uninstall a discovery agent on Windows
-
Open the Control Panel in Windows.
-
Choose Programs.
-
Choose Programs and Features.
-
Select AWS Discovery Agent.
-
Choose Uninstall.
Note
If you choose to reinstall the agent after uninstalling it, run the following command with the
/repair
and/norestart
options..\AWSDiscoveryAgentInstaller.exe REGION="
your-home-region
" KEY_ID="aws-access-key-id
" KEY_SECRET="aws-secret-access-key
" /quiet /repair /norestart
To uninstall a discovery agent on Windows using the command line
-
Right-click Start.
-
Choose Command Prompt.
-
Use the following command to uninstall a discovery agent on Windows.
wmic product where name='AWS Discovery Agent' call uninstall
Note
If the .exe
file is present on the server, you can
uninstall the agent completely from the server by using the following command.
If you use this command to uninstall, you don't need to use the
/repair
and /norestart
options when you reinstall
the agent.
.\AWSDiscoveryAgentInstaller.exe /quiet /uninstall