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.
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
Answers (1)
Please log in to answer
Posted by:
SMal.tmcc
10 years ago
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 10 years ago
Directory:
$(KACE_SYS_DIR)
File:
cmd.exe
Parameters:
/C C:\windows\system32\cscript.exe "$(KACE_DEPENDENCY_DIR)\RemoveSEP.vbs" - flip1001 10 years ago