Hello @it_christo ,
Yes. For this type of one-time executable, deploying it as a Windows Enterprise App is not the best option because Enterprise App deployment requires Success Criteria to verify whether the app was installed successfully.
Success Criteria can be an App Identifier, Registry Path, or Install Path. If the EXE does not create a persistent registry entry, installed application record, or file path, Hexnode UEM cannot reliably confirm the installation status. In that case, the deployment may be marked as failed even if the executable ran.
Use a Script policy instead:
- Host the EXE on a server or cloud storage location that the target Windows devices can access.
- Go to Policies > [Create a new policy] > Windows > Configurations > Scripts.
- Add a PowerShell or batch script that downloads the EXE to the device and runs it.
- Associate the policy with the Windows devices that should run the cleanup tool.
For example, a PowerShell script can follow this structure:
$sourceUrl = “https://<server>/AgentCleanupToolClient.exe”
$localPath = “$env:TEMP\AgentCleanupToolClient.exe”
Invoke-WebRequest -Uri $sourceUrl -OutFile $localPath
Start-Process -FilePath $localPath -ArgumentList “<silent-arguments-if-any>” -Wait
If the executable does not require silent arguments, remove the “-ArgumentList” portion or replace it with the correct arguments recommended by the vendor.
This approach runs the EXE directly on the Windows device and does not require Enterprise App Success Criteria.
Regards,
Simon Scott
Hexnode UEM