Ask the Community
Groups
Uninstall an Agent Via Command Line - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="question">QUESTION</h2> <p>How do I uninstall an Agent via the command line?</p> <h2 data-id="answer">ANSWER</h2> <p>Please follow the steps below:</p> <ul><li>From the <strong>Audit Module > Add/Remove page</strong>, filter by the <strong>Application</strong> column and enter the name of the Kaseya Agent.</li> <li>Obtain the full <strong>Uninstall String</strong> on the right side</li> <li>From a command prompt enter, the uninstall string obtained previously to uninstall the agent. NOTE: you can create an Agent Procedure as well to automate the process for other agents as well. </li> </ul><p><img src="/attachments/token/6rloPkqEo3l92ry4hRmg7abum/?name=info.png" alt="info.png" class="embedImage-img importedEmbed-img"></img></p> <ul><li>If you want to ensure the uninstall is silent please use: <ul><li> <div>"C:\Program Files (x86)\Kaseya\TESTSS38184348680695\KASetup.exe" /s /r /g TESTSS38184348680695 /l "%TEMP%\kasetup.log" NOTE: the /s switch.</div> </li> </ul></li> </ul><p> </p> </article> </main>