Hi,
This pattern is more common than it should be, and in most cases it isn’t the installer itself, it’s how the Intune Management Extension (IME, sometimes referred to as the Sidecar Agent) is orchestrating the install context. When you see “Unknown Error” with no obvious logs, I’d start by pulling the IME logs from C:\ProgramData\Microsoft\IntuneManagementExtension\Logs, particularly IntuneManagementExtension.log and AgentExecutor.log, they usually contain more detail than Event Viewer.
A frequent root cause is context mismatch: Intune runs installs under SYSTEM by default, while your manual test likely runs under a user context, so dependencies (like user profiles, mapped drives, or permissions) can behave differently. I’d also double-check your detection rules, if they’re too strict or misaligned, Intune can report a failure even when the install actually succeeded.
Another angle is timing and environment readiness; on that 10% of devices, you may be hitting transient states (pending reboots, locked files, or security controls like AV/EDR blocking execution silently). Enabling verbose logging in your installer (if supported) and wrapping the install command in a logging script can help surface what Intune itself doesn’t expose.
If you want a more deterministic approach, consider testing the package using PsExec (SYSTEM context) locally to replicate Intune behavior more closely. That often reveals gaps that don’t show up in standard manual runs.
If this helped you move forward, feel free to hit “Accept Answer”
Jason