Windows 11 24h2 Unattend Installation Problems


  1. Posts : 3
    Windows 11
       #1

    Windows 11 24h2 Unattend Installation Problems


    Hi,

    I work for a company that provides automated OS installations (Windows and Linux) for it's users/customers.

    I am having problems to install Win11 24h2 with an unattended installation. After the WinPE part/setup.exe the machine doesn't start and just cycles in the loading icon of the first reboot and does nothing.

    The same unattend.xml works fine on Win11 23h2.

    The installation procedure: The machine first boots into a linux image, prepartitions the drive, copies files onto the disk (WinPE), patches the unattend.xml and then reboots into the WinPE.

    I discovered it must have to do something with the
    Code:
    <ModifyPartitions>
    section in my unattend.xml. When I just comment it out or remove it, the installation runs fine. But this isn't a solution as this works good on a single disk and system but will most likely fail on a multidisk system.

    This is what the section looks like

    Code:
                        <ModifyPartitions>
                             <ModifyPartition wcm:action="add">            
                                 <Format>NTFS</Format>            
                                 <Label>WINDOWS</Label>            
                                 <Letter>C</Letter>            
                                 <Order>1</Order>            
                                 <PartitionID>3</PartitionID>    
                             </ModifyPartition>        
                             <ModifyPartition wcm:action="add">                       
                                 <Label>WINPE</Label>
                                 <Letter>X</Letter>
                                 <Order>2</Order> 
                                 <PartitionID>4</PartitionID>
                             </ModifyPartition>
                         </ModifyPartitions>
    As we already have a proper partitioning done in the linux bootimage the unattend.xml doesn't need a CreatePartition section.

    Within the OOBE we run scripts located on the WinPE partition.

    Any suggestion what might cause the issue with 24h2? This works fine on Windows 10 and previous Windows 11 versions

    Regards

    raddirad
      My Computer


  2. Posts : 6,930
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #2

    This is a Win 10 Forum

    Post at Win 11 Forum
    Installation, Updates and Activation | Windows 11 Forum
      My Computers


  3. Posts : 8,341
    windows 10
       #3

    Maybe wait until next week when the official release is out as things may change
      My Computer


  4. Posts : 3
    Windows 11
    Thread Starter
       #4

    Hi I digged a bit deeper and found out the following section causes the issue

    Code:
    <ModifyPartition wcm:action="add">                      
    <Label>WINPE</Label>
    <Letter>X</Letter>
    <Order>2</Order>
    <PartitionID>4</PartitionID>
    </ModifyPartition>

    When I don't include it, the installation works fine. The partition labeled WINPE is then mounted as the next drive: D. This most probably will change if I include more partitions in the installation. However I need to have the WINPE partition on a specified drive as an OOBE script accesses it to execute a script.

    Anny suggestion what might be broken in this section?
      My Computer


  5. Posts : 3
    Windows 11
    Thread Starter
       #5

    So my issue is resolved.

    It seems that a partition cannot have the same drive letter as the WinPE ramdisk, as it was in my case. Strangely this only appeared with 24h2, before it worked perfectly fine with older versions of Windows.
    Setting the letter to anything other than "X" solved the issue.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:51.
Find Us




Windows 10 Forums