Home > Bugs, Fix, Microsoft, Windows 7 > Sysprep Fatal Error With IE 10 (FIX)

Sysprep Fatal Error With IE 10 (FIX)

My fellow system administrators, there is a bug with sysprep and Internet Explorer 10 in Windows 7. My department maintains a Windows 7 image that we use on all our desktops. Today I installed some Windows updates which included Internet Explorer 10. When I tried to sysprep the machine like I usually do I received an error that a fatal error has occurred while trying to sysprep the machine. After looking at the logs (setupact.log and setuperr.log) I discovered what the issue was:

Error      [0x0f0085] SYSPRP LaunchDll:Could not load DLL C:\Windows\SysWOW64\iesysprep.dll[gle=0x000000c1]

It turns out that Internet Explorer 10 was the culprit. Strangely, ‘iesysprep.dll’ does exist within C:\Windows\SysWOW64. I have posted about it on the TechNet forums and it appears I am not the only one having this issue. Another user on the TechNet forums, sgennadi, has posted what appears to be a solution. It calls for modifying sysprep registry values and changing them back from SysWOW64 to System32. I personally have not tried his/her solution. I reverted back to a previous image and installed the new updates again, minus Internet Explorer 10, and sysprep works fine. Personally, I will be waiting for Microsoft to address this in a Windows Update before I upgrade to Internet Explorer 10.

EDIT:
I decided to add the proposed solution here in case anyone wants to fix it themselves. Again, credit goes to sgennadi for the solution.

After installing IE10, open the registry editor (regedit). You should make a backup of the registry before making any changes in the event that something goes wrong. You can do this by choosing File > Export and make sure you select ‘All’ under ‘Export range’.

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Cleanup

Locate: Value Name {EC9FE15D-99DD-4FB9-90D5-5B56E42A0F80} Value Data C:\Windows\SysWOW64\iesysprep.dll,Sysprep_Cleanup_IE
Replace the value with: C:\Windows\System32\iesysprep.dll,Sysprep_Cleanup_IE

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Generalize

Locate: Value Name {EC9FE15D-99DD-4FB9-90D5-CE53C91AB9A1} Value Data C:\Windows\SysWOW64\iesysprep.dll,Sysprep_Generalize_IE
Replace the value with: C:\Windows\System32\iesysprep.dll,Sysprep_Cleanup_IE

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Specialize

Locate: Value Name {EC9FE15D-99DD-4FB9-90D5-676C338DC1DA} Value Data C:\Windows\SysWOW64\iesysprep.dll,Sysprep_Cleanup_IE
Replace the value with: C:\Windows\System32\iesysprep.dll,Sysprep_Cleanup_IE

Now you should be able to run sysprep successfully without receiving the IE10 related error.

