Troubleshooting - Sysprep and Capture task sequence fails with error

A tip on troubleshooting an issue where using MDT 2010 to run a Sysprep and Capture sequence on a Windows 7 installation fails with an error.

Problem: You are trying to use the Sysprep and Capture task sequence of Microsoft Deployment Toolkit 2012 to sysprep a Windows 7 installation and then capture the sysprepped image as a WIM file, but it fails with the following error:

Operating system did not complete successfully

the error details include the following in their description:

ZTI ERROR - Unhandled error returned by ZTIBackup: Subscript out of range (p)

Litetouch deployment failed, Return Code = -2147467259 0x80004005

In addition, the SMSTS.log file includes the following information:

Failed to run the action: Create WIM. The storage control block address is invalid. (Error: 00000009; Source: Windows)

Resolution: The problem is that while your CustomSettings.ini file contains SkipCapture =YES, it doesn't contain any lines specifying BackupShare or BackupFile, so MDT doesn't know where to save the captured WIM file.

Mitch Tulloch is a seven-time recipient of the Microsoft Most Valuable Professional (MVP) award and widely recognized expert on Windows administration, deployment and virtualization. For more tips by Mitch you can follow him on Twitter or friend him on Facebook.

Featured Links

Online Survey: The Definitive State of Load Balancing and High Availability

MSExchange.org, KEMP Technologies and numerous MSFT and VMware experts worldwide would like to invite you to participate in our confidential 6 question survey on Load Balancing and High Availability. This survey takes about 6 minutes and all participants who wish can leave their email address and register to win a $50 Amazon gift certificate.

The results of this survey will be used to create a white paper on the State of Load Balancing. Everyone who registers will also get a copy of the white paper.