Automatic Enrollment of Windows Devices Using Microsoft Active Directory GPO (setup.exe)

Prev Next

Organizations managing a fleet of Windows devices often need a reliable and scalable way to deploy monitoring and telemetry tools without manual intervention. Automating the installation of the HP Insights Windows Application (also referred to as the Windows Agent) ensures consistent enrollment with the Workforce Experience Platform (WXP), improves visibility into device performance, and reduces administrative overhead.

This article provides a step-by-step guidance to deploy Windows Agent using setup.exe installe and Microsoft Active Directory, the standard directory service used for Group Policy Objects. This deployment method is ideal for IT administrators who want to automatically install the Windows Agent using a predefined task execution template provided by Group Policy, leveraging the bundled Windows executable files in setup.exe.

This automatic deployment method uses an Install.CMD batch script to check if the Windows Agent is installed when devices start up. The script enables devices to run setup.exe over the network. The software is then copied from the network and installed automatically via Group Policy. When users sign in to their devices, the devices automatically enroll with Workforce Experience Platform services.

Note: Devices must be connected to the internet to enroll with WXP. Users must also have permission to install software; otherwise, the agent may not install correctly.

Downloading Windows Agent using setup.exe

To download the Windows Agent:

  1. Download the Windows Agent for WXP using setup.exe installer and dependencies.

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

Creating an Application in GPO

To create a Group Policy Object (GPO) for silent installation of Windows Agent:

  1. Create an Install.CMD batch script file.

    1. For additional information, refer to the article - Automatically Enroll Windows Devices Using an Install.CMD Batch Script File

  2. On an AD Domain Controller, open a command prompt, and type gpmc.msc to open the AD Group Policy Management console.

  3. Right-click the domain name, and select Create a GPO in this Domain, and Link It Here.

  4. Name the Group Policy Object HP Insights for Windows Application Auto Install from Step 3.

  5. Right-click the new GPO HP Insights for Windows Application Auto Install, and select Edit.

  6. Select Computer Configuration > Windows Settings > Scripts (Startup/Shutdown) > Startup.

  7. In the Startup Properties dialog box, select Show Files.

  8. Copy the Install.CMD batch file into the folder. A dialog box titled Startup Properties is displayed.

  9. In the Startup Properties dialog box, select Add, browse to the location, and select the Install.CMD file.

  10. Select OK to close the dialog box.

Devices will receive Group Policy Updates during the next refresh interval.

Note: When deploying HPInsights.msi via Group Policy Object (GPO), ensure that client devices have administrative privileges.

Related Resources

Contact Us

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