Friday, October 11, 2013

SCCM All-in-one task sequence

OSD Requirements:
Requirements for a New Task Sequence
-          Single task sequence for New build / Bare metal build, Re-build / Re-fresh and Migration.
-          Should able to use the same task sequence for user initiated builds, OEM builds and bare metal builds.
-          Task sequence should check the Windows 7 compatible models. If the target machine is not compatible, then the TS should give an MSG window to the logged in user and exit gracefully otherwise the TS should continue through the entire build process.
-          Add different times zones based on end user location when chosen by the technician
-          Deploy various applications based on the technicians choice
-          Choose the build type by technicians choice
-          Auto populate the build types based on the machine state and flag files
-          USMT to a network share using offline method (USMT offline in WinPE)

Developing Solutions:
Above are the basic and simple list of requirements and list will grow based on the complexity of the organisation. To accomplish a task sequence with above requirements we will be using various scripts (Batch, VB, HTA), MDT and other utilities (OSD++ and App tree) which work with SCCM 2007/ 2012. There may be other ways to achieve this goal but this is what I have done and succeeded.

I have divided the whole process into various steps to ease the complexity and eliminate the errors. This Visio diagram gives an idea of the Task Sequence workflow.

Below are the individual steps for the proposed Task Sequence;
Step 1:
Step 2:
Step 3:
1.3.1.1    Pre-State Store for migration
1.3.1.2    Prepare the drives
1.3.2.1    Pre-State Store Rebuild
Step 4:
Step 5:
Step 6:
1.6.1          Custom machine name
1.6.2          Apply Driver packages
1.6.3          Apply Windows Settings
1.6.4          Apply Network Settings
1.6.5          Setup Windows and ConfigMgr
Step 7:
Step 8:
1.8.1          Deploy hardware Driver Apps
1.8.2          Deploy Tier - 1 Apps
1.8.3          Deploy Tier - 2 Apps
1.8.4          Additional Application configuration
Step 9:
Step 10:
Step 11:
Step 12:
Step 13:
Step 14:
Step 15:
Step 16:
Step 17:

