Windows 2025 unattended not installing Windows server to specified drive

Anonymous
2025-01-29T18:20:31+00:00

Below is the section of my unattend XML that is responsible for installing the Windows Server to a Disk/Partition. I was able to install Windows Server 2019 and 2022 with the same configuration. I would expect the install to be automated, but instead it performs no action at the first screenshot in my attachments. It is waiting for a user input and I believe it is because it is not able to install to Disk1 Partition2 drive, because when I manually try to install it to that I get the error message in the second screenshot "There is an error selecting this partition for install. Please select a different partition or refresh selection". It is not a very useful error message. After looking at similar issues online, I was able to manually delete the partition and install it to the newly created Disk tilted Unallocated Space. But this is not a good solution as it requires manual inputs where I need the installation to be completely automated.

<ImageInstall>

<OSImage> <InstallFrom> <MetaData wcm:action="add"> <Key>/IMAGE/NAME</Key><Value>Windows Server 2025 SERVERSTANDARD</Value> </MetaData> </InstallFrom>

<InstallTo> <DiskID>1</DiskID><PartitionID>2</PartitionID> </InstallTo> <WillShowUI>OnError</WillShowUI><InstallToAvailablePartition>false</InstallToAvailablePartition> </OSImage> </ImageInstall> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order><Size>450</Size><Extend>false</Extend><Type>Primary</Type> </CreatePartition>

<CreatePartition wcm:action="add"> <Order>2</Order><Extend>true</Extend><Type>Primary</Type> </CreatePartition> </CreatePartitions>

<ModifyPartitions> <ModifyPartition wcm:action="add"> <Format>NTFS</Format><Label>System</Label><Order>1</Order><PartitionID>1</PartitionID><TypeID>0x27</TypeID> </ModifyPartition>

<ModifyPartition wcm:action="add"> <Order>2</Order><PartitionID>2</PartitionID><Letter>C</Letter><Label>CORE</Label><Format>NTFS</Format> </ModifyPartition> </ModifyPartitions> <DiskID>1</DiskID><WillWipeDisk>true</WillWipeDisk> </Disk> </DiskConfiguration>

![](https://filestore.community.support.microsoft.com/api/images/3c412746-cd84-42d4-9895-534903aef92e?upload=true&fud_access=hC1SxZhn7m%2FZQJkOIiOVstu10yTQgXS4A%2FDBzZTg8nbaCgIogkrcDydMeI5Y4za2dOqDdWtsG2JNS3E35V60i9TiGHR7STMpJHheeXuDvO8nwjUlqCBHhJ0NDvuYN7OSOqzgCr%2Fe9a18WuCJfbCb%2F1HxYrN1GbrjAWTExl3p%2BTJQ8nS03Ni3VQ0fT60tZUbrK6y8k%2B%2BdhWkz3pmrizmZyPTgHrNfwb%2BHQ%2Bxh6GzRKekpbQgpRka9XgbmAvB0CITm1D6CFMc8MyME2B8PhRZsVRh1fWdwe3xXjVWtt%2Fknq2U7jxunaDxBUImUbvwJVm6%2B4ytyJAZjcBfajsl%2BweKifdmg2dFazdwUxDeRtpcNup8mDvtvBSvE1sOOdmR0k%2BlREGF0VAbiFbi%2BNbV5MJ6vqHoXyZAUyiHAwKLi%2FBVuvKU%3D)![](https://filestore.community.support.microsoft.com/api/images/58be74d0-46ca-40b7-acaf-9c7eca2ec4d1?upload=true&fud_access=hC1SxZhn7m%2FZQJkOIiOVstu10yTQgXS4A%2FDBzZTg8nbaCgIogkrcDydMeI5Y4za2dOqDdWtsG2JNS3E35V60i9TiGHR7STMpJHheeXuDvO8nwjUlqCBHhJ0NDvuYN7OSOqzgCr%2Fe9a18WuCJfbCb%2F1HxYrN1GbrjAWTExl3p%2BTJQ8nS03Ni3VQ0fT60tZUbrK6y8k%2B%2BdhWkz3pmrizmZyPTgHrNfwb%2BHQ%2Bxh6GzRKemtZ%2FfuOBgnmTCtHR4ufgial2miEI841TAuqpOzo16dbUJ2Yn7j%2FM5F4eAXgey6ykSxjYx6YVOJ5Z%2FKES2iXxGTl2dglTKCWv8PxsAniIwa%2FkNqT7FonbQk6YISs%2FoHtQUS4SBJCczJANYV%2BU%2F55Wekpgpgq1WJtq9jVRSPpDo5jF7jLONg8hLg0NpiiSLKHFE%3D)

Windows Server Devices and deployment Install Windows updates, features, or roles

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2025-02-03T09:44:25+00:00

    Hello,

    Thank you for posting in Microsoft Community forum.

    Based on the description, I understand your question is related to unattend.xml. 

    Since there are no engineers dedicated to unattend.xml in this forum. In order to be able to get a quick and effective handling of your issue, I recommend that you repost your question in the Q&A forum, where there will be a dedicated engineer to give you a professional and effective reply.

    Here is the link for Q&A forum.
    Questions - Microsoft Q&A

    Thank you for your understanding and support.  If you have any question or concern, please feel free to let us know.

    Best Regards,
    Hania Lian

    0 comments No comments
  2. Anonymous
    2025-02-26T00:25:19+00:00

    Check the logs C:\Windows\Panther\ in WinPE as well. If that's the case.

    Windows Setup might be assigning letter C: to some other partition, causing that. It might be a 2025 behavior change, but we need MS to clarify.

    0 comments No comments