I created an OFFLINE KScript to run a DOS command and it will not stop running even after it has been disabled and command removed on the KBOX.

I looked in  C:\ProgramData\Dell\KACE\scripts and this folder is empty.   

Does anyone know how to stop an OFFLINE KScript that has been disabled and keeps running anyways?
Answer Summary:
Cancel
2 Comments   [ + ] Show Comments

Comments

  • What is your scripting update setting?

    Settings › Control Panel › Communication Settings > Scripting Update

    I saw something similar recently (used the K1000 power settings to setup an offline power setting script) and the script ran even with the agent uninstalled from the machine. Had to reinstall the Agent and allow it to update after I disabled the script.
  • don't enable run even if disconnected
Please log in to comment

Answer Chosen by the Author

2
delete the xml files in kbots cache to stop it
Answered 10/09/2015 by: SMal.tmcc
Red Belt

  • Will that have any negative impact? just asking as I have never done that.
    • it will put the needed xml's files back into the cache. Had same thing happen a couple of years ago of machines with Deepfreeze and the offline was a shutdown restart so that was really messy.
      • Thanks. That sounds like an ugly situation!
      • the machines were rebooting so fast all we had time to do is ctrl -a delete to get the file
    • if you want to get precise. Hover over the offline script and get the ID from it and delete the xml file that begins with that ID.
Please log in to comment

Answers

0
Also another good thing to do is check the Agent  Command Queue to make sure all jobs are cleared to run the script is you ran it more then once.  Found under system - support
Answered 10/12/2015 by: SMal.tmcc
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share