Deploying via Intune Using the Setup Method

Prev Next

The focus for this type of installation is aimed at users who are looking to deploy and manage the HP Insights application using cloud-based tools from Intune as well as using the bundled executable Windows files offered by Setup. This article covers the deployment of the HP Insights agent using Microsoft Intune using the setup method.

Follow these steps to deploy the HP Insights Windows Application (also referred to as Windows Agent) using setup.exe and to enroll devices using Microsoft Intune:

  1. Download the HP Insights Windows Agent

  2. Convert Windows Agent with Microsoft Win32 Content Prep Tool

  3. Create an HP Insights Device Application

  4. Verify Installation

  5. Sync the Devices

Before beginning these steps, provide the UPN suffixes to your HP Service Expert or Business Partner. You’ll also need your company-wide PIN from the HP Workforce Experience Platform portal.

For additional information, refer to the article - Obtaining the User Principal Name Domain Suffix.

Downloading Windows Agent Using the Setup Method

To download HP Insights Windows Application:

  1. Download the HP Insights Windows Application from https://workforceexperience.hp.com/software

    • For details about setup.exe, refer to the article - Installing the HP Insights Windows Application

      • The HPInsights.zip or HPInsights-arm64 does not contain the file setup. The setup can be downloaded from - https://workforceexperience.hp.com/software.

      • The HP Insights Analytics Client - Dependencies package cannot be installed on non-HP manufactured PCs, including Virtual Machines.

    • Download the HP Insights application installation powershell scripts file here.

    • Extract the content of downloaded HP-Insights-Installation-Scripts.zip. It will contain hp-insights-detection-and-remediation-script.ps1 and hp-insights-installer-script.ps1.

    • Open both scripts and replace ENTER_COMPANY_PIN with the actual company pin and save.

To configure proxy or update settings for the HP Insights Device Software, create a batch script to add the required registry keys and specify the batch script in the Installation Program. By default, HP Insights will enroll after auto-updating. To enable enrollment without auto-updating add UPDATEBEFOREENROLL=0, like this in hp-insights-installer-script.ps1 at line 15:

$arguments = "/silent HIDETRAY=True CPIN=$PIN_VALUE UPDATEBEFOREENROLL=0"

Converting the HP Insights Windows Application (Setup) with the Microsoft Win32 Content Prep Tool

To convert the HP Insights Windows Application (Setup) to Intunewin format using the Microsoft Win32 Content Prep Tool:

  1. Download the Win32 Content Prep Tool from: https://github.com/Microsoft/Microsoft-Win32-Content-Prep-Tool

  2. Save the IntuneWinAppUtil.exe to a local folder along with the .exe file downloaded earlier.

  3. Place the following downloaded contents in a local folder:

    • setup.exe

    • setuparm.exe

    • hp-insights-detection-and-remediation-script-intune.ps1

    • hp-insights-installer-script.ps1

  4. Open an Admin command prompt and run the following command to convert the installers to Intunewin format. Replace [folder name] with the local folder where the files are downloaded.

    1. IntuneWinAppUtil.exe -c [folder name] -s hp-insights-installer-script.ps1 -o [folder name]. Ensure that the input and output folder names are different otherwise an installation error will occur.

  5. After the files are successfully converted, the following Intunewin file will be shown:

    hp-insights-installer-script.intunewin

Creating an Application in Intune

To create a new Intune application package to install HP Insights Windows Application:

  1. Log into the Azure portal. The Home page is displayed.

  2. Go to Microsoft Intune Admin Center.

  3. Select Client Apps, then go to Apps.

  4. Click Add and select Windows App (Win32).

  5. Click Select app package file, then select the HP Insights Installer Script converted to intunewin format above (hp-insights-installer-script.Intunewin)

  6. Click OK.

  7. On the App Information page, enter the following, then click Next:

    • Name: HP Insights Windows Application

    • Publisher:  HP Inc.

    • Version: 5.xx.xxx (replace with the version of the setup file that you are deploying).

  8. On the Program page, in Install command, enter

    powershell.exe -ExecutionPolicy Bypass -File .\hp-insights-installer-script.ps1

  9. Enter the Uninstall command as None.

  10. Click on Review + save.

  11. In the Requirements tab,

    1. In Check operating system architecture,

      1. Select Yes. Specify the systems the app can be installed on.

      2. Select Install on x64 system

      3. Select Install on ARM64 system

        Note: Use this option only if the target devices are on ARM platform.

      4. Select Minimum operating system as per target environment. For example: Windows 10 1607

  12. Click on Review + save.

  13. In the Detection rules tab, select Rules format as “Use a custom detection script.”

  14. Open the Script file  hp-insights-detection-and-remediation-script-intune.ps1 downloaded earlier.

  15. Click on Review + save.

  16. In the Review + save tab.

  17. Click Save.

Deploying an Application in Intune

  1. In the Assignments Section, click the Edit option.

  2. In the Assignments tab, go to the Required section and select Add group, Add all users, or Add all devices as per deployment strategy and target.

  3. For Silent Installation, click Show all toast notifications under End user notifications.

  4. In the End user notifications, select Hide all toast notifications, and click OK.

  5. Click Review + save.

  6. In the Review + save tab, click Save.

Verifying Installation

HP Insights Windows Application installation can also be verified on the target computer. To verify the deployment on the target computer:

  1. On the end-user computer, open Program and Features in the Control Panel. HP Insights and HP Insights Analytics Client should be installed.

  2. If the system tray icon was not hidden during the deployment, click the HP Insights system tray icon and select Status.

  3. The Device enrollment status should show as Enrolled.

Syncing Devices

  1. In the Microsoft Intune, open the Settings app.

  2. Click Accounts.

  3. Choose Access work or school.

  4. Click on your domain name and click Info.

  5. On the bottom of the page, click Sync.

Important: If the customer or IT Administrator is enforcing strict PowerShell execution policies (such as AllSigned, RemoteSigned, or other restricted execution policies), the provided uninstall PowerShell script hp-insights-detection-and-remediation-script-intune.ps1 and hp-insights-installer-script.ps1 must be digitally signed before deployment. In such environments:

  • The IT Administrator must sign the provided PowerShell uninstall script with an approved code-signing certificate.The signed script must be used when configuring the application deployment in Intune or SCCM.

  • The IT Administrator must ensure that the corresponding code-signing certificate (or its issuing CA certificate) is present in the Trusted Root Certification Authorities or Trusted Publishers store under the Local Computer certificate store on all target devices.

  • Failure to meet these requirements may result in the uninstall script being blocked by the system execution policy.

Contact Us

For any assistance, create a support case or email support@wxp.hp.com.