/build/static/layout/Breadcrumb_cap_w.png

need help on scripting to update kace agents

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? - aragorn.2003 9 years ago
  • 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? - rahimpal 9 years ago
  • Hi All,

    thanks for your help - rahimpal 9 years ago
  • 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 - rahimpal 9 years ago

Answers (4)

Posted by: aragorn.2003 9 years ago
Red Belt
1
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
Parameters: 
/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.


Comments:
  • 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 - rahimpal 9 years ago
Posted by: rockhead44 9 years ago
Red Belt
0
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

popd

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. 
Posted by: nshah 9 years ago
Red Belt
0
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. 
Posted by: rahimpal 9 years ago
Red Belt
0

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

Verify

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

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=10.10.9.1 /L*v %TEMP%\ampagent_6.3.306.log”.
    trashcan-icon.png
  2. Create a message window named “completed installing” with title “completed installing”, message “completed installing” and timeout “60” seconds

p7HLS8.jpeg





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