This script used to work for us without any issues but now we are running into a few road blocks.

I ran this on 8 computers today and it worked on 2. The other 6 gives this error. I checked the directory and the dependency is there. Re-ran it multiple times and it just gets stuck there and will not install. The script itself is just to have the computer join our domain.

Any idea of what might be causing this? Using K1000 VM with agent versionĀ 6.2.1025.

Creating process returned non-zero: sys\cscript -B "C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\58\join_domain2 (2).vbs": (267) The directory name is invalid.
Error Code: 267
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


try launching it this way (make sure you put the double quotes around the file name)

Answered 03/16/2015 by: SMal.tmcc
Red Belt

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja