Sysprep in Windows 7 may fail after Internet Explorer 10 is installed
Warning
The retired, out-of-support Internet Explorer 11 desktop application has been permanently disabled through a Microsoft Edge update on certain versions of Windows 10. For more information, see Internet Explorer 11 desktop app retirement FAQ.
This article provides information on how to change the registry to ensure that Sysprep can be successfully executed after installing Internet Explorer 10 on Windows 7.
Original product version: Internet Explorer 11, Internet Explorer 10
Original KB number: 2868126
Symptoms
After installing Internet Explorer 10 on Windows 7, executing Sysprep may fail with the following error:
SYSPRP LaunchDll:Could not load DLL C:\Windows\SysWOW64\iesysprep.dll[gle=0x000000c1]
Cause
This occurs error because the relevant Sysprep registry entries point to the wrong location, for iesysprep.dll, after installing Internet Explorer 10.
Resolution
In order to successfully execute Sysprep in a machine in this state, please follow these steps:
Change the default permissions in the following registry keys to include Full Control for the Administrators group. (check step 3 on how to do it using the regini.exe utility):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Cleanup
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Generalize
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Specialize
Change the value {EC9FE15D-99DD-4FB9-90D5-676C338DC1DA} to the following, for all three registry keys:
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Cleanup /v {EC9FE15D-99DD-4FB9-90D5-5B56E42A0F80} /t REG_SZ /d "C:\Windows\System32\iesysprep.dll,Sysprep_Cleanup_IE" /f
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Generalize /v {EC9FE15D-99DD-4FB9-90D5-CE53C91AB9A1} /t REG_SZ /d "C:\Windows\System32\iesysprep.dll,Sysprep_Generalize_IE" /f
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Specialize /v {EC9FE15D-99DD-4FB9-90D5-676C338DC1DA} /t REG_SZ /d "C:\Windows\System32\iesysprep.dll,Sysprep_Specialize_IE" /f
Execute Sysprep again.
For step 1, you can use the regini.exe utility to change permissions on the mentioned registry keys. For more information, see How to change registry values or permissions from a command line or a script.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for