/build/static/layout/Breadcrumb_cap_w.png

Using script to install/uninstall Kace agent

Hello,

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?

Thanks

0 Comments   [ + ] Show comments

Answers (2)

Posted by: Hobbsy 6 years ago
Red Belt
0
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.
Posted by: G0nz0 6 years ago
White Belt
0
what like this? assuming my server is called "kbox1server"

ampagent-7.0.763-x86_kbox1server.msi

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