47 comments:

  1. Hi there,
    Would you able to provide some more information on each step please.
    I been watching this page for sometime and no updates are posted.
    Thanks,
    Ram

    ReplyDelete
  2. Is there any chance you could export the task sequence so I could import the structure? It would be a big help in creating my own to see all your steps in all it's full glory. :)

    ReplyDelete
  3. Hi Venu

    Any chance to get the task sequence

    ReplyDelete
  4. Hi Sandeep,
    PM me your details please?
    Thanks,
    Venu

    ReplyDelete
    Replies
    1. Thanks Venu

      My email address is sundeep001@gmail.com

      Sundeep

      Delete
    2. Sundeep,
      Please check your email.
      Thanks,
      Venu Singireddy

      Delete
    3. Thanks Venu for the TS .. when i try to import the TS into SCCM (2007) ..I get the following message "An error has occurred while storing the task sequence.Please see log file .. i have renamed the TS with .XML . i can successfully import other TS i have

      Have you got any ideas on why this might be


      Sundeep

      Delete
    4. Did you look into the logs?
      what did the logs say??

      Delete
  5. Hey Venu, I would love to get a copy as well. I like what you are doing here and appreciate your insight.

    I couldn't find a way to PM you in the blog so here is mine
    Strange_d@ hotmail .com

    ReplyDelete
    Replies
    1. Bill,
      Please check your email.
      Thanks,
      Venu SIngireddy

      Delete
    2. Hello Venu,
      Thank you for the XML file but I am unsure what to do with it. When I export task sequences in SCCM2012 it creates a ZIP file to be imported, not an XML. Is this only for MDT or SCCM2007?

      Delete
    3. Hi Bill, The task sequence was exported from SCCM 2007.
      However you can still use it for 2012.
      Please read below blog post.
      http://bennettadelson.wordpress.com/2013/05/15/importing-configmgr-2007-task-sequences-xml-to-configmgr-2012-zip/
      Cheers,
      Venu

      Delete
    4. Hello Venu, I am a newbie with regards to OSD and task sequences. This blog is a fantastic gem. Thank you for your efforts and time it took to post this. May you when your time permits email me a copy of this task sequence -> cmi5424@yahoo.com. Regards, CMI

      Delete
    5. Hello Venu,
      Tried multiple ways to import this into a 2012 zip file export. I have not been able to get that to work. I take it you are not running 2012 to do a zip export? Oh well, back to the drawing board to start from scratch. :)

      Delete
    6. Hi Bill,
      It is sad to hear that you are still having issues.
      The original TS was exported from SCCM 2007.
      If time permits, i will export the TS to 2012 then will send you a copy of it.
      Cheers,
      Venu

      Delete
    7. That would help a lot thanks. Not sure why I couldn't get the modified zip/import to work.

      Delete
    8. Hello Bill,
      I have imported SCCM 2007 task sequence to SCCM 2012 without any issue.
      It is bit tricky but possible.
      I will write an how to import SCCM 2007 task sequence to SCCM 2012 in couple of days.
      I will send you the SCCM 2012 exported task sequence soon.

      Cheers,
      Venu Singireddy

      Delete
    9. Excellent, got the zip and imported it fine. Looking through the design now, will go through your detail pages for the dependencies not in the export. Thanks so much!

      Delete
  6. Hi, would you mind emailing a copy of the zip file containing the ts to me as well? Your solution is just about a perfect fit for a standalone ts usb media project I've been struggling with. Thank You in advance. My email address: ewooten@gmail.com

    ReplyDelete
  7. Hi :-)

    Any chance to get the task sequence please?.

    ReplyDelete
  8. Hi Venu,

    Great stuff here thanks. Just used your guide to import our old 2007 task sequence into 2012.

    Just wondering if you could supply me the TS in this post?
    My email is: sparker0002@hotmail.com.

    Thanks,
    Scott

    ReplyDelete
    Replies
    1. Hi Scott,
      Please check your mail.
      Regards,
      Venu Singireddy

      Delete
    2. Hi Venu,

      Got the file, however when importing I get and import failure with the error message "Cannot validate a dependency to operating system image LAB00006".

      I presume you need to export the image without dependencies selected?

      Thanks,
      Scott

      Delete
  9. Hi Venu,
    Will really appreciate if you can email me copy of the TS to import in SCCM2012. My email id is gmandar@gmail.com
    Thanks for the efforts taken to create the All In One TS..gr8 work..

    ReplyDelete
  10. Hi Venu,

    Thanks your for sharing
    Just wondering if you could supply me the TS in this post?
    My email is:aliveidea@hotmail.com

    Thank you for your help in advance

    ReplyDelete
  11. Hi Venu,

    Thank you for sending me the TS. I am having issue converting for sccm 20120 r2. i also followed http://bennettadelson.wordpress.com/2013/05/15/importing-configmgr-2007-task-sequences-xml-to-configmgr-2012-zip/
    still no luck... could you plz help me.

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. Thx Venu, great posts by the way.
    Can you share the task sequence ? maleroy@outlook.com

    ReplyDelete
  14. Hi Venu,
    Will really appreciate if you can email me copy of the TS to import in ConfigMgr 2012
    My email id is maleroy@outlook.com
    Thanks for the efforts taken to create the All In One TS

    ReplyDelete
  15. Hi Venu

    Thanks for this excellent work. Can you send me the task sequence in zip, xml to my email id

    Thanks
    bhupsv@gmail.com

    ReplyDelete
  16. Hi Venu

    Any other good task sequences can you share to my email id.
    Also have you ever done a tablet build or have a nice task sequence for that?

    Thanks

    bhupsv@gmail.com

    ReplyDelete
  17. Hi Venu,
    I would really be grateful if you can email me copy of the TS to import in ConfigMgr 2012
    My email id is cmi5424@yahoo.com
    Thanks for the efforts taken to create the All In One TS. The description is excellent for newbie such as myself. I study your blog al the time....

    Regards,
    Carlos

    ReplyDelete
    Replies
    1. Hi Carlos,
      Thank you for your comments.
      Please check your inbox for the TS.
      Cheers,
      Venu Singireddy

      Delete
    2. Venu,
      I would love to get a copy of this Task Sequence also... Thanks!

      cfreeman21 [at] gmail.com

      Delete
  18. Good day Venu,

    Could you please forward me a copy of this TS to Moose78@outlook.com.

    I applaud you for your insight and effort to produce such a robust TS, as well as your willingness to share this information with the SCCM community.

    Thank you in advance.

    ReplyDelete
    Replies
    1. Hi There,
      Please check your inbox.
      If you need any assistance with it, please fell free to contact me.

      Regards,
      Venu

      Delete
  19. Hi Venu,

    The article is great!, would you mind to send me the copy of TS to observe00@gmail.com

    Many thanks

    ReplyDelete
  20. Hi Venu.

    Any chance to receive a copy of your TS to leonardo.forti.lf@gmail.com? It would be great, your job is awesome.

    Thanks a lot.

    ReplyDelete
  21. Venu,
    I would love to get a copy of this Task Sequence also... Thanks!

    cfreeman21 [at] gmail.com

    ReplyDelete
    Replies
    1. Venu,
      Any luck in sending a copy of the task sequence? Thanks!

      Delete
  22. Hi Venu,
    I would also be interested in a copy of this TS. Could you send to storeemail100 [at] gmail.com

    Thanks,
    John

    ReplyDelete
  23. I am new to Sccm deployment. I would to implement your task sequence into my lab
    Can you add two more things into your task sequence.
    1 credential check (only domain admin can initialize task)
    2 option to select organisation unit
    Could you please send me your task sequence with all the script. @ thrqureshi@gmail.com

    Thanks

    ReplyDelete
  24. I am new to Sccm deployment. I would to implement your task sequence into my lab
    Can you add two more things into your task sequence.
    1 credential check (only domain admin can initialize task)
    2 option to select organisation unit
    Could you please send me your task sequence with all the script. @ thrqureshi@gmail.com

    Thanks

    ReplyDelete
  25. Hi Venu,

    Can you please send TS and HTA to nandhagopalk@gmail.com

    ReplyDelete