TechBuzzPro

Autopilot ESP: Block Desktop Until Apps Install

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To block desktop access until required apps are installed during Windows Autopilot, you must enable the Enrollment Status Page (ESP) and set the "Block device use until all apps and profiles are installed" toggle to Yes. This ensures that the user cannot bypass the setup screen and enter the Windows desktop until the Intune management extension has successfully deployed all assigned mandatory applications, preventing a poor user experience where the device is usable but missing critical business tools.

This configuration is essential for organizations that rely on specific security software, VPN clients, or productivity suites to be present before a user begins their workday. Without this block, Windows may allow the user to log in while apps are still installing in the background, which can lead to software conflicts, missing shortcuts, and increased help desk tickets. Note that menu labels and paths may differ slightly depending on your Intune tenant version, region, or specific licensing level.

What You'll Need

  • An active Microsoft Intune (Microsoft Endpoint Manager) tenant.
  • Windows devices enrolled in the Windows Autopilot deployment service.
  • Administrative permissions (Intune Administrator or Global Administrator) to modify enrollment profiles.
  • A defined list of "Required" applications assigned to the user or device group that you want to block the desktop for.

Step-by-Step

  1. Log in to the Microsoft Intune admin center using your administrator credentials.
  2. Navigate to the main menu and select Devices. From the Devices menu, select Windows to enter the Windows device management section.
  3. Within the Windows management pane, look for the Windows enrollment section and click on Enrollment Status Page.
  4. You will see a list of existing ESP profiles. If you have not created one yet, select Create profile. If you have an existing one, click on the profile name to edit it.
  5. In the Basics tab, provide a name for the profile (e.g., "Standard Corporate Block ESP") and a description. Click Next.
  6. On the Settings page, locate the toggle labeled Show app and profile configuration progress. Set this to Yes. This enables the visual progress bar that the user sees during the Out-of-Box Experience (OOBE).
  7. Locate the critical setting: Block device use until all apps and profiles are installed. Set this toggle to Yes. This is the specific setting that prevents the user from reaching the desktop until the requirements are met.
  8. Under the Allow users to postpone installation option, choose whether you want to give users a grace period to finish the installation later. For a strict block, set this to No.
  9. In the Specify blocking apps section, you have a choice. You can leave this blank to block for all apps assigned as required, or you can select Selected to pick specific mission-critical apps. If you choose selected, you must then browse and add the specific Win32 or LOB apps that are mandatory for the block.
  10. Review your settings in the Review + create tab to ensure the "Block device use" toggle is correctly set to Yes.
  11. Click Create or Save to apply the profile.
  12. Assign the profile to the appropriate group of users or devices. Navigate to the Assignments tab within the ESP profile, select Add groups, and choose the Entra ID group containing the target devices.
  13. Save the assignment and wait for the policy to sync to the cloud.

Common Mistakes

One of the most frequent errors is assigning too many applications as "Required." If you have 20 or 30 apps set to required, the ESP may time out or take hours to complete, leading the user to believe the device is frozen. Only block for the absolute essentials (e.g., Antivirus, VPN, Core Browser). Non-essential apps should be set to "Available" in the Company Portal or assigned as required but excluded from the ESP blocking list.

Another common mistake is failing to account for the Intune Management Extension (IME). The ESP relies on the IME to report the installation status of Win32 apps. If the IME fails to install or crashes during the process, the ESP may hang indefinitely because it never receives the "Success" signal for the apps it is waiting for.

Administrators also often forget to check the "Allow users to postpone" setting. While blocking is the goal, setting this to "No" for every single user can be frustrating if a user has a slow internet connection and cannot wait three hours for a large app to download before they can even see their desktop.

Tips

To optimize the user experience, use the "Selected apps" feature rather than blocking for all apps. By selecting only the 3-5 most critical applications, you ensure the device is secure and functional without making the user wait for every single piece of software in your catalog to install.

Implement a naming convention for your ESP profiles. If you have different requirements for Executives, Developers, and General Staff, create separate profiles (e.g., "ESP-Exec-Block" and "ESP-Dev-Block") and assign them to the respective Entra ID groups. This prevents developers from being blocked by apps they don't need, and vice versa.

Always test your ESP configuration on a "canary" device before deploying it to the entire organization. Use a fresh device or a virtual machine that has been wiped to ensure the blocking behavior works as expected and that the apps actually install successfully without user intervention.

Troubleshooting

If the device hangs on the ESP screen and never reaches the desktop, the first step is to check the internet connection. A dropped connection during the app download phase will stall the ESP. Restart the device to trigger a retry of the installation process.

If the block persists despite apps appearing to be installed, check the Intune console for the specific device. Look at the Device install status for the assigned apps. If an app is reporting a "Failed" status, the ESP will continue to block the desktop because the condition "all apps installed" has not been met. You must resolve the app installation error (e.g., fixing a wrong install command or a missing dependency) before the device will proceed.

For advanced debugging, you can shift+F10 during the ESP screen to open a Command Prompt. From here, you can check the logs located in C:\ProgramData\Microsoft\IntuneManagementExtension\Logs. Look for the IntuneManagementExtension.log to see if the agent is struggling to download a specific package or if there is a conflict with another installer.

If the ESP is being bypassed entirely and the user is reaching the desktop without the apps, verify that the ESP profile is correctly assigned to the device group. Also, ensure that the device is actually performing an Autopilot join and not a manual Azure AD join, as the ESP behavior differs between the two methods.

Frequently Asked Questions

Can I block the desktop for only some apps?

Yes. In the ESP profile settings, change the "Specify blocking apps" option from "All" to "Selected," and then pick the specific applications that must be present before the user can proceed.

What happens if a required app fails to install?

If the "Block device use" setting is enabled and a required app fails, the ESP will typically show an error message to the user. Depending on the configuration, it may allow the user to try again or, after a certain number of failures, allow them to proceed to the desktop with a warning.

Does this work for both User-driven and Self-deploying modes?

Yes, the Enrollment Status Page is supported in both User-driven and Self-deploying Autopilot modes, though the visual experience and the timing of the block may vary slightly based on when the user enters their credentials.

Will this block the desktop if I use LOB apps instead of Win32 apps?

Yes, it works for both, but Win32 apps are generally recommended for Autopilot because they offer better reporting and more reliable installation tracking via the Intune Management Extension.

Can the user bypass the block?

If configured correctly with "Block device use" set to Yes and "Allow users to postpone" set to No, the user cannot bypass the screen through standard means. They must wait for the apps to install or the system to timeout/fail.