Clean up MDT “Leftover Junk” from Previous Task Sequence (The task sequence has been suspended)

By | June 15, 2011
Share

In A LOT of cases, MDT fails to clean up properly after a Failed or even Successful Task Sequence.  These leftover files are a nuisance, and can cause the following error (The task sequence has been suspended).

TSSuspendedError

Ive come accustomed to using the Diskpart tool to perform a “Clean” against “Disk 0” to ensure all files are removed.

TSSuspendedErrorFix

 

BUT There is a BETTER way!  Johan put together an excellent tool to clean these leftover files before running LTI, so no more error messages in WinPE.  The only problem is that his blog entry only explains how to update a boot.wim for a onetime update.  When a user performs an “Update Deployment Share” it would wipe out the changes.

Note: If using the “Refresh” or “Sysprep And Capture” Task Sequences, this process will clear the MININT and start a new Deployment after rebooting into WinPE, so keep a backup of the “Unattend_PE_x86.xml”.  This will give you the ability to revert back to the default WinPE image.

I put together a quick .ZIP that can be used to use the script.

image

image

File name: ZTICleanSetupInprogress.zip
Website link: https://panaconsulting.egnyte.com/h-s/20110615/dae8ca6c6fbf4f03

Source: http://www.deploymentresearch.com/Blog/tabid/62/EntryId/32/Leftover-junk-prevents-new-installation-in-MDT-2010.aspx

2 thoughts on “Clean up MDT “Leftover Junk” from Previous Task Sequence (The task sequence has been suspended)

  1. Brian

    Howdy, I think your blog may be having web browser compatibility issues.
    Whenever I look at your web site in Safari, it looks fine however,
    when opening in IE, it’s got some overlapping issues. I just wanted to provide you with a quick heads up! Other than that, great site!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*