KACE Product Support Question

need help on scripting to update kace agents

03/09/2015 2513 views
Hi All,

I would like to update kace agents 6.2 to 6.3 via scripting ,

can anybody help me on this?

can you share link or screen shot?

4 Comments   [ + ] Show comments


  • why not via Update Agent in Settings?
  • yes thats working but few are failing in our network as we have 5 domains..we would like to do it via scripting .. is that poss?
  • Hi All,

    thanks for your help
  • Hi Nshah,

    Update Agents works but its been 2 weeks since we migrated to 6.3 version but still have 300 machines pending so i would like to try this

Community Chosen Answer

Create a new KScript, upload the agent as a new dependency. (Download the agent from the KACE share \\KBOX\clientdrop)

Create a new Task.
1. Verify the the file ${KACE_DEPENDENCY_DIR}\ampagent-6.3.306-x86.msi exists

2. On Succcess launch a program...

Directory: SYS
File: cmd.exe
/c msiexec.exe /qn /i $(KACE_DEPENDENCY_DIR)\ampagent-6.3.306-x86.msi HOST=KBOX /L*v %TEMP%\ampagent_6.3.306.log

Tested it a few minutes ago and it´s working. You can also add some status messages to the task.

Answered 03/09/2015 by: aragorn.2003
Red Belt

  • Hi Aragorn,

    Pls check the screen shot ,

    I could see the intial message KACE AGENT 6.3 install but after nothing happens and also doesnt update to 6.3 version

All Answers

If you have to script it, I would get the .msi from your client share, make modifications as necessary (server name, language, etc.) and stash the file in a central location all machines can access. Then make  a simple .bat file using something like

pushd \\location
msiexec.exe /i "yourkaceagent.msi" /qb


pushd will temporarily mount a mapped drive and pushd will disconnect the drive.

From there, use GPO in Active Directory or even run a K1000 offline script to install. 
Answered 03/09/2015 by: rockhead44
Red Belt

Just out of curiosity, did the built in upgrade (Update Agents) not work for you. That would have updates all your 6.2 to 6.3 on their next inventory cycle at check in. 
Answered 03/09/2015 by: nshah
Red Belt


Hi Aragorn

 Pls check the screen shot , I could see the intial message KACE AGENT 6.3 install but after nothing happens and also doesnt update to 6.3 version let  me know if it needs any modification


  1. Verify that the file “$(KACE_DEPENDENCY_DIR)\ampagent-6.3.306-x86.msi” exists.

On Success

  1. Launch “C:\Windows\System32\cmd.exe” with params “ /c msiexec.exe /qn /i $(KACE_DEPENDENCY_DIR)\ampagent-6.3.306-x86.msi HOST= /L*v %TEMP%\ampagent_6.3.306.log”.
  2. Create a message window named “completed installing” with title “completed installing”, message “completed installing” and timeout “60” seconds


Answered 03/10/2015 by: rahimpal
Red Belt

Don't be a Stranger!

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

Sign up! or login


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