1. Macrium Reflect LTSC
  2. Creating and Managing Rescue Media

Managing Drivers for Macrium Reflect Rescue Media


- Overview

- Viewing Drivers when Creating Rescue Media

- Overriding Existing Drivers

- Manually Adding Drivers to the Rescue Media

- Acquiring the Driver Files

- 7-Zip

- Temp Folder

- Adding the Driver Files to the Rescue Media


Overview

Macrium Reflect rescue media uses the Windows Preinstallation Environment (WinPE) or Windows Recovery Environment (WinRE) to create rescue media. For Macrium Reflect rescue media to communicate with a system's hardware (e.g., accessing network resources to restore images located on network shares, writing to a local disk to perform a restore, etc), the rescue media must have a compatible driver for the device.

WinPE and WinRE come packed with a large collection of in-box drivers that enable the rescue media to work with a wide range of different hardware devices without any user driver management. However, there are many devices that do not have driver support in WinPE/WinRE by default.

Additionally, when creating the rescue media, Macrium Reflect will harvest drivers from the system where the rescue media is being created, to ensure that a compatible driver is present in the rescue media. However, if the rescue media is being used on a different system, or hardware is changed on the system where the rescue media was created, the rescue media may not have the necessary drivers.

In these cases, some additional driver management may be required. 


Viewing Drivers when Creating Rescue Media

When creating Macrium Reflect rescue media, driver support for the rescue media can be viewed in the 'Devices & Drivers' page of the 'Advanced Options' menu.

image2022-1-29_18-48-9.png

The status column can display the following statuses:

Status Message Description
Device Detected The device has no drivers and will not function in the rescue media. If this device is required for recovery, the necessary drivers should be added.
Device support in WinPE The device has a supporting driver in the rescue media. Generally, no action is required.
Compatible device support in WinPE

The device has a compatible driver in the rescue media. Generally, no action is required.

Driver already present in Drivers folder A driver has previously been added to the rescue media for this device.
Copy host driver/Inject host driver

For Windows Vista and later operating systems, if a device is found without driver support, the operating system will be scanned for compatible drivers. If a compatible driver is found, it will be added to the rescue media.

Note: If no compatible device driver is found, the 'Device Detected' message will be displayed, and a driver will need to be added manually.


Overriding Existing Drivers

By default, the Macrium Rescue Media Builder will attempt to use the most up-to-date and appropriate device driver for the hardware in the rescue media.  There are edge cases where this driver may not be the most appropriate choice, and it's necessary to override the default behavior. For example, the host USB driver might not function correctly in Windows PE, or the host driver might be a better choice than the WinPE/WinRE driver that's selected by default. 

The 'Override' dropdown menu lets you override the default driver choice.  The selected override is displayed in the 'Override' column in the device list.

Note: The 'Override' column in the device table will only be displayed when at least one override has been specified.

To specify a driver override, select the device in the device table and then select the 'Override' button.

image2022-1-29_18-49-4.png image2022-1-29_18-51-11.png

The following options can be specified and will be displayed in the 'Override' column:

Override Column Message Description
Use supplied driver A driver has been supplied by selecting 'Locate a driver...' in the override menu.
Use host driver 'Use host driver' in the override menu has been selected. The driver discovered on the host Windows system will always be used, even if a more up-to-date driver is found in Windows PE. 
Use WinPE driver 'Use WinPE driver' in the override menu has been selected. The Windows PE driver will always be used, even if a more up-to-date driver is found on the host Windows system.
Do not copy drivers 'Do not copy drivers' in the override menu has been selected.  This override is only available if there's no compatible device support in WinPE/WinRE and prevents any driver from being used to enable the device in WinPE/WinRE.

Manually Adding Drivers to the Rescue Media

Acquiring the Driver Files

If a hardware device does not have compatible drivers in WinPE/WinRE and a compatible driver cannot be copied from the operating system where the rescue media is being created (e.g., the rescue media is being used for a bare metal restore to a second computer), then some manual driver management may be required. 

Drivers can generally be downloaded from the device manufacturer's website. If the relevant driver cannot be found, we recommend contacting the device manufacturer directly.

Drivers are made up of the following files:

  • .inf file - This contains a description of the driver and its associated files. It will include a list of hardware it supports and what operating systems and CPU types it supports.
  • .sys file - This is the driver software.
  • .cat file - This is a list of included files with their cryptographic hashes or thumbprints.

It may also contain supplementary files containing localized text, etc.

Device manufacturers may distribute their driver files in different formats. If the manufacturer has provided an executable file, the following methods may assist in retrieving the driver files from the executable file:

7-Zip

Using third-party tools, it is possible to open the archive of the executable and manually extract files from inside it. One such tool is 7-Zip a free, open-source archiving tool.

In the example below, 7-Zip (https://www.7-zip.org) has been used to open the archive of a Dell Network Adapter to extract the relevant driver files. This will allow the deployment media to communicate with the network adapter.

Once you have extracted the installer, you can find where the driver files are located. Depending on how the installer is constructed, it may be necessary to extract further files. For example, driver files may be located in a cabinet file (an archive file format), within the executable.

Temp Folder

The second way to extract the driver files from the installer is by running the installer. When the installer is running, these files are often stored in the %Temp% folder.

You can access this folder by pressing the Windows + R keys. This will open the ‘Run’ search menu. In the search box, enter %Temp% and press the 'Enter' key.

By checking the folders located in %Temp%, you can often locate these driver files.

Adding the Driver Files to the Rescue Media

Once the relevant driver files have been downloaded, they should be moved to the relevant subfolder in the C:\Boot\Macrium folder. Which subfolder the driver files should be placed in will depend on the version of WinPE/WinRE that is being used to create the rescue media. Below are the relevant folders for each version of the rescue media:

Base WIM Drivers Folder
Windows RE C:\boot\macrium\WinREDrivers
Windows PE 11 (WADK) C:\boot\macrium\WA11KDrivers
Windows PE 10 (WADK) C:\boot\macrium\WA10KDrivers
Windows PE 5.0 (WADK) C:\boot\macrium\WA5KDrivers
Windows PE 4.0 (WADK) C:\boot\macrium\WADKDrivers
Windows PE 3.1 (WAIK) C:\boot\macrium\WAIKDrivers

Once the driver files have been placed in the relevant folder, the rescue media should be recreated. The driver will then be included in the recreated rescue media.