Help Center/ Server Migration Service/ FAQs/ Agent Installation and Startup/ Why Does the Agent Not Start the First Time I Launch It?
Updated on 2024-08-31 GMT+08:00

Why Does the Agent Not Start the First Time I Launch It?

Due to the permission structure on some Windows machines, the Agent cannot be started the first time you launch it. If this happens:
  1. Right-click the Start menu.
  2. Click Run and enter cmd.
  3. Enter cd C:\SMS-Agent-Py2 to switch to the Agent installation directory. Run the following command:
    echo {ak} {sk} {sms_domain} | SMSAgentDeploy.exe pipe

    Replace {ak}, {sk}, and {sms_domain} with the AK/SK pair and SMS domain name required for starting the Agent.