Automatic Enrollment Windows Devices Using Microsoft Intune (setup.exe)

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.exe.

This article covers the deployment of the HP Insights agent using Microsoft Intune using setup.exer.

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 more information, see Obtaining the User Principal Name Domain Suffix.

Downloading Windows Agent Using setup.exe

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 does not contain the file setup.exe. The setup.exe 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 sample batch script file here.

    • Extract the content of downloaded InstallScript.zip. It will contain InstallScript.ps1

    • Open InstallScript.ps1 and replace ENTER_COMPANY_PIN with company pin and save the InstallScript.ps1

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

To convert the HP Insights Windows Application (Setup.exe) 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. Open an Admin command prompt and run the following commands individually to convert the installers to Intunewin format. Replace [folder name] with the local folder where the files are downloaded. (Ensure each downloaded .exe installer file is saved in a separate folder. Also, note that the input and output folder names must be different otherwise an installation error will occur.)

    1. IntuneWinAppUtil.exe -c [folder name] -s HPInsights.exe-o [folder name]

  4. After the files are successfully converted, the following Intunewin files will be present:

    • HPInsights.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 converted to intunewin format above (HPInsights.Intunewin)

  6. Click OK.

  7. On the App Information page, type the following in the respective fields, then click Next:

    • Name: HP Insights Windows Application

    • Publisher:  HP Inc.

    • Version: 3.xx.xxx (replace with the version of the HPInsights.exe file you are deploying)

  8. In the Installation Program, specify the following command making sure to replace the Company PIN with your company-wide PIN:

    • Setup.exe / silent HIDETRAY=True CPIN=XXXXX

    • XXXXX = Company-wide PIN

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: Setup.exe / silent HIDETRAY=True CPIN=XXXXX UPDATEBEFOREENROLL=0

  1. In the Uninstall Program, specify the following command: none

  2. Click Next and go to the Requirements section to specify the requirements that must be fulfilled before the app is installed:

    1. The OS system architecture must be 32 bit and 64 bit.

    2. The Windows 10 version 1067 or above.

  3. To specify the detection rules, 

    • Rules format: Use a custom detection script

    • Script file: Upload downloaded InstallScript.ps1

    • Ensure the below options are selected as No

      • Run script as 32-bit process on 64-bit clients

      • Enforce script signature check and run script silently

  4. Click Next to accept the default settings for Software Dependencies and Supersedence.

  5. In the Assignments section, select the group, user, or devices to be added under the Intune Admin Center app.

  6. Confirm the deployment details, then click Next.

  7. On the completion screen, click Close.

  8. In the Create Application wizard, click Next to proceed.

  9. Confirm the settings, then click Next.

  10. On the completion screen, click Close.

  11. Click Apply, then click OK to close the HP Insights Application Properties.

Verify 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.

Sync 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.

Related Resources

For additional information, refer to the following articles:

Contact Us

For any assistance, create a support case or email [email protected].