Skip to content

Running Task Sequence to execute a Runbook

Featured Replies

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.

 

post-19102-0-57529800-1374589304_thumb.jpg

 

post-19102-0-61609800-1374589316_thumb.jpg

smsts.log

<![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?

  • Author

<![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

  • Author

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.

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 by teamfox201

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.