This installation method is for organizations that deploy and manage the WXP Insights Agent through Microsoft Intune by using the executable files included with Setup.
This article provides guidance deploy the WXP Insights agent for Windows using Single Installer and to enroll devices using Microsoft Intune:
Before beginning these steps, provide the UPN suffixes to your HP Service Expert or Business Partner and obtain your Company PIN from WXP.
For additional information, refer to the article - Obtaining the User Principal Name Domain Suffix.
Procedure
To successfully deploy WXP Insights agent for Windows using Single Installer and to enroll devices using Microsoft Intune, follow the below steps:
Step 1: Downloading WXP Insights Agent Using the Single Installer (.exe) Method
To download WXP Insights Windows agent:
Download the agent from the Download WXP Insights Agent Software page.
For detailed guide, refer to the article - Installing the WXP Insights Agent for Windows using Single Installer.
Download the WXP Insights agent installation PowerShell scripts file here.
Extract the content of downloaded WXP-Insights-Installation-Scripts.zip. It will contain
wxp-insights-detection-and-remediation-script.ps1andwxp-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 WXP Insights Device Software, create a batch script to add the required registry keys and specify the batch script in the Installation Program. By default, WXP Insights will enroll after auto-updating. To enable enrollment without auto-updating add UPDATEBEFOREENROLL=0, like this in wxp-insights-installer-script.ps1 at line 15:
$arguments = "/silent HIDETRAY=False CPIN=$PIN_VALUE UPDATEBEFOREENROLL=0"
Note:
For WXP Insights agent version 5.26.114 onwards, the file names are updated as follows:
setup.exe→WXPInsights.exe
setuparm.exe→WXPInsights-arm.exeIf you want to use any agent before 5.26.114, the
wxp-insights-installer-scriptfile that containsWXPInsights.exeandWXPInsighs-arm.exemust be changed tosetup.exeandsetuparm.exe.For version 5.26.63 (and prior version), download the scripts file from here.
The file includes
setup.exeandsetuparm.exeas the installer files.
Step 2: Converting the WXP Insights Agent (Single Installer (.exe)) with the Microsoft Win32 Content Prep Tool
To convert the WXP Insights agent for Windows (Setup) to Intunewin format using the Microsoft Win32 Content Prep Tool:
Download the Win32 Content Prep Tool from: https://github.com/Microsoft/Microsoft-Win32-Content-Prep-Tool.
Save the
IntuneWinAppUtil.exeto a local folderC:\Tool\.For creating two Intune packages, one for Intel and another one for Arm, place the following downloaded contents in two local folders:
Local Folder 1 => IntelPkg (C:\Intune\IntelPkg)
Single Installer
wxp-insights-detection-and-remediation-script-intune.ps1
Rename wxp-insights-installer-script.ps1 to wxp-insights-installer-intel.ps1
Note: For WXP Insights Agent versions 5.26.114, the executable file is renamed from
setup.exetoWXPInsights.exeThe following file names are also updated:
hp-insights-detection-and-remediation-script-intune.ps1→wxp-insights-detection-and-remediation-script-intune.ps1hp-insights-installer-intel.ps1→wxp-insights-installer-intel.ps1
Local Folder 2 => ArmPkg (C:\Intune\ArmPkg)
setuparm.exe
wxp-insights-detection-and-remediation-script-intune.ps1Rename
wxp-insights-installer-script.ps1towxp-insights-installer-arm.ps1Note: For WXP Insights Agent versions 5.26.114, the executable file is renamed to
WXPInsights-arm.exefromsetuparm.exeThe following file names are also updated:
hp-insights-detection-and-remediation-script-intune.ps1→wxp-insights-detection-and-remediation-script-intune.ps1hp-insights-installer-arm.ps1→wxp-insights-installer-arm.ps1
Open an Admin command prompt.
Navigate to
C:\Toolfolder and run the following command to convert the installers to Intunewin format.Ensure that the names of input and output folder are different to prevent installation error. Run the following two commands to create Intune packages:
Option A -
IntuneWinAppUtil.exe -c "C:\Intune\IntelPkg" -s wxp-insights-installer-intel.ps1 -o "C:\Intune Output"Option B -
IntuneWinAppUtil.exe -c "C:\Intune\ArmPkg" -s wxp-insights-installer-arm.ps1 -o "C:\Intune Output"
After the files are successfully converted, the following Intunewin files are shown:
wxp-insights-installer-intel.intunewinandwxp-insights-installer-arm.intunewinNote:
Follow Option A only to deploy WXP Insights Single Installer (.exe) on Intel Devices.
Follow Option B only to deploy WXP Insights Single Installer (.exe) on Arm Devices.
Follow both Options A and B to deploy WXP Insights Single Installer (.exe) on both Intel and Arm Devices.
Option A - Creating an Application in Intune for Intel Devices
To create a new Intune application package to install WXP Insights Agent for Windows:
Log into the Azure portal. The Home page is displayed.
Go to Microsoft Intune Admin Center.
Select Client Apps, then go to Apps.
Click Add and select Windows App (Win32).
Click Select app package file, then select the WXP Insights Installer Script converted to intunewin format above
hp-insights-installer-intel.IntunewinClick OK.
On the App Information page, enter the following, then click Next:
Name: WXP Insights Windows Application
Publisher: HP Inc.
Version: 5.xx.xxx (replace with the version of the setup file that you are deploying).
On the Program page, in Install command, enter
powershell.exe -ExecutionPolicy Bypass -File .\wxp-insights-installer-intel.ps1Enter the Uninstall command as None.
For uninstallation, refer to article - Uninstalling the WXP Insights Agent for Windows with SCCM or Microsoft Intune
Click on Review + save.
In the Requirements tab,
In Check operating system architecture,
Select Yes. Specify the systems the app can be installed on.
Select Install on x64 system
Select Minimum operating system as per target environment. For example: Windows 10 1607
Click on Review + save.
In the Detection rules tab, select Use a custom detection script > Rules Format.
Open the Script file
wxp-insights-detection-and-remediation-script-intune.ps1downloaded earlier.Click on Review + save.
In the Review + save tab.
Click Save.
Option B - Creating an Application in Intune for Arm Devices
To create a new Intune application package to install WXP Insights agent for Windows:
Log into the Azure portal. The Home page is displayed.
Go to Microsoft Intune Admin Center.
Select Client Apps, then go to Apps.
Click Add and select Windows App (Win32).
Click Select app package file, then select the WXP Insights Installer Script converted to intunewin format above
wxp-insights-installer-arm.IntunewinClick OK.
On the App Information page, enter the following, then click Next.
Name: WXP Insights Windows Application
Publisher: HP Inc.
Version: 5.xx.xxx (replace with the version of the setup file that you are deploying).
On the Program page, in the Install command, enter
powershell.exe -ExecutionPolicy Bypass -File .\wxp-insights-installer-arm.ps1Enter the Uninstall command as None.
For uninstallation, refer to article - Uninstalling the WXP Insights Agent for Windows with SCCM or Microsoft Intune
Click Review + save.
In the Requirements tab, in Check operating system architecture,
Select Yes. Specify the systems the app can be installed on.
Select Install on ARM64 system.
Select Minimum operating system as per the target environment. For example, Windows 11 24H2
Click Review + save.
In the Detection rules tab, select Rules format as “Use a custom detection script.”
Open the Script file
wxp-insights-detection-and-remediation-script-intune.ps1downloaded earlier.Click Review + save.
In the Review + save tab, click Save.
Steps for General Application Deployment in Intune
Open Intune application created in Option A and Option B one by one. In the Assignments section, click the Edit option.
In the Assignments Section, go to the Required section and select Add group, Add all users, or Add all devices as per deployment strategy and target.
For Silent Installation, click Show all toast notifications under End user notifications.
In the End user notifications, select Hide all toast notifications, and click OK.
Click Review + save.
In the Review + save tab, click Save.
Verifying Installation
WXP Insights agent for Windows installation can also be verified on the target computer. To verify the deployment on the target computer:
On the end-user computer, open Program and Features in the Control Panel. WXP Insights and WXP Insights Analytics Client should be installed.
If the system tray icon was not hidden during the deployment, click the WXP Insights system tray icon and select Status.
The Device enrollment status should show as Enrolled.
Syncing Devices
In the Microsoft Intune, open the Settings app.
Click Accounts.
Choose Access work or school.
Click on your domain name and click Info.
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 wxp-insights-detection-and-remediation-script-intune.ps1 and wxp-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.