Forum Discussion
Intune and PSADT v4.x
Your package is using exit code 1618 as a planned one-hour deferral, but Intune interprets a Retry code as a short transient installation failure. For a Win32 app, the Intune Management Extension retries a Retry return code three times, waiting five minutes between attempts, so the scheduled task will still be pending and those retries will be consumed well before the hour ends. Reserve 1618 for a genuine installer-busy condition. If installation completed and only a restart is pending, return the code you mapped as Soft reboot, normally 3010. If the user is truly deferring installation, use one PSADT deferral path and a distinct custom code whose Intune mapping and detection logic reflect that state; do not have Intune and an independent scheduled task compete to own the install. Test Required and Available assignments separately, and confirm the detection rule changes only after the package has actually completed.