Scripting Question

Using script to install/uninstall Kace agent

06/11/2018 4347 views

We need a second option to install the agent and uninstall the agent on our users workstations.  We use a tool called PDQ Deploy and I would like to be able to uninstall and reinstall the agent using that.

I set up 2 deployment scripts (install and uninstall) and pointed it to \\kboxserver\client\agent_provisioning\windows_platform folder where the 3 files exist, but the install didn't work even though it said it did.

Maybe I can just use the MSI file in there, but how do I tell it what our kbox server name is?

0 Comments   [ + ] Show comments


  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.

All Answers

You probably need to take a copy of the installation .msi from your client share, then rename the msi file ADDING to the full msi name _Your_Server_name to the msi name.

When you run this updated msi name you will not need to add in your server name and you will be able to run this with silent switches etc.
Answered 06/11/2018 by: Hobbsy
Red Belt

what like this? assuming my server is called "kbox1server"

Answered 06/11/2018 by: G0nz0
White Belt

  • Exactly!!
    • Thanks and what is the silent method to uninstall this agent please?
      • msiexec /x ampagent-7.0.763-x86_kbox1server.msi /qn
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