# Inject drivers

The **Inject drivers** step definition requires no inputs.  It attemps to automatically find a matching driver pack content item through a series of comparisons (all comparisons are case-insensitve):

1. Look for a match using the MAKEALIAS and MODELALIAS variable values.
2. Look for a match using the MAKE and MODEL.
3. Look for a match with the MAKE and SYSTEMALIAS.
4. Look for a match with the MAKEALIAS and SYSTEMALIAS.

This process is performed first for all "active" driver pack content items, and if no matching driver packs are found, the same series of comparisons is then performed using "in development" driver packs.

{% hint style="info" %}
When using this step in an "in development" task sequence, only driver packs that are marked as "in development" will be considered.
{% endhint %}

The MAKE and MODEL values are straightforward: these are the exact strings retrieved from WMI Win32\_ComputerSystem class.  The other three values are more involved:

* The MAKEALIAS value is set to a normalized model string.  For example, regardless of whether a machine reports "HP," "Hewlett-Packard," "HP, Inc." or "Hewlett-Packard Corporation," the MAKEALIAS value will be set to "HP."  The same goes for "Dell," "Lenovo," "Microsoft," "Panasonic Corporation," "VMware," etc.
* The MODELALIAS is an adjusted value that varies depending on the OEM (make) value.  For example, for Dell computers, it is set to the actual model string from WMI, while for Lenovo machines only the first four characters of the MODEL string are used.
* The SYSTEMALIAS is also set based on OEM-specific behaviors.  But instead of being based on the MODEL string, it is instead typically based on the baseboard product or other identifiers.  For example, a computer with the "HP EliteBook 840 G8 Notebook PC" would have a SYSTEMALIAS value of "8AB3" which groups it with other HP devices that use the same drivers. &#x20;

When specifying "Manufacturer" and "Model" values on a driver pack, any matching values can be used (MAKE or MAKEALIAS; MODEL, MODELALIAS, or SYSTEMALIAS).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.2pintsoftware.com/deployr/reference/step-definitions/inject-drivers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
