Australian cloud for business software — built and run in Sydney since 2002

NetLeverage
NetLeverage

Intune ESP timeout during app deployment: EnrollmentStatusTracking

Technical article
Troubleshooting

About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.

The Enrolment Status Page (ESP) can time out while required apps install during Windows Autopilot or Entra join OOBE. Microsoft states that ESP time-out during app deployment usually occurs because the time-out value in the ESP profile is not enough for all required apps, and that app deployment failures can cause ESP to time out. From Windows 10 version 1903, EnrollmentStatusTracking records Win32 and related install state under:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Autopilot\EnrollmentStatusTracking

What the symptom means

  • ESP stays on Device setup / Apps until the profile timeout.
  • Users may be offered Collect logs if that ESP policy option is enabled.
  • Registry InstallationState values Microsoft documents for Win32 apps: 1 NotInstalled, 2 InProgress, 3 Completed, 4 Error. If any app is 4, ESP stops installing further applications.

Prove the cause before changing anything

These steps only read.

1. In OOBE (non-S mode), open a command prompt with Shift+F10 when available.

2. Collect diagnostics (user-driven example on Windows 10 1809+):

mdmdiagnosticstool.exe -area Autopilot -cab C:\EspAutopilot.cab

For self-deploying / physical TPM scenarios Microsoft documents:

mdmdiagnosticstool.exe -area Autopilot;TPM -cab C:\EspAutopilotTpm.cab

3. From the CAB, open MDMDiagReport_RegistryDump.Reg. Note ESP settings under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enrollments\{EnrollmentGUID}\FirstSync.

4. Inspect Win32 tracking under ...\EnrollmentStatusTracking\Device\Setup\Apps\Tracking\Sidecar\Win32App_*. Write down, in a note you keep with the change record (for example esp-timeout-apps.txt): each AppID, InstallationState, whether any value is 4, the ESP timeout from FirstSync / policy, and today’s date.

5. Optional (description only): Microsoft shows diagnosing CAB files with Get-AutopilotDiagnostics -CABFile <path> after installing the script via Install-Script -Name Get-AutopilotDiagnostics -Force. Installing that script from the PowerShell Gallery is a changing step; run it only under your organisation’s script-install process, not as part of this read-only list.

Fix

App stuck at InstallationState 4 — description

Microsoft: if the value of InstallationState for any app is 4, ESP stops installing applications; the Intune Management Extension log file holds the cause. Our own advice after that log is read: correcting the Win32 app content, detection rules, or requirements in Intune is a separate change, then another provisioning attempt on a device that is ready for it.

Increase ESP timeout when apps are only InProgress

If every tracked app stays at 1 or 2 until timeout, Microsoft’s usual explanation is that the ESP timeout is too short for the number of required apps (their example: five minutes with more than fifteen apps).

Write down, in a note you keep with the change record (for example esp-timeout-policy-before.txt): the current ESP profile name, the exact timeout value, the list of required apps, and today’s date.

Risk: the next change lengthens how long ESP blocks the desktop. Users wait longer when an app is genuinely hung; a mistyped policy can apply to more devices than intended until you set the timeout back to the value you wrote down.

Our own reading: in Microsoft Intune, edit the Enrolment Status Page profile and set the timeout high enough for the required app set, assign it to the correct group, then retry Autopilot. ESP policy is set on a device at the time of enrolment.

To undo it: set the ESP timeout back to the exact value recorded in esp-timeout-policy-before.txt on the same profile.

Disable user ESP with OMA-URI only when policy requires

Microsoft documents a custom OMA-URI to skip the user ESP. ESP policy is set on a device at the time of enrolment, so this setting applies to devices that enrol after the profile is assigned.

Write down, in a note you keep with the change record (for example esp-skipuser-before.txt): whether SkipUserStatusPage was configured, the assignment groups, and today’s date.

Risk: the next policy hides the user ESP phase. Our own reading: account-setup apps may install without the blocking UI, and users can reach the desktop before user-targeted apps finish.

In Microsoft Intune, create a custom configuration profile with these fields from Microsoft’s page:

  • Name: a name you choose (Microsoft’s example uses Disable User ESP)
  • Description: optional
  • OMA-URI: ./Vendor/MSFT/DMClient/Provider/MS DM Server/FirstSyncStatus/SkipUserStatusPage
  • Data type: Boolean
  • Value: True

Assign the profile to the intended group, then enrol a pilot device.

To undo it: remove that OMA-URI setting or set it back to the prior state recorded in esp-skipuser-before.txt (absent means delete the custom setting).

Confirm the fix

  1. ESP completes with all required apps at InstallationState 3.
  2. No AppID remains at 4 in Sidecar tracking.
  3. A pilot device finishes OOBE inside the new timeout without Collect logs.

What to watch afterwards

  • ESP does not wait on PowerShell scripts; do not use ESP completion to sequence script-then-app dependencies.
  • Reboots during device ESP must be managed by Intune return codes.
  • Hardware securing failures (0x800705b4) occur before app tracking matters.

Risks and limits

These steps have not been lab-tested.

Registry paths above are for diagnosis; do not delete EnrollmentStatusTracking keys to “force” success. Resetting a device to retry Autopilot is destructive—use only with wipe approval.

Sources