The Different Types of Driver Management for Tanium Provision
Overview
Collecting drivers for hardware models is a fairly simple process, but it is important for the best end-user experience when deploying an operating system.
This article describes the different types of hardware drivers and models for use in Tanium Provision.
Hardware drivers
When using enterprise-grade hardware from the likes of Dell, HP, or Lenovo, you can often obtain "driver packs" from the Original Equipment Manufacturer (OEMs) that are meant to contain all possible drivers a given model or model family may have in any of the factory configurations. These are often the easiest way to get the drivers you need, but you may also need to support non-'enterprise-grade' models, or specialty hardware from smaller-volume manufacturers. When collecting these drivers, it is easiest to have a test system you can install a base operating system, and then manually install the drivers (via Windows Update or downloading the driver installers from the OEM's support site), and then export the drivers once the system is operating as desired.
For the enterprise-grade hardware, you can find driver packages at these URLs:
|
Vendor name |
URL |
Notes |
|---|---|---|
|
HP |
Client Management Solutions - HP Driver Packs | HP® Official Site |
N/A |
|
Dell |
Dell Command | Deploy Driver Packs for Enterprise Client Operating System Deployment | Dell US |
The download file is an exe, must be extracted once, and then zipped. |
|
Lenovo |
While these are marked SCCM/MDT driver packs, drivers are not specific to the deployment tool and work with Tanium Provision. |
|
|
Microsoft Surface |
Download drivers and firmware for Surface - Microsoft Support |
Microsoft provides these drivers as MSI files. To extract, use following command: This command extracts the drivers to C:\temp\surface. Zip this folder and name it according to the instructions later in this document. |
Some of these have separate driver packs for Windows 10 vs Windows 11, while others combine them. If the driver packs are separated, you must track this yourself and make sure to only add the Windows 10 packages to Windows 10 operating system bundles and Windows 11 packages to Windows 11 operating system bundles.
The driver packs used within Provision must be zip or cab format. So if the OEM provides an executable driver pack, you must extract it, and then zip the resulting folder to create the driver pack.
Create driver packages
To create a driver package from a non-enterprise-grade or older model, after installing a base operating system matching your target operating system (that is, Windows 10 for Windows 10, Windows 11 for Windows 11), utilize Windows Update or manual driver installs to install all necessary drivers.
When done, use the Export-WindowsDriver cmdlet to create a folder containing all the non-in-box drivers present on the system:
Export-WindowsDriver -Online -Destination C:\Drivers
This command creates the folder, **C:\Drivers **(if it does not exist), and then creates one sub-folder per driver. This folder can then be zipped, and added to an OS Bundle with the appropriate file name.
Naming Driver zip files
Per the Tanium Provision documentation , driver packages in an OS bundle are only downloaded if they match one of these names:
-
drivers.(zip|cab)
-
drivers_%Model%.(zip|cab)
-
drivers_%ModelAlias%.(zip|cab)
-
drivers_%Version%.(zip|cab)
In the above names, %Model%, %ModelAlias%, and %Version% are replaced by information from the endpoint. On a test system of that model, you can see what these should look like with the following Microsoft PowerShell commands:
-
Model:
(Get-ComputerInfo | Select-Object -ExpandProperty CsModel).Replace(" ","") -
ModelAlias
(Get-ComputerInfo | Select-Object -ExpandProperty CsModel).Substring(0,4) -
Version
(Get-WmiObject -Class Win32_ComputerSystemProduct| Select-Object -ExpandProperty Version).Replace(" ","")In a test environment, an older HP Spectre X360 laptop displays the following values:
-
Model
-
HPSpectrex360Convertible15-bl0XX
-
-
ModelAlias
-
HP S
-
-
Version
-
(blank)
-
Given the above, the Export-WindowsDriver cmdlet is used to create a driver package, zipped up the resulting folder, and named the zip drivers_HPSpectrex360Convertible15-bl0XX.zip. The .zip file is added to an OS Bundle in the Drivers section. Upon the next imaging of this system, all the necessary drivers are installed at first restart and no extra user input or Windows Update downloads are required to have full hardware functionality.
As you can see, not all of these are relevant for all models. ModelAlias and Version are particularly useful for Lenovo systems, but you may need to inspect all three to find an appropriate choice for your systems.
Non-model-specific drivers
You may also have some drivers that are not model specific, such as docking stations, printers, peripherals that are common in your environment. If you add the drivers for these to a drivers.zip file, and add that to your OS Bundle, these are installed in the operating system at first restart, so these drivers are automatically available for users when they plug in these devices, or connect to these network printers.