Advertisements
  1. March 20, 2013 at 12:36 PM

    We had this issue with Sysprep using VMware Linked Clones – Windows 7 64bit Enterprise. It affected 2 pools but not the third pool. All had the IE 10 updtate. Uninstalling the Internet Explorer 10 update, under updates in Programs and features, resolved our issue. VMware Tech support found this blog while we were on the phone with this issue. Jesus, you helped to make my day a lot better!! Thank you!

  2. Anonymous
    April 9, 2013 at 5:10 PM

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Generalize

    Locate: Value Name {EC9FE15D-99DD-4FB9-90D5-CE53C91AB9A1} Value Data C:\Windows\SysWOW64\iesysprep.dll,Sysprep_Generalize_IE
    Replace the value with: C:\Windows\System32\iesysprep.dll,Sysprep_Cleanup_IE

    Are you sure Sysprep_Generalize_IE has to be replaced with Sysprep_Cleanup_IE?

  3. Anonymous
    April 9, 2013 at 5:20 PM

    Yes

  4. Anonymous
    April 16, 2013 at 6:43 AM

    Fantastic! worked for me! just remember to run in an admin account. I also had to change the permissions on the entries before it would save them.

  5. Anonymous
    April 16, 2013 at 4:00 PM

    I was stuck on this as well. When I went in to make the changes to the REG, the machine stated give some generic error about writing back to the REG. I had to change the permissions on the string to edit it and then changed them back. I’m about to rerun sysprep and see what happens..

  6. biereluc
    April 22, 2013 at 3:05 PM

    echo Hotfix “iesysprep.dll”.
    regini -m \\%computername% iesysprep.dll.txt
    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_Cleanup_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_Cleanup_IE” /f
    pause

    in file : iesysprep.dll.txt
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Cleanup [1]
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Generalize [1]
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Specialize [1]

  7. Trent Emmich
    May 21, 2013 at 11:27 PM

    You can do the above or just uninstall IE10 for this particular issue. I ran into it as well and decided to do the same…post on the web to save others a bunch of time in trying to figure this issue out. I wish I had found your post a bit sooner 😉 I figured it out on my own and am now commenting on forums to save people time.

  8. Anonymous
    May 23, 2013 at 2:24 AM

    We are staying with ie9 anyway, thanks for this!!

  9. Anonymous
    May 24, 2013 at 7:33 AM

    Uninstall IE10. Run sysprep ok.

  10. May 31, 2013 at 9:04 AM

    I got the fatal error dialog when trying to run sysprep and, yes I was running IE10. So I uninstalled the IE10 update which took forever updating my configuration when I restarted. I then checked that I was running IE9. Great I thought, and run the SYSPREP command from the prompt as administrator. It seemed to be running OK as it went on longer than before but then I got the self same “Fatal error while trying to sysprep the machine” dialog pop up. Any ideas where I go from here, as I’d like to move all my user folders to my D drive. I have already moved all the individual Documents, Music, Pictures and so on to the D Drive previously but I still have the original User folder with the App Data and the Program Data on my C drive? I dont particularly want to do a new clean install of Windows, which I know does work when running sysprep as I had to do that on my son’s laptop yesterday after replacing a faulty harddrive. Has anyone had this problem with IE9?

  11. Anonymous
    June 23, 2013 at 2:31 PM

    Many thnx, what a relief to have found this info; great!
    again a MS bug tackled..

  12. June 30, 2013 at 11:59 AM

    This was great info as I just ran in to this issue running sysprep on Win7 x64 machine. Thanks, NIck

  13. Anonymous
    July 2, 2013 at 4:27 PM

    Worked great. Thanks for posting this workaround!

  14. LKJ
    August 1, 2013 at 9:58 AM

    I got the same problem, sysprep with cause a fatal error.

    uninstalled IE10, left IE9 on the image and it works fine now.

    great testing by Microsoft!

  15. Arowitv
    August 6, 2013 at 8:50 AM

    You rock! Thanks for this information; you’ve saved me a lot of work today. Would like to see MSFT clean this up ASAP, though; if you want us to use your latest browser, please make it easier, not harder!

  16. Mark
    August 6, 2013 at 6:46 PM

    Ditto here. Needed my image ready tomorrow morning, so this saved me a ton of heartache.

  17. JF
    August 19, 2013 at 1:25 PM

    As of August 19, 2013 or earlier it seems that those entries for IE10 have been fixed in the registry. Possibly a previous hotfix or security patch fixed those entries. Might not be necessary to fix anymore.

  18. Jay
    August 30, 2013 at 9:22 AM

    Your solution was spot on many thanks. Contrary to JF’s previous comment, this machine in question was fully patched as of today and needed the registry keys corrected.

  19. Anonymous
    September 5, 2013 at 4:14 PM

    Worked for me replacing for each different string the corresponding values (Cleanup_IE, Generalize_IE, and Specialize_IE)

    Anonymous :
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Generalize
    Locate: Value Name {EC9FE15D-99DD-4FB9-90D5-CE53C91AB9A1} Value Data C:\Windows\SysWOW64\iesysprep.dll,Sysprep_Generalize_IE
    Replace the value with: C:\Windows\System32\iesysprep.dll,Sysprep_Cleanup_IE
    Are you sure Sysprep_Generalize_IE has to be replaced with Sysprep_Cleanup_IE?

  20. Scott
    September 28, 2013 at 7:00 AM

    I have been having the same problem when I installed windows 7 luxury edition to my USB on my bad but working computer to use for my decent but broken computer and tried to sysprep it. However when I tried this technique I found that the directories which were to be changed from sysWOW64 to system 32 were already system32, I really need help with this as the only way I can fix my broken computer is to prove to the person with the money that except for the hard drive they corrupted with their stupidity, it’s still fine, well that and the screen replacement has also been broken, and the backlight has been dead since we bought it, and that’s my good computer.

    So just to repeat what the problem is, the directories to be changed from sysWOW64 to system32 are already system32.

    HELP MEEE….

  21. Michael L.
    December 8, 2013 at 12:31 PM

    Thanks! I came across Sgennadi’s post too, and I was glad to see that you and others confirm it as the solution. As everybody who came across this post knows, by the time you finally get a machine ready for imaging, the last thing you need is a Sysprep error…
    and then I discovered that since Sysprep had already started before it encountered the error, the Administrator account was already disabled (which happens as part of Sysprep in Win7)! Sysprep really should undo that if it encounters an error.

    Thanks to your post I was able to run Sysprep. Hopefully everything will look OK when I start up the image on the target machines.

  22. Anonymous
    December 22, 2013 at 2:27 AM

    Does anybody know if this problem was fixed with IE11?
    If I install IE11, do I still need to apply this manual registry fix before running sysprep?

  23. Christopher
    January 9, 2014 at 6:33 AM

    I am getting the same error with IE11. Currently uninstalling it now, taking a long time. What were your results? Did the error after the downgrade of IE11?

  24. Me
    February 3, 2014 at 5:58 PM

    Incredible problems here. I’m just extremely satisfied to look this page. Many thanks and i’m looking forward to feel people. Might you you should decline me a e-mail?

  25. February 28, 2014 at 7:04 AM

    If some one needs expert view concerning blogging and site-building afterward i
    propose him/her to go to see this web site, Keep up the nice job.

    • February 28, 2014 at 11:08 AM

      Folks, we had the same issue with one of our Master Images and discovered that MSE had been installed and removed during an update of the Image. Re-installing MSE corrected our issue. Longshot that anyone else uses MSE on their base images but there you go.

  26. March 1, 2014 at 12:47 AM

    Ahaa, its nice conversation on the topic of this paragraph here at this blog, I have read all that,
    so at this time me also commenting here.

  27. March 14, 2014 at 10:34 PM

    Great article. I will be facing some of these issues as well..

  28. May 17, 2014 at 3:23 AM

    ңello, this weekend іs pleasant in support of me, aas this time і
    am readkng tɦis impressive educational post Һere at mү residence.

  29. July 20, 2014 at 7:06 AM

    Users can choose their systems depending upon the size of the property and requirements desired to
    them. When buying a homesecurity-system, you should always check
    the components of the securitysystem. Most of the
    best modern systems also integrate smart capabilities, which mean that
    the security system is part of an overall home automation system.

  30. July 22, 2014 at 10:39 AM

    Its not my first time to go to see this website, i am visiting this web page dailly and obtain fastidious facts from here every
    day.

  31. July 22, 2014 at 12:15 PM

    Pretty nice post. I just stumbled upon your weblog
    and wished to say that I’ve truly enjoyed browsing
    your blog posts. After all I’ll be subscribing to your
    rss feed and I hope you write again soon!

  32. July 24, 2014 at 6:26 PM

    I was suggested this blog by means of my cousin.
    I am now not positive whether this put up is written via him as nobody else understand such special approximately my problem.
    You’re incredible! Thank you!

  33. July 25, 2014 at 6:30 PM

    Good day! I could have sworn I’ve been to this site
    before but after reading through some of the post I realized it’s new to me.

    Nonetheless, I’m definitely delighted I found it
    and I’ll be book-marking and checking back often!

  34. August 1, 2014 at 6:38 AM

    WOW just what I was looking for. Came here by searching for emergency dentist

  35. August 1, 2014 at 1:16 PM

    Hello to all, for the reason that I am in fact keen of reading this web site’s post to be updated
    on a regular basis. It includes pleasant material.

  36. August 1, 2014 at 5:39 PM

    Hmm is anyone else encountering problems with the images
    on this blog loading? I’m trying to determine if its a problem on my end or if it’s the
    blog. Any feed-back would be greatly appreciated.

  37. August 30, 2014 at 3:19 AM

    It’s actually a nice and helpful piece of information. I’m satisfied
    that you simply shared this helpful info with us.
    Please stay us up to date like this. Thank you for sharing.

  38. September 11, 2014 at 2:17 PM

    I’ve been browsing online more than three hours today, yet I never found any
    interesting article like yours. It’s pretty worth enough for
    me. In my opinion, if all web owners and bloggers made good content as
    you did, the internet will be a lot more useful than ever
    before.

  39. September 12, 2014 at 6:41 AM

    I almost never leave a response, but after reading a few of the comments
    on Sysprep Fatal Error With IE 10 (FIX) | System Administration. I do have 2 questions
    for you if you do not mind. Is it simply me or do a few of these comments come across
    as if they are left by brain dead visitors? 😛 And, if you are writing at other places, I would like to
    follow everything new you have to post. Could you make a list of every one of your
    social networking pages like your linkedin profile, Facebook page or
    twitter feed?

  40. September 20, 2014 at 9:59 PM

    Currently it looks like Drupal is the preferred blogging platform out there right now.
    (from what I’ve read) Is that what you’re using on your blog?

  41. September 23, 2014 at 4:06 AM

    This text is worth everyone’s attention. How can I find out more?

  42. September 30, 2014 at 5:10 PM

    I got this site from my pal who informed me concerning this site and now this time I am browsing this web page and reading very informative articles or reviews
    at this time.

  43. October 6, 2014 at 4:45 PM

    Pretty element of content. I just stumbled
    upon your site and in accession capital to say that I acquire
    actually enjoyed account your weblog posts. Anyway I’ll be subscribing for
    your augment or even I fulfillment you get admission to persistently fast.

  44. October 18, 2014 at 9:50 PM

    May I just say what a relief to discover someone that truly knows what
    they are talking about online. You actually realize how to bring an issue to light and make it important.
    More and more people have to look at this and understand this side of your story.
    I was surprised that you aren’t more popular given that you most certainly have the gift.

  45. January 28, 2015 at 7:12 AM

    Hi there, simply became alert to your blog through Google, and found that it’s truly informative. I’m going to be careful for brussels. I’ll appreciate when you proceed this in future. A lot of folks might be benefited from your writing. Cheers!

  1. September 22, 2013 at 2:09 PM
  2. January 18, 2014 at 11:49 AM
  3. October 13, 2014 at 2:44 AM
  4. October 15, 2014 at 5:33 PM
  5. October 15, 2014 at 10:57 PM
  6. October 17, 2014 at 2:38 PM
  7. October 20, 2014 at 8:55 PM
  8. October 21, 2014 at 1:07 AM
  9. October 21, 2014 at 12:46 PM
  10. October 30, 2014 at 7:44 AM
  11. October 31, 2014 at 12:49 PM
  12. October 31, 2014 at 10:45 PM
  13. November 3, 2014 at 12:51 PM
  14. November 3, 2014 at 6:45 PM
  15. November 5, 2014 at 7:38 PM
  16. November 5, 2014 at 8:27 PM
  17. November 5, 2014 at 8:35 PM
  18. November 5, 2014 at 9:05 PM
  19. November 5, 2014 at 9:44 PM
  20. November 12, 2014 at 10:56 PM
  21. November 13, 2014 at 5:24 PM
  22. November 15, 2014 at 9:42 PM
  23. November 17, 2014 at 2:22 PM
  24. November 18, 2014 at 12:54 AM
  25. November 27, 2014 at 6:05 AM
  26. December 14, 2014 at 5:11 PM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: