/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


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

10/29/2014 2401 views
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

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

    Directory:
    $(KACE_SYS_DIR)

    File:
    cmd.exe

    Parameters:
    /C C:\windows\system32\cscript.exe "$(KACE_DEPENDENCY_DIR)\RemoveSEP.vbs"

All Answers

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
Answered 10/29/2014 by: SMal.tmcc
Red Belt

 
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