e settings specified in the answer file cannot be applied. The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup].]


hello

thank reading post

i trying setup test wds environment on vsphere environment

i can build using wds - if run through setup wizard - suggests install.wim file working , wds working - use unattended.xml

i getting 2 issues

1. although have selected wipe disk before creating partitions

2. error saying " windows not parse or process unattend answer file pass [specialize]. settings specified in answer file cannot applied. error detected while processing settings component [microsoft-windows-shell-setup]." - although thing have in specialize code - works if run through wizard

this is unattended file (i have removed product code - not work or out)

<?xml version='1.0' encoding='utf-8'?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowspe">
        <component name="microsoft-windows-international-core-winpe" 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">
            <setupuilanguage>
                <uilanguage>en-us</uilanguage>
            </setupuilanguage>
            <inputlocale>2057:00000809</inputlocale>
            <systemlocale>en-us</systemlocale>
            <uilanguage>en-us</uilanguage>
            <userlocale>en-us</userlocale>
        </component>
        <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">
            <setupuilanguage>
                <uilanguage>en-us</uilanguage>
            </setupuilanguage>
            <inputlocale>2057:00000809</inputlocale>
            <systemlocale>en-us</systemlocale>
            <uilanguage>en-us</uilanguage>
            <userlocale>en-us</userlocale>
        </component>
        <component name="microsoft-windows-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">
            <diagnostics>
                <optin>false</optin>
            </diagnostics>
            <diskconfiguration>
                <willshowui>onerror</willshowui>
                <disk wcm:action="add">
                    <diskid>0</diskid>
                    <willwipedisk>true</willwipedisk>
                    <createpartitions>
                        <createpartition wcm:action="add">
                            <order>1</order>
                            <type>primary</type>
                            <size>350</size>
                        </createpartition>
                        <createpartition wcm:action="add">
                            <order>2</order>
                            <type>primary</type>
                            <extend>true</extend>
                        </createpartition>
                    </createpartitions>
                    <modifypartitions>
                        <modifypartition wcm:action="add">
                            <format>ntfs</format>
                            <label>system reserved</label>
                            <order>1</order>
                            <active>true</active>
                            <partitionid>1</partitionid>
                            <typeid>0x27</typeid>
                        </modifypartition>
                        <modifypartition wcm:action="add">
                            <active>true</active>
                            <format>ntfs</format>
                            <label>os</label>
                            <letter>c</letter>
                            <order>2</order>
                            <partitionid>2</partitionid>
                        </modifypartition>
                    </modifypartitions>
                </disk>
            </diskconfiguration>
            <imageinstall>
                <osimage>
                    <installto>
                        <diskid>0</diskid>
                        <partitionid>2</partitionid>
                    </installto>
                    <willshowui>onerror</willshowui>
                    <installtoavailablepartition>false</installtoavailablepartition>
                </osimage>
            </imageinstall>
            <userdata>
                <accepteula>true</accepteula>
                <fullname>localadmin</fullname>
                <organization>labnetwork</organization>
            </userdata>
            <enablefirewall>true</enablefirewall>
        </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">
            <diagnostics>
                <optin>false</optin>
            </diagnostics>
            <diskconfiguration>
                <willshowui>onerror</willshowui>
                <disk wcm:action="add">
                    <diskid>0</diskid>
                    <willwipedisk>true</willwipedisk>
                    <createpartitions>
                        <createpartition wcm:action="add">
                            <order>1</order>
                            <type>primary</type>
                            <size>100</size>
                        </createpartition>
                        <createpartition wcm:action="add">
                            <order>2</order>
                            <type>primary</type>
                            <extend>true</extend>
                        </createpartition>
                    </createpartitions>
                    <modifypartitions>
                        <modifypartition wcm:action="add">
                            <format>ntfs</format>
                            <label>system reserved</label>
                            <order>1</order>
                            <active>true</active>
                            <partitionid>1</partitionid>
                            <typeid>0x27</typeid>
                        </modifypartition>
                        <modifypartition wcm:action="add">
                            <active>true</active>
                            <format>ntfs</format>
                            <label>os</label>
                            <letter>c</letter>
                            <order>2</order>
                            <partitionid>2</partitionid>
                        </modifypartition>
                    </modifypartitions>
                </disk>
            </diskconfiguration>
            <imageinstall>
                <osimage>
                    <installto>
                        <diskid>0</diskid>
                        <partitionid>2</partitionid>
                    </installto>
                    <willshowui>onerror</willshowui>
                    <installtoavailablepartition>false</installtoavailablepartition>
                </osimage>
            </imageinstall>
            <userdata>
                <accepteula>true</accepteula>
                <fullname>localadmin</fullname>
                <organization>labnetwork</organization>
            </userdata>
            <enablefirewall>true</enablefirewall>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="microsoft-windows-security-spp-ux" 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">
            <skipautoactivation>true</skipautoactivation>
        </component>
        <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></computername>
            <productkey>xxxxxxxxxxxxx</productkey>
            <timezone>gmt standard time</timezone>
        </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></computername>
            <productkey>xxxxxxxy</productkey>
            <timezone>gmt standard time</timezone>
        </component>
    </settings>
    <settings pass="oobesystem">
        <component name="microsoft-windows-international-core" 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">
            <inputlocale>2057:00000809</inputlocale>
            <uilanguage>en-gb</uilanguage>
            <userlocale>en-gb</userlocale>
        </component>
        <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">
            <inputlocale>2057:00000809</inputlocale>
            <uilanguage>en-gb</uilanguage>
            <userlocale>en-gb</userlocale>
        </component>
        <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">
            <registeredowner>localadmin</registeredowner>
            <disableautodaylighttimeset>true</disableautodaylighttimeset>
            <firstlogoncommands>
                <synchronouscommand wcm:action="add">
                    <requiresuserinput>false</requiresuserinput>
                    <order>1</order>
                    <description>disable auto updates</description>
                    <commandline>reg add "hkey_local_machine\software\microsoft\windows\currentversion\windowsupdate\auto update" /v auoptions /t reg_dword /d 1 /f</commandline>
                </synchronouscommand>
                <synchronouscommand wcm:action="add">
                    <description>control panel view</description>
                    <order>2</order>
                    <commandline>reg add "hkey_current_user\software\microsoft\windows\currentversion\explorer\controlpanel" /v startuppage /t reg_dword /d undefined /f</commandline>
                    <requiresuserinput>true</requiresuserinput>
                </synchronouscommand>
                <synchronouscommand wcm:action="add">
                    <order>3</order>
                    <description>control panel icon size</description>
                    <requiresuserinput>false</requiresuserinput>
                    <commandline>reg add "hkey_current_user\software\microsoft\windows\currentversion\explorer\controlpanel" /v allitemsiconview /t reg_dword /d undefined /f</commandline>
                </synchronouscommand>
            </firstlogoncommands>
            <autologon>
                <password>
                    <value>uabhahmacwb3ag8acgbkadaamqbqageacwbzahcabwbyagqa</value>
                    <plaintext>false</plaintext>
                </password>
                <enabled>true</enabled>
                <username>localadmin</username>
            </autologon>
            <useraccounts>
                <localaccounts>
                    <localaccount wcm:action="add">
                        <password>
                            <value>uabhahmacwb3ag8acgbkadaamqbqageacwbzahcabwbyagqa</value>
                            <plaintext>false</plaintext>
                        </password>
                        <description>local admin</description>
                        <displayname>localadmin</displayname>
                        <group>administrators</group>
                        <name>localadmin</name>
                    </localaccount>
                </localaccounts>
            </useraccounts>
        </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">
            <registeredowner>localadmin</registeredowner>
            <oobe>
                <hideeulapage>true</hideeulapage>
                <networklocation>work</networklocation>
                <protectyourpc>1</protectyourpc>
                <hidewirelesssetupinoobe>false</hidewirelesssetupinoobe>
            </oobe>
            <disableautodaylighttimeset>true</disableautodaylighttimeset>
            <firstlogoncommands>
                <synchronouscommand wcm:action="add">
                    <requiresuserinput>false</requiresuserinput>
                    <order>1</order>
                    <description>disable auto updates</description>
                    <commandline>reg add "hkey_local_machine\software\microsoft\windows\currentversion\windowsupdate\auto update" /v auoptions /t reg_dword /d 1 /f</commandline>
                </synchronouscommand>
                <synchronouscommand wcm:action="add">
                    <description>control panel view</description>
                    <order>2</order>
                    <commandline>reg add "hkey_current_user\software\microsoft\windows\currentversion\explorer\controlpanel" /v startuppage /t reg_dword /d undefined /f</commandline>
                    <requiresuserinput>true</requiresuserinput>
                </synchronouscommand>
                <synchronouscommand wcm:action="add">
                    <order>3</order>
                    <description>control panel icon size</description>
                    <requiresuserinput>false</requiresuserinput>
                    <commandline>reg add "hkey_current_user\software\microsoft\windows\currentversion\explorer\controlpanel" /v allitemsiconview /t reg_dword /d undefined /f</commandline>
                </synchronouscommand>
            </firstlogoncommands>
            <autologon>
                <password>
                    <value>uabhahmacwb3ag8acgbkadaamqbqageacwbzahcabwbyagqa</value>
                    <plaintext>false</plaintext>
                </password>
                <enabled>true</enabled>
                <username>localadmin</username>
            </autologon>
            <useraccounts>
                <localaccounts>
                    <localaccount wcm:action="add">
                        <password>
                            <value>uabhahmacwb3ag8acgbkadaamqbqageacwbzahcabwbyagqa</value>
                            <plaintext>false</plaintext>
                        </password>
                        <description>local admin</description>
                        <displayname>localadmin</displayname>
                        <group>administrators</group>
                        <name>localadmin</name>
                    </localaccount>
                </localaccounts>
            </useraccounts>
        </component>
    </settings>
    <settings pass="offlineservicing" waspassprocessed="true"></settings>
    <settings pass="offlineservicing">
        <component name="microsoft-windows-lua-settings" 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">
            <enablelua>false</enablelua>
        </component>
    </settings>
    <cpi:offlineimage cpi:source="wim:e:/windows%20iso%20images/windows%202012%20r2/install.wim#windows server 2012 r2 serverstandard" xmlns:cpi="urn:schemas-microsoft-com:cpi"></cpi:offlineimage>
</unattend>

i don't seem able attach log file

thank help

hi,

    if remove line "<computername></computername>" unattended.xml file , re-try, work?

    "i don't seem able attach log file "

    can share log on onedrive example.

best regards,

jimmy


please remember mark replies answers if , unmark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.




Windows Server  >  Setup Deployment



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

0x300000d errors in Microsoft Remote Desktop client