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.

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

Leave a Reply

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