May 17 2022 02:32 PM
Before I reinvent the wheel, I thought I’ll post the issue here. I have a AP profile configured as below.
Deployment mode User-Driven
Join to Azure AD as Azure AD joined
Language (Region) Dutch (Netherlands)
Automatically configure keyboard Yes ( In know.. please read on)
Microsoft Software License Terms Hide
Privacy settings Hide
Hide change account options Hide
User account type Standard
Allow pre-provisioned deployment Yes
Apply device name template Yes
Enter a name XXXX-%SERIAL%
I know I’ve set the auto keyboard to yes, but here me out. As far as I understood the previously known issue is fixed in Windows 11. Windows Autopilot for pre-provisioned deployment | Microsoft Docs
In Windows 10, version 2004 and later, if the Autopilot deployment profile Language/Region setting is not set to User Select, then OOBE will progress past the language/region/keyboard selection screens. This causes the pre-provisioning technician to arrive at the Azure AD login page, which is too late to enter pre-provisioning. This issue is fixed in Windows 11.
For the pre-provisioning part:
On Windows 10 21H2 (10.0.19044.1645) I can pre-provision the device successfully. The technician flow completes and I have a green screen giving me the option to reseal. After reboot, the normal user flow follows, and the device is ready to go before you know. AAD joined and MDM enrolled with user affinity.
However, on Windows 11 (10.0.22000.675) the technician flow starts OK. I’m presented with the AP profile that is selected, and I can continue pre-provisioning. But it never shows me the green screen and I’m not able to reseal the device. It also does not show any errors what so ever during pre-provisioning. The device simply reboots and ends up at the login screen. The user flow does not seem to start and from the login screen, I’m also not able to sign-in with any account.
At this stage, I checked the device in the AP portal. The interesting thing is, that the device seems to be AAD joined and MDM enrolled. And as expected, there is no primary user yet in Intune.
So I looked up the device in Azure AD and confirmed it is AAD joined. Although I don’t believe the info presented. I also looked up the device in MEM/Intune and collected the diagnostics logs from the device.
Still in the process of diving into the logfiles but here are some of my findings:
intunemanagementextension.log shows some interesting things:
The User Device Registration event log is playing tricks on me. Here are some of the events from the log
If I had to guess, I’d say the device is AAD joined and MDM enrolled at first, but for some reason, it unjoins the device in AAD which explains the fact that I cannot sign-in with a AAD User account. The device however remains MDM enrolled.
What is going on here?
I will test the same setup with auto configure keyboards set to No and see what happens. But the fact that I can get to the pre-provisioning screen, see the selected AP profile and reseal the device with W10 tells me (or at least it looks like) this should work.
Anyone else having the same experience with Windows 11?
Hope this makes some sense. Thx in advance!
Oktay
Aug 15 2022 12:37 AM
@Rudy_Ooms_MVP I tested by removing the regkey ./Device/Vendor/MSFT/Policy/Config/DmaGuard/DeviceEnumerationPolicy and have succesfully arrived at reseal screen. Obviously this is not a full time solution, but an easy workaround. I have updated my Microsoft Case # with this information. Thank you for your blog on that.
Aug 15 2022 01:17 AM
Aug 15 2022 03:38 AM
Hi,
We are facing same problems.
How can you remove that regkey from the client machine?
When I'm opening regedit in client machine (before going to pre-provisioning) i cannot remove or edit anything under HKLM\Software\Microsoft\Provisioning\SyncML\RebootRequiredURIs
Aug 15 2022 04:11 AM
Aug 15 2022 11:13 PM
Update on this saga. I successfully resealed a couple of Windows 11 devices, but now the issue has returned - same thing - device reboots and does not return to reseal screen, Very weird.
Microsoft have notified me that they are still reviewing the diag logs I sent them.
What I dont understand is how come Microsoft have not announced a "Health notification - under investigation" on this issue as they usually do in ther service alerts. Are we in this forum the only few actually pre-provisioning Windows 11?
Aug 17 2022 01:13 AM - edited Aug 17 2022 01:14 AM
Another Update. Microsoft got back to me and are achiving my support ticket. This issue is under "High Level" investigation by MS Engineers and as soon as a solution is available, I will be notified. In the meanwhile there are no further troubleshooting options available and either I autopilot enroll windows 11 devices without pre-provisioning or go back to Windows 10. My query as to why this is not noted as an "outage" on the admin portal, was not answered.
Aug 18 2022 07:45 AM
Aug 18 2022 07:58 AM - edited Aug 18 2022 08:02 AM
I believe that is teh same version that I tested (21h2.9). (Nope - I just checked I have 22000.795, unless yours updated with latest CU Update as my primary laptop is on the .895 version as well). I will downlaod again next week and check again.
Strange thing is on certain CPU model devices (Lenovo X1 9th gen), it works fine, other models (Lenovo T14 / P14s / X1 6th gen) it fails. Are your devices Intel or AMD?
Aug 18 2022 08:04 AM
@BH all Intel devices here, will check the generation tomorrow!
Aug 18 2022 11:29 PM
Aug 23 2022 12:44 AM
Any updates on this issue? My Microsoft support ticket was archived and was told that Microsoft is aware and working on the issue, but in the meanwhile I cannot pre-provision Windows 11.
Aug 23 2022 12:55 AM
Aug 23 2022 05:50 AM - edited Aug 23 2022 05:59 AM
I have not tested any insider build yet. I did test excluding a group of dynamic devices from some of the policies, including wufb. It works once and then starts failing again. I was on a meeting this morning with our TAM and raised this again. Will see if that takes us anywhere.
I see tthere is now an updated Windows 11 ( August 2022, 21h2.10) version. I am downlaoding the ISO now and will test and report.
Aug 23 2022 06:45 AM
Aug 23 2022 08:17 AM
Aug 23 2022 08:23 AM
Aug 23 2022 12:28 PM
@BH After seeing this post I updated my Windows 11 deployments to 22000.856 and have a 100% success rate of pre-provisioning and resealing since. Thanks!
Aug 24 2022 03:39 AM
Aug 24 2022 05:04 AM