Attempting to setup a script to enable Wake-On-Lan from the BIOS.  I have an .exe that I exported from Dell Command | Configure and an Online KScript.  In this KScript, I have the .exe imported into my dependencies and the following On-Success task:

Launch $(KACE_DEPENDENCY_DIR)\multiplatform_201706291025.exe with params /l=$(KACE_DEPENDENCY_DIR)\log.tx.

When I attempt to apply this against a test machine, I receive an immediate failure.  Below are the logs.  Any help would be greatly appreciated.

Log for WOL_6-21-17 on LSI-931MSY1SK [ Show All ]
Started:06/29/2017 15:55:47
Finished:06/29/2017 15:55:48
Elapsed Time:1 second
Status:3

Output Log

Running as SYSTEM
Creating process returned non-zero: C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\223\multiplatform_201706291025.exe /l=C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\223\log.tx: (2) The system cannot find the file specified.
Error Code: 2
Status Code: 0

Activity Log

verify - on_verify_success
verify - on_verify_failure
verify - launch_program
Launching program: 'C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\223\multiplatform_201706291025.exe' '/l=C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\223\log.tx' wait='false'

Debug Log

Running kbot: runkbot 223 1498776941r4
KBotScript::LogScriptInfo - Start
id=223 name=WOL_6-21-17 version=1498770284r4 type=policy
execute disconnected=false logged_off=true
execute events
KBotScript::LogScriptInfo - Finish
KBotScript::LogScriptInfo - Start
id=223 name=WOL_6-21-17 version=1498770284r4 type=policy
execute disconnected=false logged_off=true
execute events
KBotScript::LogScriptInfo - Finish
KBotScriptManager::CleanupDependencies - clean up dependencies in kbot directory C:\ProgramData\Dell\KACE\kbots_cache\\packages\kbots\223\
runkbot    ----- launching [path='C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\223' program='multiplatform_201706291025.exe' parms='/l=C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\223\log.tx' wait='false'] -----
1 Comment   [ + ] Show Comment

Comments

  • Can you post a screenshot of the script configuration showing the dependencies and the task that launches the executable?
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share