/build/static/layout/Breadcrumb_cap_w.png

Launching cscript from Kace Script causes C:\windows\system32 to open

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   [ + ] Show 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. - forrest.frey 9 years ago
  • Try this

    Directory:
    $(KACE_SYS_DIR)

    File:
    cmd.exe

    Parameters:
    /C C:\windows\system32\cscript.exe "$(KACE_DEPENDENCY_DIR)\RemoveSEP.vbs" - flip1001 9 years ago

Answers (1)

Posted by: SMal.tmcc 9 years ago
Red Belt
0
run it like I do in this blog and see what happens

http://www.itninja.com/blog/view/how-to-hide-running-a-batch-file-from-a-kscript-with-version-5-5


make sure you put the "double qoutes" around the file as shown
 
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