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-22 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:
- Right-click the Start menu.
- Click Run and enter cmd.
- 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.
- You must have a valid AK/SK pair. For details about how to obtain an AK/SK pair, see How Do I Create an AK/SK Pair for an Account? or How Do I Create an AK/SK Pair for an IAM User?
- If message "[401:{"error_msg": " Incorrect IAM authentication in formation: xxx xxx not exist","error_code":"APIGW.0301","request_id":"xxx"} "]" is displayed during the execution, check whether the entered AK and SK are correct.
Parent topic: Agent Installation and Startup
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.