Automatic Enrollment of Windows Devices Using Microsoft SCCM (setup.exe)

Prev Next

Introduction

The HP Insights Windows Application (also referred to as the Windows Agent) for the HP Workforce Experience Platform (WXP) can be deployed using Microsoft System Center Configuration Manager (SCCM) with the setup.exe installer method. This approach is ideal for organizations managing installations across multiple devices, as it uses the bundled executable files provided by setup.exe to streamline deployment and configuration. Using setup.exe also enables you (IT administrators) to maintain consistency and control across deployments with minimal user interruption.

This article provides a step-by-step guide to deploy Windows Agent with SCCM (setup.exe): 

  1. Provide the UPN suffixes to the designated HP Service Expert or Business Partner

  2. Obtain the company PIN:

    1. Log in to WXP. From the left menu, click Settings > Preference.

    2. On the Preferences tab, scroll to the Company PIN section and copy the pin.

  3. Download the Windows Agent

  4. Create an application in SCCM

  5. Distribute the application content to distribution points (DPs)

  6. Deploy the platform's application with SCCM

  7. Verify the deployment

Note: The instructions are for Microsoft System Center Configuration Manager (SCCM) v.1902 but may also apply to newer versions of SCCM.

Download the Windows Application (setup.exe)

  1. Download and install the Windows Agent from https://workforceexperience.hp.com/software

  2. Save the contents of the .zip file to a location accessible by SCCM.

    1. For detailed instructions, refer to the article - Install Windows Agent Using setup.exe.

  3. Installation packages:

    • Minimum supported .NET Framework 4.6.2 

    • Microsoft VC++ redistributable package (x86)  

    • HP insights Application (HPInsights.msi)

    • Microsoft VC++ redistributable package (x86) is a pre-requisite to HP Insights Application

    • Microsoft VC++ redistributable package (x64) 

    • HP Insights Analytics - Dependencies (HPInsightsAnalyticsDependencies.msi)

    • HP Insights Analytics Package (HPInsightsAnalytics.msi)

      • Must be installed with Microsoft VC++ redistributable package (x64), HP Touchpoint Analytics Client - Dependencies and Manager Application, in that order. 

Note: The HP Touchpoint Analytics Client dependencies package cannot be installed on non-HP manufactured PCs, including virtual machines.

Create an Application in SCCM

  1. Log into the SCCM Admin Console and start the Create Application Wizard.

  2. In the SCCM Admin Console, click Software Library.

  3. In the Software Library workspace, click Application Management > Applications > Create Application. 

  4. Select Manually specify the application information.

  5. Click Next.

  6. Type the following in the respective fields, click Next, and enter the following details:

    • Name: Windows Application

    • Publisher:  HP Inc.

    • Version: 5.xx.xxx (replace with the version of the .exe file being deployed)

  7. Click Next to accept the defaults for the Application Catalog entry.

  8. Click Add to create a new Deployment Type and select Script Installer.

  9. Manually specify the deployment type information, which will automatically be selected.

  10. Click Next.

  11. Type “Windows Application silent install” as the name for the Deployment Type.

  12. Click Next

  13. In the Content Location, specify the Network path (UNC name) to the .exe file.

  14. In the Installation Program, specify the following command by replacing XXXXX with the actual Company Pin:

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

    2. XXXXX = Company-wide PIN

    3. To configure the proxy or update settings for the software, create a batch script to add the required registry keys and specify the batch script in the Installation Program. "HIDETRAY=True" is an optional switch but is recommended by HP.

    4. By default, the platform will enroll after auto-updating. To enable enrollment without auto-updating, add UPDATEBEFOREENROLL=0, like this:

      1. Setup.exe / silent HIDETRAY=True CPIN=XXXXX UPDATEBEFOREENROLL=0 

  15. In the Uninstall Program, specify the following command: powershell.exe -executionpolicy bypass -windowstyle hidden -noninteractive -nologo -file "Uninstall.ps1"

  16. Select the checkbox for Run installation and uninstall the program as a 32-bit process on 64-bit clients.

  17. Click Next.

  18. To specify the detection rules, click Add Clause and enter the following rules to detect the existence of the client binaries, then click OK.

  19. Click Next to proceed and update the following:

    • Setting Type: File System

    • Path: %ProgramFiles(x86)%\Hewlett-Packard\HP Touchpoint Manager\Agent

    • File or folder name: LHAgent.exe

    • Select the check box for "This file or folder is associated with a 32-bit application on 64-bit systems."

    • Select the check box for “The file system setting must exist on the target system to indicate the presence of this application.”

  20. To specify the User Experience settings, select the below settings and click Next.

    • Installation behavior: Install for system

    • Logon requirement: Whether a user is logged on

    • Installation program visibility: Hidden

    • Maximum allowed run time (minutes): 20

  21. Click Next to accept the defaults for software dependencies.

  22. Confirm the deployment details and click Next.

  23. When the completion screen is displayed, click Close.

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

  25. Confirm the settings and click Next.

  26. When the completion screen is displayed, click Close.

