I'm using SysPrep for years, currently with Windows 10 22H2 19045.4529 and Windows 11 23H2 22631.3737 I have no problems at all.
Today I've tried to prepare deploy image using Windows 11 24H2 26100.1150.
Steps:
- Start fresh install of Windows 11 24H2 26100.1150. then enter in audit mode (CTRL+SHIFT+F3)
- do things (Firefox, Thunderbird, some tweaking etc)
- run sysprep /oobe /generalize /shutdown
- capture the image, deploy to test device
System boots ok, WU works well (updates and drivers), then I've enable BitLocker then reboot and Windows was unable to boot (system repair starts)
I've tried the same steps 1-4 using Windows 11 23H2 22631.3737 iso image and after enabling BitLocker I did restart and everything works fine (Windows boot normally)
Next I went back to fresh instance Windows 11 24H2 26100.1150 and after audit I did 1-4 steps, but in 3rd step sysprep without "/generalize" (sysprep /oobe /shutdown) and I repeated test (enabling BitLocker in deployed image) and this time Windows 11 24H2 boots normally, but SID of this instance remains unchanged (lack of /generalize step).
I think that there is a bug in sysprep generalize step in 24H2 26100.1150 regards bitlocker subsystem (the /generalize step did something that render bitlocker unusable)
Regards
Chris