WinRE drive appears in File Explorer using Answer file


  1. Posts : 527
    Win10
       #1

    WinRE drive appears in File Explorer using Answer file


    I managed to create an answer file for Win10 and the installation was a success not having to input anything at all.

    However, in File Explorer the WinRE drive appears. This was not the case when installing Win10 normally.

    How can I edit the XML answer file to have the WinRE not appear in File Explorer?

    What value do I need to change, add, or remove?
      My Computer

  2. Kari's Avatar
    Posts : 17,160
    Windows 10 Pro
       #2

    Most probable reason is that your autounattend.xml file, the one that does the partitioning and Windows Setup, falsely sets a drive letter to RE partition.

    Please ZIP the autounattend.xml file you used and post the ZIP archive here so we can check it.

    Kari
      My Computer


  3. Posts : 527
    Win10
    Thread Starter
       #3

    Ok, here you go. This is just the Disk Partitioning part of the file due to sensitive data.
    Hoefully this part of the file is understandable. I need a response right away as I need to reinstall the OS very soon. Thanks.



    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DiskConfiguration>
    <Disk wcm:action="add">
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    <CreatePartitions>
    <!-- Windows RE Tools partition -->
    <CreatePartition wcm:action="add">
    <Order>1</Order>
    <Type>Primary</Type>
    <Size>300</Size>
    </CreatePartition>
    <!-- System partition (ESP) -->
    <CreatePartition wcm:action="add">
    <Order>2</Order>
    <Type>EFI</Type>
    <Size>100</Size>
    </CreatePartition>
    <!-- Microsoft reserved partition (MSR) -->
    <CreatePartition wcm:action="add">
    <Order>3</Order>
    <Type>MSR</Type>
    <Size>128</Size>
    </CreatePartition>
    <!-- Windows partition -->
    <CreatePartition wcm:action="add">
    <Order>4</Order>
    <Type>Primary</Type>
    <Extend>true</Extend>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <!-- Windows RE Tools partition -->
    <ModifyPartition wcm:action="add">
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    <Label>WINRE</Label>
    <Format>NTFS</Format>
    </ModifyPartition>
    <!-- System partition (ESP) -->
    <ModifyPartition wcm:action="add">
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    <Label>System</Label>
    <Format>FAT32</Format>
    </ModifyPartition>
    <!-- MSR partition does not need to be modified -->
    <ModifyPartition wcm:action="add">
    <Order>3</Order>
    <PartitionID>3</PartitionID>
    </ModifyPartition>
    <!-- Windows partition -->
    <ModifyPartition wcm:action="add">
    <Order>4</Order>
    <PartitionID>4</PartitionID>
    <Label>OS</Label>
    <Letter>C</Letter>
    <Format>NTFS</Format>
    </ModifyPartition>
    </ModifyPartitions>
    </Disk>
    </DiskConfiguration>
    <ImageInstall>
    <OSImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>4</PartitionID>
    </InstallTo>
    <InstallToAvailablePartition>false</InstallToAvailablePartition>
    </OSImage>
    </ImageInstall>
      My Computer

  4. Kari's Avatar
    Posts : 17,160
    Windows 10 Pro
       #4

    win10freak said:
    Ok, here you go. This is just the Disk Partitioning part of the file due to sensitive data.
    Hoefully this part of the file is understandable. I need a response right away as I need to reinstall the OS very soon. Thanks.
    First, please do not take this too personally but I just wonder how difficult it is to follow simple and clear instructions? I asked you to post the file as a ZIP archive. If you had done so I could have opened it in specific application to read code and XML files. The way you posted it, just pasting the text to your post, makes it extremely annoying to read and check.

    Anyway, seems that answer file does not set drive letter to RE partition.

    Another possible reason, if you are using this answer file in a Windows Insider build is simply a minor bug in a few last Insider builds. See for instance this: Insider - OEM partition given drive letter? Help! - Windows Central Forums

    This issue really is a minor one, causing no harm. You can simply remove the drive letter of WinRE partition and it will no longer be shown. See tutorial: Remove Drive Letter in Windows 10 | Windows 10 Tutorials

    Kari
      My Computer


  5. Posts : 527
    Win10
    Thread Starter
       #5

    No insider build. I am using the build from the Win10 MCT which is the 1709 Build 162199
      My Computer

  6. Kari's Avatar
    Posts : 17,160
    Windows 10 Pro
       #6

    OK.

    Can't think any plausible reason for this. As a workaround, just remove the drive letter to hide it.

    Kari
      My Computer


  7. Posts : 527
    Win10
    Thread Starter
       #7

    Sorry about the file not being zipped, just wanted to hide the account username info and other sensitive data.

    Thanks
      My Computer


 

Related Threads
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 10:50.
Find Us




Windows 10 Forums