Skip to content
HP driver, Proactive Remediations
Home » HP drivers with Intune and Proactive Remediations

HP drivers with Intune and Proactive Remediations

For many HP devices, not all drivers or updates for these come via the Windows Update channel. To carry out the installation, HP offers the «HP Image Assistant». This searches for specific devices compatible and necessary drivers, firmware and software. Fortunately, the tool can also be invoked from the command line. This gives us the opportunity to make the installation more granular and not have to install any HP software, for example.
To simplify the process, I created an Intune Win32 app and a Proactive Remediations package, which checks for HP driver updates at a desired interval and installs / updates them if necessary.

Table of Contents

Installing the HP Image Assistant

In order to be able to initiate the check via Proactive Remediations, the HP Image Assistant must first be installed. I have provided you with a finished Win32 package on GitHub.

If you want, you can of course also adjust this. If a simple installation is enough for you, all you need is the «install.intunewin» file.

Create filters for HP devices

Before we start distribution, let's create a filter for HP devices.
You do this under: Tenant Administration > Filters

We give the filter a meaningful name and select "Windows 10 and later" as the platform.

HP filters

As a filter rule, we only use the manufacturer "HP". To check the filter, you can click on the preview of the filter.
(device.manufacturer -eq "HP")

HP filter rule and test

After clicking on Next and Create, the creation of the filter is already complete. We will need this again later to install the "HP Image Assistant" only on HP devices.

Upload HP Image Assistant to Intune

For distribution with Intune you navigated to «Apps > Windows», choose «+Add» and «Windows app (Win32)».

Add Intune, win32 app

In the "App information" you fill in the name, the description and the publisher. I have also made a logo available to you on GitHub.

Intune app information, HP Image Assistant

In the next steps you will add the installation parameters as listed below and set the requirements.

Install command%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -command .\install.ps1
Uninstall command%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -command .\uninstall.ps1
Install command
Request win32

For the detection rule, you add a manual one with the following parameters:

File exists:

  • C:\Program Files\HPImageAssistant\
  • HPImageAssistant.exe
Detection rule

You can skip the "Dependencies" and "Supersedence" step.

In the assignment you now assign a target group. This can also include all devices. However, we also use the filter to ensure that only HP devices receive the program.

filters application

Create Proactive Remediations package

With the installation of the "HP Image Assistant" we have fulfilled the requirements and can create the Proactive Remediations package.

If you do not have a Windows Enterprise or Education license, you cannot use this function.
I'll show you an alternative here: "Proactive Remediation for Business" | scloud

As usual, I saved the scripts on GitHub for you:

First you need to create a new PR package:
Reports > Endpoint analytics > Proactive remediations + Create script package

You give this a name.

Proactive Remediations package, HP Driver Update

Then you upload the detection and remediation script.
Drivers and firmware updates are installed in my template, if you only want drivers, you can simply enter the "Drivers" in the 4th line of the two scripts.

Proactive Remediation scripts

In the assignment, you select a group and also define the interval for checking this.
I chose to do this every 14 days. If the device is not running at this time, the script will be executed at the next start.
In addition, we apply the filter for the HP devices here as well.

Proactive Remediation Schedule
Filters, HP devices

That's it, now the drivers of your HP devices are regularly updated via Endpoint Manager / Intune.

13 thoughts on “HP Treiber mit Intune und Proactive Remediations”

  1. Hallo Florian

    Erst einmal Gratulation und herzlichen Dank für deinen Blog. Es ist immer wieder toll neue Inputs oder andere Ansätze zu lesen, danke!

    Ich habe eine Frage bez. dem Updatemanagement des "HP Image Assistant" selbst. Gefühlt steht bei jedem zweiten (manuellen) Start des Tools ein Update bereit. Schön (und einfach) wäre ja gewesen, HPIA z.B. über Winget auszurollen, aber da ist das Repo leider leer. Hast du eine andere Idee oder einen anderen Ansatz, als einfach von Zeit zu Zeit die neue Version selbst hochzuladen und auszurollen?

  2. ...ok, da hätte ich nun doch selbst einen Vorschlag 🙂

    Im PS Modul HPCMSL (genauer im Modul HP.Softpaq) steckt die Funktion Install-HPImageAssistant.

    "This function figures out the latest version of HPIA and downloads the SoftPaq. If -Extract is not used, the SoftPaq is only downloaded."

    Es lässt sich also auch eine Remedation Routine schreiben (oder die vorhandene Routine ergänzen) um auch da auf dem aktuellen Stand zu bleiben...

  3. Hello Florian,

    thanks for the all the information and the effort into putting it all together.
    This could save a lot of time comparing it to the driver deployment via Configuration Manager.
    Is this suitable for Hybrid-Joined devices for Auto-driver deployment?

    Thanks,

  4. Hi Florian,

    thanks for the guide and your work.

    A question regarding the .wim-file you have provided in your GitHub so I understand it correctly. Does that include all the other files such as the PS-scripts, detection.txt etc etc?

    I tried creating my own .wim file since there was a new relase of the HP Image Assistant but then I couldn't use the installation command you had provided. I only used the hp-hpia-5.1.8.exe file downloaded from HP when creating the .wim-file.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_USEN
de_CH DE
de_CH DE
en_US EN
Exit mobile version