I'm having some issues running a simple batch file in the KACE scripting. I'm fairly new to KACE and still learning to use this software. Below is a screenshot of the batch file I'm trying to run. It shows as running successfully in the logs, but nothing actually deletes. When I look at the log I get the following message:

Running as: Administrator
Error creating process: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\131\kace7499.bat : (2) The system cannot find the file specified.
Error Code: 2
Status Code: 0

Any ideas why this would be? Thanks!




4 Comments   [ + ] Show Comments


  • Under script name make sure to change it from .sh to .bat
  • That would only be if they were running a Online Shell Script.

    Try removing the quotes around your pathway. Also being that this is a Unix system you might want to try rm c:\test
  • it is probaly running, it is looking for a file named test at c:\. use del c:\test\*.*
    the best thing to do is "launch a program" and use cmd.exe for the program with del ... as the parameters
  • Thanks for the replies! I figured this out. The user was on a replication server and the settings weren't setup correctly. We're all good now!
Please log in to comment

There are no answers at this time


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