/build/static/layout/Breadcrumb_cap_w.png

Deploying the KSMA agent from SDA in a Post-install task (SMA ver 11.0)

Here again your favorite Random Dude.


In version 11.0 KACE decided to makes deployments of the agents "secure" by the adding of an install token that you first need to create on your SMA so communication can really be allowed without going to the quarantine zone. There are many ways of getting the command to work but here I will post what I consider is the easiest way.


First, let's get the token created.


1. Go to your SMA graphical interface

2. Settings and then "Agent Tokens"

8f+PMq1MQDNmsAAAAASUVORK5CYII=

3. Choose action and then New

rwAAAABJRU5ErkJggg==

4. Set a name for the Token and any other settings you would like to customize (you can also modify them later)

74c1h4jJo3D4OQYcT8HaVOG8QhXIqrVal1IEhER1RY8cIeIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiEgHQ5KIiKhKwP8Dstk6imgdL84AAAAASUVORK5CYII=

After that you should get something like this

bV8tpyLi2hvaUQEdHBgP8FSsxgPIfV85IAAAAASUVORK5CYII=

5. Click on the "11.0.119" under "Windows Version:"

weIa01Ph1wJqwAAAABJRU5ErkJggg==

6. Clicking on that hyperlink should give you a zip with the agent

wN3hGoDwjr5YAAAAABJRU5ErkJggg==

7. Extract the zip and you should get something like this

13nHHHegTL7hjwf4DIhIHDD6nD53I0J+DKOLJpndDgvENis85jDH2ZK5aElEIGWuNEQjifjMwTbIP3GGUDA0d1CkhZNFnwOvWrevo6ED0VbNo2xCDMxp909FeWx12GGmM01+5MaUwkkNEdPEy1hon+EgkbfrT6BSiL0TfA0ZbribUkVizSqajb8gesH6YkWLO37amlHiu5hiT6cpJRH4ZbY3NfmpdSuOgw4Yv5KdhxABMRBQPAzAREVEEsusPcRAREV0iGICJiIgiwABMREQUAQZgIiKiCDAAExERRYABmIiIaMQZxv8Hh1AagK4awM0AAAAASUVORK5CYII=


Now, let's go to the SDA


8. Now on our SDA we will go to Library > Post-Install task > Choose action > New

9. We will upload the msi and configure everything like this

0JhuAVx3Q5ugs0JbZu8IAEBzkJPQJuis0JbZOwIA0BzkJLQJOiu0ZfaOAAA0BzkJbYLOCm2ZvSMAAM1BTkKboLNCW2bvCABAc5CTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgpGTAAAAgvTq9f8HCyw9zH8jcdsAAAAASUVORK5CYII=


Here you have the full command line:

msiexec /i ampagent-11.0.119-x86_ksma.randomco.info+BM-DXtZX3lac3-V6YJEREcZuBBrYOzhxv2u5siTLL2rZgi-LXj1R5Q.msi /qn

10. The last step is add the task to your deployments and sync your RSAs.


I hope that this guide helps you as well and make your deployment easier. If you have any questions or comments put them on the comments.


See you in my next post!


Comments

This post is locked
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