1.    1 Week Ago #1
    Join Date : Sep 2015
    Posts : 4
    Windows 10 Pro

    Problem with Windows 10 unattended answer file?


    The problem with my answer is that following error message appears "Windows cannot read the <ProductKey> setting from the unattend answer file". Can someone help me with this problem? Can I somehow skip this product key part in the answer file?

    Here is my answer file.

    HTML Code:
      <DiskConfiguration>
                    <Disk wcm:action="add">
                        <CreatePartitions>
                            <CreatePartition wcm:action="add">
                                <Order>1</Order>
                                <Size>200</Size>
                                <Type>EFI</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Order>2</Order>
                                <Size>128</Size>
                                <Type>MSR</Type>
                            </CreatePartition>
                            <CreatePartition wcm:action="add">
                                <Order>3</Order>
                                <Extend>true</Extend>
                                <Type>Primary</Type>
                            </CreatePartition>
                        </CreatePartitions>
                        <WillWipeDisk>true</WillWipeDisk>
                        <DiskID>0</DiskID>
                        <ModifyPartitions>
                            <ModifyPartition wcm:action="add">
                                <Extend>true</Extend>
                                <Format>NTFS</Format>
                                <Label>Windows</Label>
                                <Letter>C</Letter>
                                <Order>3</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                            <ModifyPartition wcm:action="add">
                                <Active>true</Active>
                                <Label>System</Label>
                                <Order>1</Order>
                                <PartitionID>1</PartitionID>
                            </ModifyPartition>
                        </ModifyPartitions>
                    </Disk>
                </DiskConfiguration>
                <ImageInstall>
                    <OSImage>
                        <InstallTo>
                            <DiskID>0</DiskID>
                            <PartitionID>3</PartitionID>
                        </InstallTo>
                        <InstallFrom>
                            <MetaData wcm:action="add">
                                <Key>/image/index</Key>
                                <Value>8</Value>
                            </MetaData>
                        </InstallFrom>
                    </OSImage>
                </ImageInstall>
                <UserData>
                    <AcceptEula>true</AcceptEula>
                </UserData>
            </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>
                    <WillShowUI>Never</WillShowUI>
                </SetupUILanguage>
                <InputLocale>sv-FI</InputLocale>
                <SystemLocale>sv-FI</SystemLocale>
                <UILanguage>en-US</UILanguage>
                <UILanguageFallback>en-US</UILanguageFallback>
                <UserLocale>sv-FI</UserLocale>
            </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>MQBQAGEAcwBzAHcAbwByAGQA</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <Enabled>true</Enabled>
                    <LogonCount>5</LogonCount>
                    <Username>Administrator</Username>
                </AutoLogon>
                <ComputerName>Computer</ComputerName>
                <TimeZone>FLE Standard Time</TimeZone>
                <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
            </component>
            <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="wow64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <StartPages>
                    <StartPage wcm:action="add">
                        <StartPageKey>1</StartPageKey>
                        <StartPageUrl>http:\\www.google.fi</StartPageUrl>
                    </StartPage>
                </StartPages>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <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">
                <FirstLogonCommands>
                    <SynchronousCommand wcm:action="add">
                        <CommandLine>\Software\Silverlight_x64.exe /q</CommandLine>
                        <Order>1</Order>
                    </SynchronousCommand>
                </FirstLogonCommands>
                <OOBE>
                    <HideEULAPage>true</HideEULAPage>
                    <HideLocalAccountScreen>true</HideLocalAccountScreen>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <NetworkLocation>Home</NetworkLocation>
                    <ProtectYourPC>1</ProtectYourPC>
                    <SkipMachineOOBE>true</SkipMachineOOBE>
                    <SkipUserOOBE>true</SkipUserOOBE>
                </OOBE>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>IABQAGEAcwBzAHcAbwByAGQA</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Group>Administrators</Group>
                            <Name>Admin</Name>
                            <DisplayName>Admin</DisplayName>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:d:/system/wininstall/win10pro/install/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
      My ComputerSystem Spec
  2.    1 Week Ago #2
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,979
    Windows 10 Pro

    Click image for larger version. 

Name:	SWE-FlagOrb80.png 
Views:	14 
Size:	8.7 KB 
ID:	163113

    Hej Ken. Din svarfil antyder att du är också en Finlandsvensk. Välkommen till Ten Forums!


    Click image for larger version. 

Name:	EN-US_FlagOrb80.png 
Views:	14 
Size:	15.6 KB 
ID:	163114

    Hi Ken. Your answer file suggests that you are a fellow Finland Swede. Welcome to Ten Forums!


    Quote Originally Posted by Ken76 View Post
    The problem with my answer is that following error message appears [B]"Windows cannot read the <ProductKey> setting from the unattend answer file".
    That error is because there's no generic product key or MAK key in your answer file. It is obligatory in autounattend.xml answer file, the one that takes care of first phase of Windows setup, partitioning and installing.

    Please see step 3.9 in following tutorial for how to add key in answer file: Create media for automated unattended install of Windows 10

    Kari
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Creating Answer File For Windows 10 1703/1709
Hello All, Hoping that you have a nice day, i moved to IT department at my company , dealing with several notebooks every day needing a fresh installation is a little bit hard and wasting a lot of time so i started to search how to automate the...
Installation and Upgrade
Solved Windows could not parse or process unattend answer file for pass...
My manufacturer gave me images and scripts that deploy image in notebook. I installed Win10 in it but it got an error during setup. I found out that it caused by Unattend.xml file. Some said that it solved the problem by removing the component line...
Installation and Upgrade
Windows 10 XML file generator for unattended setup
Anyone ran across a Windows 10 XML file generator for unattended setup? That Works!!!:D
Installation and Upgrade
Answer File migration from Windows 7 to Windows 10
Good Day, Hoping someone can shed some light. We are moving towards a Windows 10 Enterprise upgrade in the near future, and planning on deployment steps. We currently have a highly customized Windows 7 Answer file created, which took much...
Installation and Upgrade
windows 10 autoattended file ( answer file )
Do you have any idea how to create Windows 10 autoattended file ? It is normal for system builder use. Any help would be appreciated.:):)
Installation and Upgrade
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 11:27.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums