Jump to content


MarshMan0331

Running Task Sequence to execute a Runbook

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.