{"id":182,"date":"2008-04-18T13:47:16","date_gmt":"2008-04-18T13:47:16","guid":{"rendered":"http:\/\/andrius.kozeniauskas.com\/blog\/?p=182"},"modified":"2008-04-18T13:47:16","modified_gmt":"2008-04-18T13:47:16","slug":"sccm-failed-to-run-task-sequence","status":"publish","type":"post","link":"https:\/\/www.kozeniauskas.com\/itblog\/2008\/04\/18\/sccm-failed-to-run-task-sequence\/","title":{"rendered":"SCCM: Failed to Run Task Sequence"},"content":{"rendered":"<p>Here are couple steps to diagnose the &#8220;Failed to Run Task Sequence&#8221; error.<br \/>\nThe hole error looks like this:<br \/>\n<em>The task sequence cannot be run because a package referenced by the task sequence cannot be found. For more information please, contact your system administrator or helpdesk operator.<\/em><\/p>\n<p>Basically this error means that the problem is with\u00a0distribution of the package.<br \/>\nIt looks straight forward process if you have one or two packages in a task sequence. But can be a problem if the task sequence has many packages. The best way to find out which package or packages are causing the problem is to use the task sequence log <strong>Smsts.log<\/strong>.<!--more--><\/p>\n<p>1. The log location depends how OSD was started. Here is a table from Microsoft which tell where the log file should be located.<\/p>\n<p><em>General location for all operating system deployment and task sequence log events.<br \/>\nLog file location:<br \/>\nIf task sequence completes when running in the full operating system with an Configuration Manager 2007 client installed on the computer: &lt;CCM Install Dir&gt;\\logs<br \/>\nIf task sequence completes when running in the full operating system with no Configuration Manager 2007 client installed on the computer: %temp%\\SMSTSLOG<br \/>\nIf task sequence completes when running in WindowsPE: &lt;largest fixed partition&gt;\\SMSTSLOG<\/em><\/p>\n<p>2. Open the log file with SMS Trace. SMS trace is one of the tools that you can find in SCCM 2007 Toolkit. You can download it from <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=948e477e-fd3b-4a09-9015-141683c7ad5f&amp;DisplayLang=en\" target=\"_blank\">here<\/a>.<br \/>\nOnce you open the log file it will highlight the problems in Red.<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/04\/1c.jpg\"><img loading=\"lazy\" class=\"alignnone size-medium wp-image-183\" src=\"http:\/\/andrius.kozeniauskas.com\/blog\/wp-content\/uploads\/2008\/04\/1c-300x167.jpg\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/04\/1c-300x167.jpg 300w, https:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/04\/1c.jpg 960w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>3. Find out which package is causing the problem. As you can se in my case it is MET00029.<\/p>\n<p>4. Open Configuration manager console and locate the package.<\/p>\n<p>5. The first thing to check is distribution points. Does the package has a distribution point and is it live. If everything is fine then go to next step. If not fix the problem and try to run Task sequence.<\/p>\n<p>6. Check The Package Status. The Source version should be more then 0 and the targeted and installed should match. If it does not match then go to distribution point and try to refresh it.<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/04\/2c.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-188\" src=\"http:\/\/andrius.kozeniauskas.com\/blog\/wp-content\/uploads\/2008\/04\/2c-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Now go back to package status and check the logs.<br \/>\nTo do that right click on Package Status select <strong>Show Messages<\/strong> and <strong>All.<br \/>\n<\/strong><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/04\/3c.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-189\" src=\"http:\/\/andrius.kozeniauskas.com\/blog\/wp-content\/uploads\/2008\/04\/3c-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>This will ask you to enter the date and time. Leave defaults(1 day ago)<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/04\/4c.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-190\" src=\"http:\/\/andrius.kozeniauskas.com\/blog\/wp-content\/uploads\/2008\/04\/4c-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>The log will open check error mesages and fix them. In my case the Distribution manager could not access source files.<br \/>\n<a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2008\/04\/5c.jpg\"><img loading=\"lazy\" class=\"alignnone size-thumbnail wp-image-191\" src=\"http:\/\/andrius.kozeniauskas.com\/blog\/wp-content\/uploads\/2008\/04\/5c-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Hope that helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are couple steps to diagnose the &#8220;Failed to Run Task Sequence&#8221; error. The hole error looks like this: The task sequence cannot be run because a package referenced by the task sequence cannot be found. For more information please, contact your system administrator or helpdesk operator. Basically this error means that the problem is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,6],"tags":[119,187,219,262],"_links":{"self":[{"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/182"}],"collection":[{"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/comments?post=182"}],"version-history":[{"count":0,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}