Ask the Community
Groups
Unable to run command line utilities requiring user interaction from KLC Commands page - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>Problem: </strong></p> <p>When running a command requiring user interaction from the Kaseya Live Connect (KLC) Commands page, the prompts are not displayed and the command behaves as if no data was entered.</p> <p>The below example is from "net user" password change command when running directly from Windows command shell (cmd.exe):</p> <p><img src="https://us.v-cdn.net/6032361/uploads/migrated/9PD12UGACLE0/2018-03-22-1454.png" alt="2018-03-22_1454.png" width="624" height="314" class="embedImage-img importedEmbed-img"></img></p> <p>When running the same command from the KLC > Commands page:</p> <p><img src="https://us.v-cdn.net/6032361/uploads/migrated/I7L749DDRJAA/2018-03-22-1455.png" alt="2018-03-22_1455.png" width="676" height="225" class="embedImage-img importedEmbed-img"></img></p> <p> </p> <p><strong>Cause </strong></p> <p>The KLC > Commands page does not support "interactive" command line utilities which involve user prompting. KLC sends commands from the browser to the agent and then returns the output. If the command involves a prompt, there is no actual "real" user to answer the prompt so it will behave as if nothing had been entered, sending this output back to the browser.</p> <p> </p> <p><strong>Resolution </strong></p> <p>None available. This is by design.</p> <p> </p> <p><strong>Applies to:</strong></p> <p>Kaseya VSA (all versions)</p> </article> </main>