Menu
CCMEXEC.COM – Enterprise Mobility
  • Home
  • General
  • Configuration Manager
  • Windows 10
  • Intune
  • GitHub
  • Windows 11
  • About the author
CCMEXEC.COM – Enterprise Mobility

Driver issues when deploying Windows 7 x64 using x86 boot image SCCM 2012

Posted on June 2, 2015 by Jörgen Nilsson

I have many customers who have experienced the same issue deploying 64-bit Windows 7 using a 32-bit boot image. The error has not been consistent either the Apply Driver Package step fails and the DISM log file indicates that it cannot read the Software Hive from the registry or the machine blue-screen on first boot.

Rebuilding the master image has solved the problem. I have one customer who logged a case with Microsoft Support and got this solution that works great!

Thanks Ola Ahrens for sharing!!

The issue

WinPe tries compacting the offline registry and fails to commit the registry hives back to disk.

This problem only happen when you deploy windows 7 and use WinPe 5.0 or 5.1, 32 bit, to deploy the image.

Note: Sccm 2012 R2 and higher uses winpe 5.0 or higher to deploy os images.

Resolution

Create a Value in WinPE

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager

Name:  RegistryReorganizationLimitDays

Datatype: DWORD

Value:  365

This value has the effect that the registry hives are not compacted as long as the modified date of the hives is not older than a year.

When you intend to use the deployment longer than a year, a higher value must be chosen.

4 thoughts on “Driver issues when deploying Windows 7 x64 using x86 boot image SCCM 2012”

  1. Christian Kehl says:
    June 2, 2015 at 4:24 pm

    Hi
    I had the same issue but only on systems with 16GB Ram and more. I used the same solution found here: http://blogs.technet.com/b/dip/archive/2015/01/21/win2008r2-win7-stop-0xf4-during-task-sequence-os-deployment.aspx

    In my case:
    I have seen in my dism.log that WinPE was not able to load the registry “failed to load offline store”. My guess was that the issue is related to this model having a large amount of memory. In my case, the system was my only hardware model with 16GB of RAM. All other models have 4GB or 8GB and none of them have this issue.
    For testing I removed the half of RAM (8GB) and the driver injection went well. Without setting the registry key described above!!!

    Then I added the registry key into my WinPE boot image and plugged all my 16GB RAM back into my target system. Everything went well now

    Reply
  2. Gary Knigge says:
    June 2, 2015 at 7:50 pm

    Does not compacting the hives leave the computer in an undesirable state? Does this compacting happen on its own later on?
    Thank you,
    Gary

    Reply
  3. Gerry says:
    June 3, 2015 at 7:31 am

    I’ve mounted my Windows PE image and i only have the “ControlSet001” key. Will adding the above work if added here??

    Reply
  4. Dietmar says:
    January 19, 2016 at 9:13 am

    Hi! Thanks for this solution. But when do you create the key? During Task Sequence with a reg import step? Can you explain in more detail, please? We actually have this problem and are searching for a resolution. Thanks!

    Dietmar

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

My name is Jörgen Nilsson and I work as a Senior Consultant at Onevinn in Malmö, Sweden. This is my blog where I will share tips and stuff for my own and everyone elses use on Enterprise Mobility and Windows related topics.
All code is provided "AS-IS" with no warranties.

Recent Posts

  • Community tools demoed at WPNinjas 2023
  • PowerShell script to keep Personal Teams away in Windows 11
  • Windows 11 Multi-App kiosk – a first look
  • Playing around with Driver Updates in Intune
  • MMUGSE – Summer Meetup 8th of June 2023

©2023 CCMEXEC.COM – Enterprise Mobility | WordPress Theme by Superb Themes
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Accept Reject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT