/build/static/layout/Breadcrumb_cap_w.png

Is there a way to have K1000 to remove the agent from a computer that is currently calling in?

Hello,

We are looking to free up a bunch of seats on our k1000. There are a number of computers that have the agent installed that we want to remove it from. Trouble is, these computers are spread throughout our satellite offices. Is there a script we can run or some sort of provisioning that will allow us to silently remove the k1000 agent from specific machines?


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: jaredv 12 years ago
Fourth Degree Green Belt
1

You can go through agent provisioning to target individual machines, but the simplest way I have found for Windows machines (if they are on the current 5.3.53177 agent) is to create an Offline kscript with the following command:

Launch “$(KACE_SYS_DIR)\msiexec.exe” with params “/x {C80E28A9-0620-48D7-A015-099636FA6FCB} REMOVE=ALL /qn"


Comments:
Posted by: jaredv 12 years ago
Fourth Degree Green Belt
1

Here is the xml for that script, if you'd rather just paste that in:

 

<?xml version="1.0" encoding="utf-8" ?>
<kbots xmlns="http://kace.com/Kbots.xsd">
<kbot>

<config name="Uninstall KACE Agent (Windows)" type="policy" id="430" version="1334685877" description="Using msiexec to uninstall KACE agent 5.3.53153 based on GUID.">

  <execute disconnected="true" logged_off="true">
    <schedule minutes="*/15" hours="*" daysOfMonth="*" months="*" daysOfWeek="*" />
    <event name="NOW" />
  </execute>

</config>

<compliance>

  <verify on_failure="break" attempts="1">

    <always_fail />

    <on_verify_success>
    </on_verify_success>

    <on_verify_failure>
      <launch_program path="$(KACE_SYS_DIR)" program="msiexec.exe" wait="true" parms="/x {C80E28A9-0620-48D7-A015-099636FA6FCB} REMOVE=ALL /qn" />

      <on_remediation_success>
      </on_remediation_success>

      <on_remediation_failure>
      </on_remediation_failure>

    </on_verify_failure>

  </verify>

</compliance>

</kbot>
</kbots>


Comments:
  • Will this only work for the 5.3.53153 agent? - dallanwagz 12 years ago
Posted by: jknox 12 years ago
Red Belt
1

You can also use the uninstall in provisioning for this.

Settings>K1000 Agent>Single Machine Provisioning

One of the options is to remove an agent.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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