Fix – Cannot start Orchestrator Runbook via ConfigMgr Task Sequence

During TechEd I was discussing a ConfigMgr issue with Eric Leonard, a fellow ConfigMgr admin in Canada. The issue we were discussing were the following: When having multiple network access accounts configured in ConfigMgr, Orchestrator runbooks could not be started. It turned out there was a bug in ZTIExecuteRunbook.wsf script, a missing single quite. Big thanks to Eric for providing the solution.

Update 2014-05-27: Turned out to be a bug filed (Dec. 2013), please vote it up! Thanks Gaëtan Hermann for letting me know.

The Fix

There bug in the ZTIExecuteRunbook.wsf script is on line 309, highlighted here:

If bNAACred Then
    ' We will try another account

Obviously, "Continue" is not a valid command in VB script so this causes an error, the fix is to simple add a single quote to comment out the line.

If bNAACred Then
    ' We will try another account
    ' Continue

Happy Deployment, Johan

About the author

Johan Arwidmark

0 0 votes
Article Rating
Notify of
1 Comment
Oldest Most Voted
Inline Feedbacks
View all comments
10 years ago

Voted but I see that the status is:

Status: Resolved as Postponed

And who knows when it will be fixed….. 🙁