Event details
Hey guys 👋
We use Autopilot v1 with Device and User ESP. We have almost finished migrating our apps from CM to Intune. The one showstopper is that sometimes our app deployment team need to set an app to required deployment but without it impacting Autopilot.
Appreciate Autopilot has a "blocking apps" feature, but that just seems to stop Autopilot tracking the app install - it doesn't stop the app from installing while Autopilot is still running? (if I've understood it right).
What's the best way of making a required app wait until Autopilot has finished please? From asking this question before, someone suggested the OOFHOURS script below:
https://oofhours.com/2023/09/15/detecting-when-you-are-in-oobe/ - checks for DefaultUser0, so this would only stop required apps deployed to device (in Device ESP) not user (in User ESP)?
Our apps team since found this one:
https://github.com/okieselbach/Intune/blob/master/Detect-ActiveESP.ps1 - checks for ESP, would that pick up both Device and User ESP?
Just wondering if scripts are still the way to go, or if there are any Intune native options yet please?
- Jason_SandysAug 20, 2026
Microsoft
Hi HeyHey16K.
For Win32 apps, only those set as "blocking" (and that are required) will install during ESP in Windows Autopilot. Required apps not configured as "blocking" will be postponed until after Autopilot completes and the user reaches the desktop.
For LOB apps, the behavior is slightly different as any required LOB app may install during the ESP regardless of whether it is set as "blocking" or not. "Blocking" for LOB simply guarantees that a minimum set of apps install but doesn't exclude others.