Start a Conversation

Unsolved

This post is more than 5 years old

J

3333

August 25th, 2016 10:00

Cannot Image OptiPlex 7040 w/NVMe drives and Windows 7

Hi,

I'm using MDT to deploy a custom image of Windows 7 to an OptiPlex 7040 with an NVMe SSD. The imaging process goes fine until the first reboot. Windows fails to load and gets stuck in a reboot loop. I know this is because of incompatibility between Windows 7 and the Skylake/Braswell chipset and the drive. I tried injecting the Microsoft patches for Windows 7 and NVMe drives with DISM, but that didn't work. MDT has the latest drivers for the 7040 that are available on Dell's deployment site. I followed the procedure here: http://www.dell.com/support/article/us/en/19/SLN300564

The problem with that is the chipset drivers from Dell extract to an executable, not driver files I can use to inject into the WIM file. I have the USB3 drivers, just need the ones for the chipset. Maybe that will help. Has anyone else come across a solution to this?

Thanks

12 Posts

August 25th, 2016 18:00

Here's what I did, which eventually worked.

1. Install Windows Assessment and Deployment Kit (Windows ADK)

www.microsoft.com/.../details.aspx

2.Create the folders C:\share\Win7 , C:\share\temp , C:\share\NVMEw7fix , C:\share\NVMEw7fix2

3. Download hotfix 2990941 for NVMe and extract to C:\share\NVMEw7fix

support.microsoft.com/.../2990941

4. Download hotfix for stop error after you install hotfix 2990941 and extract to C:\share\NVMEw7fix2

support.microsoft.com/.../3087873

5. Launch Deployment and Imaging Tools Environment (CMD in Windows Kits)

6. Run these commands to inject the hotfixes:

DISM /mount-wim /wimfile:"c:\share\Win7\Win7Ent_18062015.wim" /index:2 /mountdir:c:\share\temp

DISM /image:c:\share\temp /add-package /packagepath:c:\share\NVMEw7fix

DISM /image:c:\share\temp /add-package /packagepath:c:\share\NVMEw7fix2

DISM /unmount-wim /mountdir:c:\share\temp /commit

7. Re-upload to MDT and deploy.

8 Wizard

 • 

47K Posts

August 26th, 2016 06:00

Windows 7 does not support NVME out of the box.

Advanced format drives REQUIRE F6 drivers.

 

https://support.microsoft.com/en-us/kb/2990941

 

Prerequisites

To apply this hotfix, you must first install SP1 for Windows 7 or Windows 2008 R2.

How to insert hotfixes and drivers and then create a bootable Windows Setup DVD

Method 1

  1. Install the latest Windows ADK for Windows 8.1 update.
  2. Create local folders c:\temp\src c:\temp\mount, c:\temp\winremount, c:\temp\hotfix, and c:\temp\drivers.
  3. Copy the setup sources from the DVD or a mounted ISO to C:\temp\src.
  4. Copy the hotfix (.msu or .cab files) to C:\temp\hotfix.
  5. Copy the driver files to c:\temp\drivers.
  6. Run Command Prompt as an administrative.
  7. Insert the hotfixes and drivers to the boot.wim, then update the sources folder by running the following Deployment Image Servicing and Management (DISM) commands. For more information about DISM, see the DISM Operating System Package Servicing Command-Line Options.
    dism /Mount-Image /ImageFile:c:\temp\src\sources\boot.wim /Index:1 /MountDir:c:\temp\mount
    dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix
    dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse
    dism /Unmount-Image /MountDir:C:\temp\mount /Commit
    dism /Mount-Image /ImageFile:c:\temp\src\sources\boot.wim /Index:2 /MountDir:c:\temp\mount
    dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix
    dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse

    Manually sort the folder C:\temp\mount\sources by date, and then copy the updated files to c:\temp\src\sources.
    dism /Unmount-Image /MountDir:C:\temp\mount /commit
  8. Obtain the index from the Install.wim information by running the following command, and then check every index to see how many indexes have to be updated.
    dism /Get-WimInfo /WimFile:c:\temp\src\sources\install.wim
  9. Insert the hotfixes and drivers to install.wim and winre.wim by running the following commands:
    dism /Mount-Image /ImageFile:c:\temp\src\sources\install.wim /Index:1 /MountDir:c:\temp\mount
    dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix
    dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse
    dism /Mount-Image /ImageFile:c:\temp\mount\windows\system32\recovery\winre.wim /Index:1 /MountDir:c:\temp\winremount
    dism /Image:C:\temp\mount /Add-Package /PackagePath:c:\temp\hotfix
    dism /Image:C:\temp\mount /Add-Driver /Driver:c:\temp\drivers /Recurse
    dism /Unmount-Wim /MountDir:C:\temp\winremount /Commit
    dism /Unmount-Wim /MountDir:C:\temp\mount /Commit

    Note If there are multiple indexes in step 8, update them one by one.
  10. Create an ISO file, and then rename the label by running the following oscdimg commands. For more information about oscdimg, see the Oscdimg Command-Line Options.

    For Legacy BIOS Boot mode:
    oscdimg -LTEST -m -u2 -bC:\temp\src\boot\etfsboot.com C:\temp\src C:\temp\Win7.NVME.ISO
    For Legacy and UEFI BIOS multiple Boot mode:
    oscdimg -LTEST -m -u2 -bootdata:2#p0,e,bC:\temp\src\boot\etfsboot.com#pEF,e,bC:\temp\src\efi\microsoft\boot\efisys.bin C:\temp\src C:\temp\Win7.NVME.ISO
  11. Right-click the ISO file, and then click Burn disc image to burn the DVD.

Note

  • If you have to compress the image, run the following command:

    Dism /image:c:\temp\mount /Cleanup-Image /StartComponentCleanup /ResetBase
  • If there are hotfixes that are pending online, you have to bring them online to Audit mode to clean up, and then recapture the image.
  • If the ISO file is larger than 4.7 gigabytes (GB), use a dual layer DVD to burn the ISO file.

Method 2

  1. Restart from media, and install Windows 7 from media to a disk that attaches other storage controllers (such as SATA).
  2. Press Ctrl+Shift+F3 to enter audit mode during the Out-of-box experience (OOBE) process.
  3. Install the hotfix package, and then restart the computer.
  4. Reseal the system by using the sysprep - generalize - shutdown options.
  5. Capture and move the generalized image to the disk that attaches the NVMe controller.

 

 

No Events found!

Top