Help Center/ Server Migration Service/ FAQs/ Target Server Launch/ How Do I Uninstall the SMS-Agent from the Source and Target Servers After the Migration Is Complete?
Updated on 2026-07-13 GMT+08:00

How Do I Uninstall the SMS-Agent from the Source and Target Servers After the Migration Is Complete?

Windows

  • Method 1: Uninstalling from the Control Panel
    1. Log in to the server where the SMS-Agent is to be uninstalled.
    2. Click the Start menu in the lower left corner of the desktop and choose Control Panel > Programs > Uninstall a program.
    3. In the program list, find SMS-Agent-Py2 or SMS-Agent-Py3 and double-click the program name to start the uninstallation program.
    4. In the displayed dialog box, click Yes to complete the uninstallation.
  • Method 2: Uninstalling from the Installation Directory
    1. Log in to the server where the SMS-Agent is to be uninstalled.
    2. Go to the SMS-Agent installation directory, which is C:\SMS-Agent-Py2 or C:\SMS-Agent-Py3.
    3. Find and double-click Uninstall.exe in the installation directory.
    4. In the displayed dialog box, click Yes to complete the uninstallation.

Linux

  1. Log in to the server where SMS-Agent is to be uninstalled as user root.
  2. Go to the SMS-Agent installation directory.
  3. Stop the SMS-Agent.

    ./shutdown.sh

  4. Go to the upper-level directory.

    cd ..

  5. Delete the SMS-Agent installation directory.

    rm -rf SMS-Agent