This took me quite some time to figure out.
When running a build and capture task sequece from ConfigMgr, it won’t give any errors
Even after the image is captured and ready for re-deployment, the error appears when trying to run Setup Windows and Configmgr from a deployment task sequence. It would just break/stop right in the middel of that process, leaving your with pretty mush a useless deployment
Solution:
Set permission for group Administrators ( Full Control ) to
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSysprepCleanup
Value Name
{EC9FE15D-99DD-4FB9-90D5-5B56E42A0F80}
Value Data
C:WindowsSysWOW64iesysprep.dll,Sysprep_Cleanup_IE
replace with
C:WindowsSystem32iesysprep.dll,Sysprep_Cleanup_IE
Set permission for group Administrators ( Full Control ) to
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSysprepGeneralize
Value Name
{EC9FE15D-99DD-4FB9-90D5-CE53C91AB9A1}
Value Data
C:WindowsSysWOW64iesysprep.dll,Sysprep_Generalize_IE
replace with
C:WindowsSystem32iesysprep.dll,Sysprep_Cleanup_IE
Set permission for group Administrators ( Full Control ) to
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSysprepSpecialize
Value Name
{EC9FE15D-99DD-4FB9-90D5-676C338DC1DA}
Value Data
C:WindowsSysWOW64iesysprep.dll,Sysprep_Cleanup_IE
replace with
C:WindowsSystem32iesysprep.dll,Sysprep_Cleanup_IE
setting this from a batch file:
IEhotfix.cmd:
regini -m \%computername% iesysprep.dll.txt reg add HKLMSOFTWAREMicrosoftWindowsCurrentVersionSetupSysprepCleanup /v {EC9FE15D-99DD-4FB9-90D5-5B56E42A0F80} /t REG_SZ /d “C:WindowsSystem32iesysprep.dll,Sysprep_Cleanup_IE” /f reg add HKLMSOFTWAREMicrosoftWindowsCurrentVersionSetupSysprepGeneralize /v {EC9FE15D-99DD-4FB9-90D5-CE53C91AB9A1} /t REG_SZ /d “C:WindowsSystem32iesysprep.dll,Sysprep_Cleanup_IE” /f reg add HKLMSOFTWAREMicrosoftWindowsCurrentVersionSetupSysprepSpecialize /v {EC9FE15D-99DD-4FB9-90D5-676C338DC1DA} /t REG_SZ /d “C:WindowsSystem32iesysprep.dll,Sysprep_Cleanup_IE” /f
iesysprep.dll.txt
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSysprepCleanup [1] HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSysprepGeneralize [1] HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionSetupSysprepSpecialize [1]