Autounattend.xml not working

Discussion in 'Scripting' started by Klomar, Sep 2, 2015.

  1. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
    #1 Klomar, Sep 2, 2015
    Last edited by a moderator: Apr 20, 2017
    Hi everyone!
    I'm trying to use this Autounattend.xml:
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ComputerName>DESKTOP1</ComputerName>
            </component>
            <component name="Microsoft-Windows-Shell-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">
                <ComputerName>DESKTOP1</ComputerName>
            </component>
        </settings>
    </unattend>
    
    to set only a computer name, but it doesn't work unless I add also this part:

    Code:
        <settings pass="windowsPE">
        </settings>
    
    If I add the pass of windowsPE it works perfectly, even if I don't write anything in that section..
    But if I add that pass, the setup skips the first window where I can select repair my computer instead of install..

    What am I doing wrong?

    Please help me :worthy:.

    PS. I dunno if that's important but I'm using an ISO from windows 10 x86 home setup, with an install.wim with inside all the versions of windows 10 (both x64 and x86)
     
  2. Soulfate

    Soulfate MDL Member

    Feb 14, 2011
    183
    46
    10
    No, I've the same issue : no upgrade from DVD when there is a functional AutoUnattended. I've not tried upgrade from Windows Setup, but it should work.
     
  3. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
    I've looked into c:\windows\panther for log files and it seems that the autounattend.xml is recognized at the beginning during windows PE, but it just skips it because it doesn't contain information about that section. During the specialize phase doesn't even find it.. What's going on? :confused: