Windows 10 セットアップが autounattend.xml を無視する

Windows 10 セットアップが autounattend.xml を無視する

Windows システム イメージ マネージャーを使用して、組み込み Windows 10 の応答ファイルを作成しました。Windows 10 セットアップでは応答ファイルが完全に無視されるようで、無人ではなくマシンのセットアップを求められます。

私の回答ファイルは、annabooks.com の「Windows IOT 10 Enterprise スターター ガイド」の第 1 章から第 2 章に基づいています。

このイメージは、いくつかのカスタム ドライバーを挿入するために ADK ツールを使用して準備されました。それ以外は、単なる Windows 10 Enterprise LTSB です。

どこかで設定を間違えたことは明らかだと思いますが、どこが間違えたのかはわかりません。

編集: ドキュメントをもう一度確認しましたが、いくつかの OOBE 設定が抜けていました。WSIM を使用してこれらの設定を修正しましたが、まだ無視されています。

このファイルは「Autounattend.xml」と呼ばれ、インストール ファイルを含む USB スティックのルート ディレクトリに配置されます。

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" 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">
        <InputLocale>en-US</InputLocale>
        <SystemLocale>en-US</SystemLocale>
        <UILanguage>en-US</UILanguage>
        <UILanguageFallback>en-US</UILanguageFallback>
        <UserLocale>en-US</UserLocale>
        <SetupUILanguage>
            <UILanguage>en-US</UILanguage>
        </SetupUILanguage>
    </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">
        <ImageInstall>
            <OSImage>
                <InstallFrom>
                    <MetaData wcm:action="add">
                        <Key>/IMAGE/NAME</Key>
                        <Value>Windows 10 Enterprise Evaluation</Value>
                    </MetaData>
                </InstallFrom>
            </OSImage>
        </ImageInstall>
        <UserData>
            <ProductKey>
                <Key>removed</Key>
                <WillShowUI>OnError</WillShowUI>
            </ProductKey>
            <AcceptEula>true</AcceptEula>
        </UserData>
    </component>
</settings>
<settings pass="specialize">
    <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">
        <AutoLogon>
            <Password>
                <Value>cABhAHMAcwB3AG8AcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                <PlainText>false</PlainText>
            </Password>
            <Username>EcoMixer</Username>
            <LogonCount>4294967294</LogonCount>
            <Enabled>true</Enabled>
        </AutoLogon>
        <ComputerName>EcoMixer</ComputerName>
        <TimeZone>GMT Standard Time</TimeZone>
    </component>
</settings>
<settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" 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">
        <SystemLocale>en-US</SystemLocale>
        <UILanguage>en-US</UILanguage>
        <UserLocale>en-US</UserLocale>
    </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">
        <OOBE>
            <HideEULAPage>true</HideEULAPage>
            <ProtectYourPC>3</ProtectYourPC>
            <HideLocalAccountScreen>true</HideLocalAccountScreen>
            <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
            <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
            <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
        </OOBE>
        <UserAccounts>
            <LocalAccounts>
                <LocalAccount wcm:action="add">
                    <Password>
                        <Value>cABhAHMAcwB3AG8AcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <DisplayName>EcoMixer</DisplayName>
                    <Name>EcoMixer</Name>
                    <Group>Administrators</Group>
                </LocalAccount>
            </LocalAccounts>
        </UserAccounts>
    </component>
</settings>
<cpi:offlineImage cpi:source="wim:e:/sources/install.wim#Windows 10 Enterprise Evaluation" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

答え1

偶然遭遇したので、ここに投稿します。他の USB ドライブではすべて正しく動作していたのに、autounattend.xml が動作しないという同じ問題がありました。Windows セットアップは、特定の安価な USB ドライブで問題があり、そこから autounattend.xml ファイルを読み込むことができないようです。

私たちの場合、同じタイプのドライブはすべて全面的に故障しました。Windows 10 のセットアップ プロセスは開始されますが、autounattend.xml は使用されません。実際の「ブランド」ドライブ (Kingston、Samsung など) を使用すると問題なく動作し、autounattend.xml は適切に読み込まれました。動作しなかった USB ドライブは、「Generic USB Drive 5.0」または同様の名前で識別される中国製の安価な 8GB ドライブでした。

万が一、あなたもこれに遭遇した場合、問題の原因はあなたではなく、安価な USB である可能性があります。

関連情報