This article covers some of the issues with drivers failing to load when booting WinPE.
Use drivers of the same architectureDrivers, like any other form of software, have an architecture, either 32 bit (x86) or 64 bit (x64). When trying to load drivers in WinPE, it is essential to have drivers which match the architecture of your WinPE environment. For example, using 32 bit drivers on a 64 bit WinPE could cause load failures.
Drivers not located on accessible diskNormally, when booting from a RAID controller, be it array or single drive configuration, drivers will need to be loaded in order to access that device. However, as the device will not be visible to WinPE you cannot put drivers on any disk (fixed or optical) which is connected to that controller.
Solution 1 : Make drivers available on accessible media such as a usb deviceIn order to get round this chicken and egg problem, you will need to place drivers for the device onto a disk which is visible in WinPE, a good choice would be a USB2 pen drive for this.
The exceptions to this are nVidia RAID and Intel Matrix RAID, as WinPE has built in driver support for these devices.
The drivers folder can be copied to another disk using the following method whilst in Windows:
If you have a local non-RAID disk 'e:' then from a command prompt type:
xcopy /e c:\boot\macrium\drivers\* e:\boot\macrium\driversif 'e:' is a removable (flash) drive, then use the following command:
xcopy /e c:\boot\macrium\drivers\* e:\driversNote: The '/e' switch means recursive copy and is not to be confused with the drive letter 'e:'.
If 'e:' is present during the boot menu load then the drivers will be loaded.
Solution 2 : Add drivers to the PE Image
If you have previously created an 'Auto-built Windows PE' rescue CD (WAIK or WADK for Windows 8) then jump to step 4, otherwise follow all the steps below:
1. Take the 'Windows PE' rescue CD option in the rescue CD wizard.
Note: For purchases before the 1st November 2012 this must be the 'Auto-built' Windows PE option, either the WAIK or WADK for Windows 8.
2. If you haven't previously installed the Windows Automated Installation Kit (WAIK) or Windows Assessment and Deployment Kit (WADK) for Windows 8, then this will need to be downloaded and installed. This is a big (1.7GB) download, so please be patient. The WAIK/WADK download dialog will be shown. Just click 'Next' and be patient while the integration completes.
3. Once the integration is finished cancel the rescue media wizard on the final Wizard page.
4. Download and run 'inject.exe' from here:
This will automatically inject the drivers into the windows image file (WIM) and will take a few minutes.
5. Once completed, take the rescue media build wizard again, click through to the final page and create your rescue media. Drivers will be integrated and you should have no problems booting with the CD and recognizing your local RAID volumes or USB 3.0 host controllers.
Note: If you re-integrate the rescue media WIM by clicking the 'Re-Build' button on the final Wizard page, or if an update to Windows PE is made available then you must follow this procedure again to add drivers into the newly created WIM file.
If you still have problems then email the file 'c:\waiklog.txt' and an explanation of your issue to support (at) macrium.com so we can investigate further.
Driver location load orderMacrium Reflect will load drivers based on the existence of the file macrium.oem, the following locations will be checked in sequence and if the file macrium.oem is found then driver loading will commence from that point. Subsequent locations will not be checked for drivers.
Please note that in Windows, the drivers folder that's loaded when WinPE boots can be located in c:\Boot\Nacrium\Drivers. Once USB/CD-ROM/DVD-ROM rescue is created this folder will be \Drivers on the root of the respective rescue media.
- Removeable media (such as USB pen drives). The file (macrium.oem) must reside in the Drivers folder on the root of the media.
- CD=ROM/DVD-ROM drives. The file (macrium.oem) must reside on the Drivers folder on the root of the media.
- Local fixed hard disks. The file must reside on the Boot\Macrium\Drivers folder on the root of the local hard disk.
Missing support filesOn 64 bit WinPE systems, most drivers will require a supporting security catalog and in some instances, DLL files. If running a 64 bit Windows Vista system or later, Macrium Reflect will take care of this for you when building the rescue media. However, if on an XP or 2003 Server operating system you will need to make sure you provide a driver package that contains a security catalog and any supporting DLL files when using the Update Driver feature in the Create Rescue Media wizard.
Cannot see RAID array in WinPE
Drivers failed to load in WinPE
Driver load failed