Forum Discussion
Intune Doesn't Install Win32 Apps Until a User Logs On?
The previous install (where it did'nt work) was a clean Windows 11 ISO installation.
Another thing i noticed when installed with the clean W11 installation was that de AutoPilot profile computername did not apply. The default Windows computername (DESKTOPxxxxx) was applied.
When installed with the Dell W10 installation the computername which i configured in the AutoPilot profile was succesfully applied.
I don't know exactly what caused this two problems (computername and w32-apps) when using the clean Windows 11 installation. But as a workaround i reinstalled the PC's with de Dell W10 installation to get things working as expected.
i am hearing all kinds of issues when using win11 and autopilot. (Still waiting to get my hands on a problem device)
as example. When using wufb (targetted at devices) windows 11 could skip the whole installation and will trigger a reboot. Because some bug with the insider build settings is set to not configured it will still try to apply it.
- DanWheelerMay 24, 2022Brass Contributor
For anyone else running into this issue, I'm having some luck with Win32 apps installing for local users with this CSP/OMA-URI:
OMA-URI: ./Vendor/MSFT/DMClient/Provider/MS DM Server/FirstSyncStatus/SkipUserStatusPage
Data type: Boolean
Value: TrueI'm actively experimenting with it now, but it seems to solve the problem. I'm trying to figure out how and where to configure my Intune application that configures autologon. I'm finding that during ESP may be a bad place to set up autologon with the typical reg keys because the Autopilot/ESP phase uses those same registry keys. I think it may either be overwriting my reg key settings or not allowing them because I get stuck in a reboot loop when I force my autologon app to install during ESP and have it exit with a 1641 for a forced reboot. ESP just keeps looping over and over again.
The whole idea here is to get through autopilot, auto log on as a local account then install Win32 apps. The problem is that the autologon needs to be a win32 app... I don't know how else to do it. There's an Intune configuration profile specifically intended for building kiosk devices but those put the device into kiosk mode with a locked down desktop and start menu. I need full desktop access.
Maybe I can find the CSPs that the Kiosk configuration profile is using and implement a select few of them to just do the autologon parts but not the desktop lockdown. I assume config profiles are using CSPs under the hood.
- Mark_DestreelApr 04, 2024Copper Contributor
Great find.
Implemented SkipUserStatusPage and sure enough Win32 apps started installing again, without logging on.
- Pete_MaudlinApr 16, 2024Copper Contributor
This entire blog was very helpful. However, Microsoft changed how "Required Apps" are discovered and install during ESP, with the March 2024 update to Intune. They added the option in the ESP, under Blocked Applications, called "Only fail selected blocking apps in technician phase".
If you create a new ESP, this option is set to Yes. All preexisting ESP will have this set to No.
When set to Yes, what is means is that the ESP will now scan for all apps set to required for the device and will attempt to install all of them during the device configuration portion of provisioning. Those that are in the Blocked Apps, will fail the ESP if it doesn't install properly. That that are outside of the Blocked Apps, will be ignored if they fail.
So how does this help install all required apps when pre-provisioning only, while only installing the Blocked Apps for all other provisioned devices? Great question. What we discovered worked well was to:
1. Leave your main ESP with the setting mentioned above, set to No.
2. Create a new ESP (Autopilot Pre-Provisioning) and add one application (probably VPN) to the Blocked Apps and then set the option mentioned above to Yes. Note, you may want to set the timeout to say 180 minutes.
3. Assign the Pre-Provisioning ESP to a Dynamic Group that is based on Group Tag.
4. Then just go to Enrollment | Devices in Intune, find the device via SN and set the Group Tag to whatever string your decided on for the dynamic group. (I.E. "PreProv")
5. You will then see the Group Tag show on the device in Autopilot and the SN show as a member of the group you created.
6. Follow the steps to Pre-Provision your device and you will see the list of applications found be much larger and start processing through the list it found.
To clean up the group, either manually or automate the removal of the Group Tag under Enrollment | Devices.
Dynamic Group Syntax:
(device.devicePhysicalIds -any (_ -eq "[OrderID]:PreProv"))
I hope that helps! It made it much easier for us to separate those that we wanted to just install a few apps during ESP and hand off vs. those that we call hot swap devices with everything already installed.
- May 24, 2022The skipuserstatuspage is indeed one thing you could use to skip the account phase...
https://call4cloud.nl/2022/05/esp-cultural-learnings-of-online-microsoft-store-apps-for-make-benefit-glorious-nation-of-autopilot/#part3
But it all depends on which phase those apps are stuck 🙂