I have an Online Kscript built that contains the following:

On Success:

1.  Launch "C:\Windows\System32\cscript.exe" with params "C:\ProgramData\Dell\Kace\kbots_cache\packages\443\RemoveSEP.vbs"

When I run the script all it does on the targer computer is open C:\windows\system32.  Kace reports that the script ran successfully.

I have tried using the Kace variables and I get the same results.

Any help will be greatly appreciated. 
2 Comments   [ - ] Hide Comments


  • Thanks for responding SMal.tmcc. That was successful in stopping system32 from opening by the target PC still did not run the VBS script.

    What is odd is that I can put the same command in a command line and the script runs perfect. Not so much if the script is in Kace. I'm still trying to find out what I am doing wrong.
  • Try this



    /C C:\windows\system32\cscript.exe "$(KACE_DEPENDENCY_DIR)\RemoveSEP.vbs"
Please log in to comment

Answer this question or Comment on this question for clarity


run it like I do in this blog and see what happens


make sure you put the "double qoutes" around the file as shown
Answered 10/29/2014 by: SMal.tmcc
Red Belt

Please log in to comment