This seems to be messing things up. When I troubleshoot this buy editing the failed post task during the deployment, I remove the directory path from the commandline and the task works fine. I am seeing alot of other examples on ITninja where the path is not in the command line and I;m not sure why the task keeps getting created this way. Also seems to be no way to edit this in the Task XML in PEinst after it is created.

I place this: cmd /c rez_change.exe /x:1920 /y:1080 in the parameter field when creating the task and I get this: "%systemdrive%\KACE\Applications\58\cmd /c rez_change.exe" /x:1920 /y:1080 in the task XML. It adds the path and the quotes and makes it fail.

HELP!
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answer Chosen by the Author

2
you don’t need cmd /c for rez change, it is an exe.
Just use rez_change.exe /x:1920 /y:1080

-Corey
Answered 07/29/2015 by: cserrins
Red Belt

  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
  • Thanks Corey, thought I had tried that and it failed but I just did it that way and it worked.
Please log in to comment

Answers

This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

Answer this question or Comment on this question for clarity