MDT 2010 New Feature #3: Suspend and resume a Lite Touch task sequence


MDT 2010 includes a new script called LTISuspend.wsf that isn’t actually part of any of the task sequence templates – by default it’s not used.  But if you add it into a task sequence during the “State Restore” phase activities, it will allow you to temporarily suspend the task sequence.  This is intended for reference image creation processes where there might be some activities that you just can’t possibly automate – you can make the changes by hand and then when finished restart the task sequence to create your image.  (If there is any way to do the automation, you should – this is for those “I have no other choice” situations.)

To use this new script, add a step into the task sequence with the following command line:

cscript.exe %SCRIPTROOT%\LTISuspend.wsf

When this step runs, you’ll see a popup dialog on the screen:

image

There will be a “Resume Task Sequence” shortcut on the desktop that should be used to eventually restart the task sequence from the next step after the suspend step.  You can do anything you want while the task sequence is suspended, including rebooting, but when you are done you should make sure that you are logged in as the local Administrator account again, and that UAC is still disabled for the local Administrator account.

This same capability is used by MDT 2010 in other ways – more on those later.


Comments (8)
  1. Anonymous says:

    Excellent feature! I implemented this feature into my BDD2007/MDT2008 process using a batch file (pause). Looks like you have worked around the issue when a reboot is needed.

    Good stuff!

  2. Anonymous says:

    Excellent! I used a script to start notebad to suspend the task sequence during the build of the maseter image in MDT2008. This is much more elegant!

  3. Anonymous says:

    Pingback from LTISuspend.wsf | Deploiement Windows

  4. sion says:

    i added that command and its failing

    Litetouch deployment faild, Return Code = -2147467259 0x8004005
    Failed to run the action: Run Command Line.
    Incorrect function. (Error: 00000001; Sorce: Windows)
    THe execution of the group (state Restore) has failed and the execution has been aborted. An action failed.
    Operation aborted (Errir:80004440; Source: Windows)
    Failed to run the last action: Run Command Line. Execution of task sequence failed.
    Incorrect function.(Error:00000001; Source: WIndows)
    Task Sequence Engine failed! Code: enExecutionFail
    Task sequence execution failed with error code 80004005

  5. Anonymous says:

    Problem: Customer uses (MDT) Microsoft Deployment Toolkit 2013 to perform Windows 2012 R2 or Windows

  6. ForeverNEWB says:

    Do not trust LTISuspend to let you restart manually. 75% of the time your deployment will forget it is suspended and resume on reboot.

  7. brookadams says:

    Thanks for your article…… .So excellent … It’s a treasure for me to reading your blog..Thank you for this article. Good Stuff! I really enjoyed reading.

    For details please visit :http://www.localresumewritingservice.us/resume-help-online.html

  8. aw says:

    hai, I just want to tell you that I am just very new to blogs and seriously loved this website. More than likely I’m planning to bookmark your blog post .
    You amazingly come with really good posts. Thanks a lot for sharing your blog Microsoft.

    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Aceh
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bali
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Balikpapan
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bandung
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Banjarmasin
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Banten
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Batam
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bekasi
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bengkulu
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bogor
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Bontang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Cianjur
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Cikarang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Cilegon
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Cirebon
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Denpasar
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Jakarta
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Jambi
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Jember
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Karawang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Kendal
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Kudus
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Kupang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Lampung
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Madiun
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Makasar
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Malang
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Maluku
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Manado
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Medan
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20NTT
    http://www.lokerjobindo.com/search/label/Loker%20Daerah%20Padang

Comments are closed.