ieI ran into a situation recently where I noticed that one of my 2008 R2 SP1 templates would simply not complete or really even start it’s sysprep  after deploying.  Honestly, I spent a lot of time fiddling with my customization, ensuring I had the correct username’s and passwords, along with checking that I was using the actual fqdn.  None of this helped!  Also, I was very adamant about reviewing the sysprep logs – you know c:\Windows\Panther – the setupact and setuperr files, these really didn’t give me any indication of what was wrong.  However, the same files, located this time at c:\Windows\system32\sysprep\Panther did 🙂  Are you kidding me?!?!?

Either way, that didn’t matter – I just wanted to rant about having the same files located in two different spots for a bit.  After located the correct file I did find an error message about why sysprep was not completing.

“SysPRP LaunchDLL: Could not load DLL C:\Windows\SysWOW64\iesysprep.dll”

Ohhh, that’s why!!!  Aha moment – no, not really, I had to google this one – which pointed me to here – Huge props to whomever sgennadi is – I wish I could log into technet and give you points!!!

/Facepalm – Once again the update of a browser has failed me.  It appears that upon updating to IE 10 some registry changes occur that cause sysprep to, well, fall flat on its’ face.  I’m sure a wondrous Tuesday patch will come out to address this ( and break something else ) – but in the meantime, if you are strapped and need to get some work done, the following registry changes worked for me …

First off grant the local Administrators group Full Control over the following spots within the registry

[HKLM]\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Cleanup
[HKLM]\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Generalize
[HKLM]\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Specialize

And modify the following values…

[HKLM]\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Cleanup

Key - {EC9FE15D-99DD-4FB9-90D5-5B56E42A0F80}
Oldval - C:\Windows\SysWOW64\iesysprep.dll,Sysprep_Cleanup_IE
NewVal - C:\Windows\System32\iesysprep.dll,Sysprep_Cleanup_IE

[HKLM]\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Generalize

Key - {EC9FE15D-99DD-4FB9-90D5-CE53C91AB9A1}
OldVal - C:\Windows\SysWOW64\iesysprep.dll,Sysprep_Generalize_IE
NewVal - C:\Windows\System32\iesysprep.dll,Sysprep_Cleanup_IE

[HKLM]\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Specialize

Key - {EC9FE15D-99DD-4FB9-90D5-676C338DC1DA}
OldVal - C:\Windows\SysWOW64\iesysprep.dll,Sysprep_Cleanup_IE
NewVal - C:\Windows\System32\iesysprep.dll,Sysprep_Cleanup_IE

Hopefully this finds it’s way into your browser if you are experiencing the same issues!  Ugh!  I loathe Internet Explorer 🙂