Windows 10 is not reading unattend.xml from C:\Windows\Panther

Christopher Hawker 1 Reputation point

Hello all,

I am in the process of creating an automated installer flash drive for Windows 10 Enterprise LTSC 2019 x64. To achieve this, I created an Autounattend.xml file for the setup component, which works as expected.

Now the issue that I face, is that I am able to create the unattend.xml file which is (from all the research and info I have done and have) supposed to be in the C:\Windows\Panther directory for the Windows OOBE component. For some reason, the OOBE is not reading this file and waits on the country selection screen for user input. I've tried to use both the base WIM from the ISO as well as a custom-built WIM, to no avail.

Below is the Unattend.xml file:

<?xml version="1.0" encoding="utf-8"?>  
<unattend xmlns="urn:schemas-microsoft-com:unattend">  
    <settings pass="oobeSystem">  
        <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="" xmlns:xsi="">  
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="" xmlns:xsi="">  
    <cpi:offlineImage cpi:source="wim:d:/wims/win10ent_ltsc2019_x64_base.wim#Windows 10 Enterprise LTSC 2019" xmlns:cpi="urn:schemas-microsoft-com:cpi" />  

For the life of me, I cannot see what I am missing, if anything. Does the file look good and is it supposed to be placed in C:\Windows\Panther?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,599 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Darrell Gorter 1,296 Reputation points

    Are you running setup from within Windows or booting to WinPE to run setup?
    Answer file locations may vary depending on how setup is started
    link to docs on answer file locations

    0 comments No comments

  2. Sean Liming 4,511 Reputation points

    Never heard of an unattended file being put in the c:\Windows\Pather folder.

    If you are looking to create a oobe.xml, there are several locations to put the file - Your installer answer file should already have oobe settings already in place. Just in case:

    If you are looking to create a sysprep unattended file. The file can be placed anywhere in the file system. You just make the call:

    Sysprep.exe /generalize /oobe /shutdown /unattend:<path>myunattend.xml

    0 comments No comments

  3. Percival Yang 721 Reputation points

    After reading your post, it seems you have no problem with autounattend.xml, but your unattend.xml is a little bit different with others in which Line 12 to Line 20, maybe you should adjust the sequence, put Line 21 to Line 28 <OOBE> prior to <auto logon>, additively, most of other unattend.xml don’t have auto logon.
    And you should add Line38 </unattend> in the end of the xml.
    As far as I know, the unattend.xml should be Saved in C:\Windows\System32\Sysprep folder during which you boot into audit mode with your customized image and then add the unattend.xml. After that use C:\Windows\System32\Sysprep\sysprep.exe /generalize /oobe. Finally, when booted from install media(usb), press SHIFT + F10 or winPE, open Command Prompt, use dism to capture the sealed image.

    Here is the detailed link for you to create autounattend.xml and unattend.xml.
    lease Note: Since the websites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.

    Hope this can help you
    If your need further help, be free reply to me at your convenience.

    If the Answer is helpful, please click "Accept Answer" and upvote it

    0 comments No comments