Hi @gareyy ,
For first-time enrollment of Windows devices, use the Windows migration package from the Hexnode portal.
Go to Enroll > Windows > Migrate, add the required configuration file, and download the MSI package. The MSI can then be deployed silently using standard MSI silent installation switches, provided it is executed with administrative or system privileges.
Hexnode cannot execute scripts on devices that are not already enrolled. So, if the device does not yet have the Hexnode agent installed, Hexnode policies, custom scripts, or self-service elevation cannot be used to start the enrollment.
In short:
- For unenrolled Windows devices, deploy the generated MSI package.
- The MSI must be run with admin/system privileges.
- Hexnode does not provide a separate script that embeds or supplies the local admin password for first-time enrollment.
- Self-service elevation applies only after the Hexnode agent is already installed and managing the device.
Regarding the MSI size, the installer package size cannot be reduced from the Hexnode side. Since it is delivered as an MSI package, it should be deployed as generated from the portal and installed silently using standard MSI behavior under administrative or system context.
Best Regards,
Isabel Lora
Hexnode UEM