You prepare a Windows 7 image by using Sysprep.exe.
In the answer file that is passed to Sysprep, the CopyProfile value is set to True.
You boot to WinPE, and you apply the image by using the ImageX tool or DISM.
In this scenario, when the computer boots into Mini-Setup, the setup fails, and you receive the following error message:
Windows could not parse or process the unattend answer file for pass [specialize]. The settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup]
If you gather the %WINDIR%\Panther directory from the computer that has the failed deployment, and you examine the corresponding Setuperr.log file under the UnattendGC folder, you see the following errors:
This problem may occur if you manually delete the profile folder that is located in the \Users folder. This action causes an inconsistent image state, and leaves the profile information orphaned in the following registry subkey: