If Intune Management Extension detects that the process it has initiated runs longer than this hard-coded value, it will stop monitoring it and deem that it failed. The script was amended this way due to the fact that Win32 apps in Intune are only allowed to execute for 60 min. More on how this works can be read further down in this blog post, when packaging and creating the Win32 apps. In the below screenshot, you can see that the script has been created as two separate Win32 apps, one for Download and one for Install:
With this change of the script and how it operates, it’s required for performing both Download and Install actions, specifically in that order, to create two Win32 apps and make use of dependencies. For this mode, it’s required that the script has already been executed in Download mode prior to execution.
Save it as Invoke-HPDriverUpdate.ps1 in e.g. Download the scriptĭownload the following script from our GitHub repository: This method can easily be a part of a regular User Driven provisioning but also fits perfect with White Glove provisioning flows with Autopilot.
The idea here, using Bruce’s original idea, is to use the HPCMSL PowerShell module to download and run HP Image Assistant to download and apply the required drivers and driver software applicable for the current device that’s being provisioned. I’ve taken Bruce’s approach and expanded it into a fully fledged script version with extended logging and a single script file instead of multiple. But what if we could actually control this, using the tools available from HP? That’s what this blog post is going to cover.īefore we dig into how we can accomplish that, I want to shout out to Bruce Sa who originally came up with the idea behind the method that I’ll be sharing in this post. We’re currently in the hands of HP to provide the drivers injected into the image that’s shipped on the device.
Managing drivers when provisioning Windows 10 device using Autopilot, there’s currently not any native built-in functionality in Microsoft Intune to ensure the device is provided to the end-user with the latest and greatest drivers available from the manufacturer, in this case HP.