/build/static/layout/Breadcrumb_cap_w.png

Systems Management Question


running a Managed install repeadtedly

02/28/2017 512 views
Hi 


I want to run the managed install repeatedly(every day ) even after success.
Answer Summary:
3 Comments   [ + ] Show comments

Comments

  • Would a script not do this? I assume a managed install would discover the installed software and no longer run
  • I think I've just answered my question!
  • hi Dark Place,

    thanks...when ever i run a script it fails ..say atleast 3 failures in 50 machines...


    i have created a script to count the evenid with 4624 and create a text file on every user machine and then used CIR to read the data..this
    is find the most frequent logged in user then use it as owner of the machine

    i have managed to run this in managed install as success rate was better in MI..
    thanks

Answer Chosen by the Author

0
I know you said every day which I take it to be once a day but you can also set the number of attempts in the managed installation from 3 to 0 and it will try to install on any machine that doesn't have the software based on your agent check in interval. it is more aggressive than a script but also an option. 
Answered 02/28/2017 by: nshah
Red Belt

All Answers

0
Create a managed install that places your script on the computer and then use a CIR to run the script via ShellCommandTextReturn. 
Answered 02/28/2017 by: chucksteel
Red Belt

  • thanks
  • sorry i dint get that as im not expert in Kace

    then use a CIR to run the script via ShellCommandTextReturn. ?

    you can use CIR to run the script?
  • Hi Chuck, can you tell me

    how this can be done?

    using CIR to run a script
    CIR to run the script via ShellCommandTextReturn.
    • The shell command can be any valid Windows command. So this is how I would approach this:
      1. Decide on a location to place your script, like c:\company\userscript
      2. Create a CIR that checks for the existence of that folder
      3. Create an install script that will create the folder and place your script in it
      4. Create a managed install with your install script from step 3 and the CIR from step 2
      5. Create a CIR that runs the script:
      ShellCommandTextReturn(c:\company\userscript\script.cmd)

      This assumes that your script returns the output that you want displayed in the inventory.
      • thanks for all your tips

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