Unable to "Sign in with Microsoft" during post-installation setup

HolyK

Member
Hi!

I have a bit stripped Win10 22H2 (+KBs) installation but for some reason I am NOT getting the following screen. I goes straight to local account creation (that "Who's going to use this PC" step)
1672258705431.png

I don't have anything modified in "Unattended" section (it is set to "Default").
If i build the ISO only with KBs integrated (so no removals or settings changed) it works OK so it is not an issue with the source image.

Ofc i haven't removed the Cloud Identity Service nor the MS Azure.

XML attached. Any suggestions appreciated ...

//EDIT: Wrong screen attached, corrected now.
 

Attachments

  • Win10_Pro_22H2_Work_Dev3.xml
    30.8 KB
Last edited:
Hi!

I have a bit stripped Win10 22H2 (+KBs) installation but for some reason I am NOT getting the following screen. I goes straight to local account creation (that "Who's going to use this PC" step)
View attachment 8862

I don't have anything modified in "Unattended" section (it is set to "Default").
If i build the ISO only with KBs integrated (so no removals or settings changed) it works OK so it is not an issue with the source image.

Ofc i haven't removed the Cloud Identity Service nor the MS Azure.

XML attached. Any suggestions appreciated ...
Why not just install it normally (maybe with some basics done like name/settings you like) then do a cleaning after when it's running live? I haven't done big edits in a long time for install.

If still want to go through with it hopefully someone else more knowledgeable in this could help you out :)
 
Have you checked if the ISO folder has an autounattend.xml, from a previous edit? I don't see anything wrong in the preset.
 
Why not just install it normally (maybe with some basics done like name/settings you like) then do a cleaning after when it's running live? I haven't done big edits in a long time for install.

If still want to go through with it hopefully someone else more knowledgeable in this could help you out :)
I've done several edits (some small, some quite serious for minimal VM builds, fully unattended) but all were with local accounts. I like the fact that i can remove all of the junk in advance rather than letting it in and removing it afterwards. I'd like to keep that approach :)

Have you checked if the ISO folder has an autounattend.xml, from a previous edit? I don't see anything wrong in the preset.
I am always removing and re-extracting the source ISO when troubleshooting builds. Anyway I've checked it and the file is not present.

I'll keep digging. There must be some silly dependency causing this ...

BTW: I assume the external REG file is applied AFTER the initial setup is done (so after defining the user account type/name). Is it?
 
Files added in Registry are integrated into the image, and take effect on first image boot (after WinPE exits).

Files added in Post-Setup (Machine) are applied after OOBE, after the primary user is created, but before the user is provisioned.
Files in Post-Setup (User) are applied when the user finally logons on to desktop.

To my knowledge, there isn't a reg key which disables the MS account screen. You can eliminate the requirement (BypassRNO) to use one, but you're still given the choice of MSA or local account.
 
garlin Thanks, I've removed the reg file completely just to be sure. Did not helped (as you stated). I've also rolled back to default everything in the Configuration - no luck.

What actually changed the situation was reverting back all of the removed Components from "Windows Apps" group. Installation of that image actually gave me the needed selections screen ... which is actually a different one than mentioned in the first post (my bad, sorry). It was the "How would you like to set up? screen i was not getting. Then after picking the "Set up for an organization" the "Sign in with Microsoft" is presented.

I will update the first post with proper info because it is misleading.

Anyway i will try to find out which component is causing the problems and report back...
 
Found it!
Removal of "Components -> Windows Apps -> System Apps -> Content Delivery Manager" will cause the "How would you like to set up?" step to not appear preventing Domain/Azure logon. That leaves only local account creation ("Who's going to use this PC" step).

Re-tested on full ISO minus that one component -> Easily reproducible.

I guess it is a time to call out nuhi to address this :)
 
Last edited:
Back
Top