MarshMan0331 Posted July 23, 2013 Report post Posted July 23, 2013 I am having issues with a Task Sequence executing a runbook, I have created a Task Sequence with 1 step to "execute runbook" and I get error 0x4005(16389). the runbook kicks off a series of task to prep the machine for a MIP to windows 7. Does the machine I am running the TS from need permissions to execute runbooks in Orch or a system account? I have attached the smsts logs and 2 screen shots of the errors. smsts.log Quote Share this post Link to post Share on other sites More sharing options...
teamfox201 Posted July 23, 2013 Report post Posted July 23, 2013 <![LOG[input Error: Can not find script file "C:\WINDOWS\system32\%DeployRoot%\Scripts\ZTIExecuteRunbook.wsf".]LOG]!><time="16:54:15.360-180" date="07-23-2013" component="InstallSoftware" context="" type="1" thread="640" file="runcommandline.cpp:34"> Check the path in your task sequence step that executes ZTIExecuteRunbook.wsf, seems to be looking for it in the wrong place. Are you running "Use Microsoft Deployment Toolkit Package" before executing the script? Quote Share this post Link to post Share on other sites More sharing options...
MarshMan0331 Posted July 23, 2013 Report post Posted July 23, 2013 <![LOG[input Error: Can not find script file "C:\WINDOWS\system32\%DeployRoot%\Scripts\ZTIExecuteRunbook.wsf".]LOG]!><time="16:54:15.360-180" date="07-23-2013" component="InstallSoftware" context="" type="1" thread="640" file="runcommandline.cpp:34"> Check the path in your task sequence step that executes ZTIExecuteRunbook.wsf, seems to be looking for it in the wrong place. Are you running "Use Microsoft Deployment Toolkit Package" before executing the script? No I am not running the MDT package. Should I run the MDT package 1st? I am new to incorporating the runbooks into a TS Quote Share this post Link to post Share on other sites More sharing options...
MarshMan0331 Posted July 23, 2013 Report post Posted July 23, 2013 Quote Share this post Link to post Share on other sites More sharing options...
MarshMan0331 Posted July 23, 2013 Report post Posted July 23, 2013 Ok I added the MDT package and It moved further along. I get the error 0x00002A31 at first then when I close it I get the same error 0x4005 (16389) Thanks for the help, I will keep digging into this. Quote Share this post Link to post Share on other sites More sharing options...
teamfox201 Posted July 23, 2013 Report post Posted July 23, 2013 (edited) No I am not running the MDT package. Should I run the MDT package 1st? I am new to incorporating the runbooks into a TS Yes put that step first before running any scripts from %deployroot% . You beat me to send. :-) Edited July 23, 2013 by teamfox201 Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted July 24, 2013 Report post Posted July 24, 2013 It uses the Network Access Account for starting the runbook(s), so make sure that the Network Access Account is member of the OrchestratorUser group. 1 Quote Share this post Link to post Share on other sites More sharing options...