Modify the platform's Windows application settings

To modify the application settings before copying the package to SCCM distribution points:

  1. Go to the left column of the SCCM Admin Console, click Software Library > Application Management > Applications.

  2. In the right menu, right-click the new Windows application and click Properties.

  3. Select the Distribution Settings tab, then select Automatically download content when packages are assigned to distribution points.

  4. Click OK.

  5. Click Apply, then OK to close the application properties.

Distribute the Application Content to Distribution Points (DPs) 

  1. In the left column of the SCCM Admin Console, click Software Library > Application Management > Applications.

  2. In the right menu, right-click the new Windows Application > Distribute Content.

  3. In the Distribute Content Wizard on the General page, click Next.

  4. Review the content to distribute and click Next.

  5. When a meter appears showing distribution progress, review the actions taken, and click Close.

Verify content status on distribution points

In large environments where DPs are geographically dispersed, it is best practice to verify the content status before deploying the platform's Windows application. To verify the content status:

  1. In the SCCM Admin Console, click Monitoring > Distribution Status > Content Status.

  2. Right-click the Windows Application, then click View Status.

  3. Verify the package has been successfully copied to all DPs before proceeding.

Deploy Windows Agent with SCCM

  1. In the left column of the SCCM Admin Console, click Software Library > Application Management> Applications.

  2. In the right menu, right-click the new Windows Application.

  3. In the Deploy Software Wizard, click Browse next to Collections.

  4. Select the Device Collection(s) to which the package is deployed.

  5. Click OK, then click Next.

  6. Click Next to accept the content destination settings.

  7. Select Required for the Windows application; click Next.

  8. To accept the default deployment schedule and deploy as soon as possible after the available time, click Next; otherwise, specify a schedule for the deployment as needed.

  9. Select the following User Experience setting.

    1. User notifications: Hide in Software Center and all notifications

  10. Click Next.

  11. To accept the default alert options, click Next.

  12. Confirm the settings for the deployment and click Next.

  13. Review the actions taken, then click Close

Verify the Deployment of Windows Agent

Check the date and time of the application deployment. To verify:

  1. In the left column of the SCCM Admin Console, click Monitoring > Deployments.

  2. In the search field at the top, type Windows application. Click the Windows application deployment in the search results. A graph will appear at the bottom right, showing the number of computers from the SCCM collection with the software installed. Statuses include:

    • Successful

    • Not Installed

    • Error

    • Unknown state: This means that the computers have most likely not connected to SCCM to receive the Windows application deployment package yet

The platform's 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; the platform and HP Touchpoint Analytics Client should be installed.

  2. If the system tray icon was not hidden during the deployment, click the system tray icon and select Status; the device enrollment status should show as Enrolled.

Related Resources

For additional information, refer to the following articles:

Contact Us

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