Page 3 of 7 FirstFirst 12345 ... LastLast
  1.    04 Mar 2017 #21
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    I seem to still be struggling with this despite having updated my unattend.xml file I still get prompted on the language screen and for all the other screens after that.

    My unattend.xml looks as follows currenty:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="specialize">
            <component name="Microsoft-Windows-Deployment" 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">
                <ExtendOSPartition>
                    <Extend>true</Extend>
                </ExtendOSPartition>
            </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">
                <CopyProfile>true</CopyProfile>
                <ComputerName>RENAME</ComputerName>
                <TimeZone>GMT Standard Time</TimeZone>
                <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
            </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">
                <InputLocale>en-GB</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UserLocale>en-GB</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>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <ProtectYourPC>1</ProtectYourPC>
                </OOBE>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:d:/sort/downloads/dism/windows10enterpriseltsbwithoffice2016proplus.wim#C-Drive" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    What am I doing wrong here? When I validate the answer file in WISM I get no errors or warnings.
      My ComputerSystem Spec
  2.    04 Mar 2017 #22
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,950
    Windows 10 Pro

    Quote Originally Posted by xy677 View Post
    I seem to still be struggling with this despite having updated my unattend.xml file I still get prompted on the language screen and for all the other screens after that.

    I decided to test this, adding locale components as told in my post #16 to my normal answer file. The answer file used in this test:

    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="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">
                <OEMInformation>
                    <Logo>C:\Windows\System32\oemlogo.bmp</Logo>
                    <Manufacturer>Ten Forums</Manufacturer>
                    <SupportHours>24/7</SupportHours>
                    <SupportPhone>+44 123 456 7890</SupportPhone>
                    <SupportURL>https://www.tenforums.com</SupportURL>
                </OEMInformation>
                <CopyProfile>true</CopyProfile>
                <OEMName>Ten Forums</OEMName>
                <RegisteredOrganization>Ten Forums</RegisteredOrganization>
                <RegisteredOwner>Kari</RegisteredOwner>
                <TimeZone>W. Europe 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">
                <InputLocale>0809:00000809</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UILanguageFallback>en-GB</UILanguageFallback>
                <UserLocale>en-GB</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>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
                </OOBE>
                <TimeZone>W. Europe Standard Time</TimeZone>
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Password>
                                <Value>VABpAHQAeQBzAG8AZgB0ADEAUABhAHMAcwB3AG8AcgBkAA==</Value>
                                <PlainText>false</PlainText>
                            </Password>
                            <Description>Main User</Description>
                            <DisplayName>Kari</DisplayName>
                            <Group>Administrators</Group>
                            <Name>Kari</Name>
                        </LocalAccount>
                    </LocalAccounts>
                </UserAccounts>
            </component>
        </settings>
    </unattend>

    I installed Windows 10 PRO x64 Creators Update Build 15048 (released yesterday) on a test VM in Hyper-V booting to Audit Mode and sysprepped with above answer file twice, first with no users added in answer file, second time with a local admin account added (the highlighted part at the end of sample answer file was left out in first test, added in second test).

    First test, no users automatically added in answer file, it worked exactly as it should and I expected it to work, skipping OOBE completely and stopping frist in this screen:

    Click image for larger version. 

Name:	image.png 
Views:	2 
Size:	129.2 KB 
ID:	123639

    Second test, now with the initial local admin user added, again it worked like a charm, as expected, skipping OOBE and stopping first here, my local admin account already created setup is asking my preferred privacy settings:

    Click image for larger version. 

Name:	image.png 
Views:	2 
Size:	552.0 KB 
ID:	123637

    Clicking Accept, the next screen was this:

    Click image for larger version. 

Name:	image.png 
Views:	2 
Size:	763.3 KB 
ID:	123638

    Works perfectly, with or without users created in answer file.

    Notice that compared to screenshots of your answer file I changed one detail in locale settings: for InputLocale I used numerical values for English - United Kingdom instead of text value en-GB. The numerical values are given as XXXX:YYYYYYYY where XXXX is value in decimal, YYYYYYYY in hexadecimal. For English - United Kingdom this is 0809:00000809.

    For some reason unknown to me when InputLocale is given as text value it sometimes fails. I really have not a faintest clue why it does this, but as I have experienced it often enough I don't even think it anymore, I just use numerical value for InputLocale.

    Kari
      My ComputerSystem Spec
  3.    04 Mar 2017 #23
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,950
    Windows 10 Pro

    @xy677, was checking your answer file in post #21 and noticed something, a minor trivial detail but nevertheless worth mentioning:

    The CPI Source line is unnecessary, it will not be needed. When creating an answer file Windows SIM creates a catalogue file and adds this unnecessary line to the end of answer file referring either to the catalog file, or WIM file you are using.

    That line can and should be removed before you use the answer file. See the difference, here's the end of your answer file, unnecessary line highlighted:

    Code:
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:d:/sort/downloads/dism/windows10enterpriseltsbwithoffice2016proplus.wim#C-Drive" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    Compare it to end of answer file in my previous post:

    Code:
            </component>
        </settings>
    </unattend>

    Removing the line from your answer file makes reusing the file easier; you can use the same answer file on various hardware setups without needing to edit unnecessary code. Leaving the line in answer file is OK, too, doing no harm, as long as CPI source is correct, either a catalog (.clg) file or a WIM file. It's just that it is completely unnecessary.

    Kari
      My ComputerSystem Spec
  4.    04 Mar 2017 #24
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    Thanks for all your input. I've just created a new answer file and it still prompts me at the language screen for input.

    I've only just read your post about removing this line so will try this next:

    Code:
        <cpi:offlineImage cpi:source="wim:d:/install.wim#Windows 10 Enterprise 2016 LTSB" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    Also, I'm doing this with Windows 10 LTSB 1607...not sure if that matters?

    My new answer file looks like this (but I haven't removed the CPI line yet so will try that next):

    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="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">
                <CopyProfile>true</CopyProfile>
                <TimeZone>GMT Standard Time</TimeZone>
                <ComputerName>RENAME</ComputerName>
            </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">
                <InputLocale>0809:00000809</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UserLocale>en-GB</UserLocale>
                <UILanguageFallback>en-GB</UILanguageFallback>
            </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>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <ProtectYourPC>1</ProtectYourPC>
                    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
                </OOBE>
                <TimeZone>GMT Standard Time</TimeZone>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:d:/install.wim#Windows 10 Enterprise 2016 LTSB" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
      My ComputerSystem Spec
  5.    04 Mar 2017 #25
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,950
    Windows 10 Pro

    Please notice: when posting code, put it in [CODE] tags: [CODE]Answer file or other code here[/CODE]. Reading your answer file as you posted it now is a pain you know where


    Quote Originally Posted by xy677 View Post
    Also, I'm doing this with Windows 10 LTSB 1607...not sure if that matters?
    I have to download LTSB from MSDN, install it, get to Audit Mode and test. That will take some time but I promise I will do it today, starting download now.

    I just want to say that answer file I used in my earlier tests today and posted here worked without an issue, doing exactly what I wanted it to do when testing. I admit I tested with PRO edition, will now test with LTSB.

    Kari
      My ComputerSystem Spec
  6.    04 Mar 2017 #26
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    Heh, sorry, didn't know about the code tags so I have updated the post!

    I'm just busy testing as the moment with the CPI line removed so will report back shortly to let you know how it goes.

    Appreciate you testing this too!

    If I don't have any luck then I will try your answer file next...
      My ComputerSystem Spec
  7.    04 Mar 2017 #27
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,950
    Windows 10 Pro

    Quote Originally Posted by xy677 View Post
    I'm just busy testing as the moment with the CPI line removed so will report back shortly to let you know how it goes.
    CPI Source line in answer file is not the reason why it's not working for you. The line is unnecessary but even when left there totally harmless, doing nothing.

    Kari
      My ComputerSystem Spec
  8.    04 Mar 2017 #28
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    Quote Originally Posted by Kari View Post
    CPI Source line in answer file is not the reason why it's not working for you. The line is unnecessary but even when left there totally harmless, doing nothing.

    Kari
    Ok, yeah, it failed for me again using the following answer file with the CPI line removed:
    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="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">
                <CopyProfile>true</CopyProfile>
                <TimeZone>GMT Standard Time</TimeZone>
                <ComputerName>RENAME</ComputerName>
            </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">
                <InputLocale>0809:00000809</InputLocale>
                <SystemLocale>en-GB</SystemLocale>
                <UILanguage>en-GB</UILanguage>
                <UserLocale>en-GB</UserLocale>
                <UILanguageFallback>en-GB</UILanguageFallback>
            </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>
                    <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>
                    <HideOnlineAccountScreens>true</HideOnlineAccountScreens>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <ProtectYourPC>1</ProtectYourPC>
                    <UnattendEnableRetailDemo>false</UnattendEnableRetailDemo>
                </OOBE>
                <TimeZone>GMT Standard Time</TimeZone>
            </component>
        </settings>
    </unattend>
      My ComputerSystem Spec
  9.    04 Mar 2017 #29
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,950
    Windows 10 Pro

    Quote Originally Posted by xy677 View Post
    Ok, yeah, it failed for me again
    Can't see any errors in your answer file, just a strange computer name (RENAME). I guess that's an OK name if your purpose is to remind users to change the PC name.
      My ComputerSystem Spec
  10.    04 Mar 2017 #30
    Join Date : Aug 2015
    Posts : 60
    Windows 10
    Thread Starter

    Quote Originally Posted by Kari View Post
    Can't see any errors in your answer file, just a strange computer name (RENAME). I guess that's an OK name if your purpose is to remind users to change the PC name.
    Yeah, that was me that put that name in the answer file. Just a reminder.

    So I copied your answer file to my image and still get prompted at the language screen so I'm guessing I've screwed something up in my image or it's the version I'm using.

    I may just start over as I now have no idea what's going on!
      My ComputerSystem Spec

 
Page 3 of 7 FirstFirst 12345 ... LastLast


Similar Threads
Thread Forum
Performance & Maintenance Use DISM to Repair Windows 10 Image
How to Repair Windows 10 Image using DISM If a Windows image becomes unserviceable, you can use the Deployment Imaging and Servicing Management (DISM) tool to update the files and correct the problem. For example, you would use DISM to fix...
Tutorials
Windows 10 DISM tool - unable to find Source File
Hello everyone, I've been having a terrible time trying to diagnose and fix corrupted system files. I have recently updated to windows 10 during the free upgrade process. I was running Windows 7 Pro before I updated. I have tried...
Performance & Maintenance
Solved Error 0x800f081f when using DISM tool
Hello, Windows 10 power user here. I've been viewing help topics here for some time and found this forum very useful. However, there is one problem that I can't seem to solve. Whenever I use the DISM tool to repair Windows 10, I get the error...
Performance & Maintenance
Why doesn't Dism /Online /Cleanup-Image /RestoreHealth work Windows 10
Simply, why doesn't Dism /Online /Cleanup-Image /RestoreHealth work in Windows 10? Is there a way to get this or a similar command to self repair your installation in Windows 10? 48645
Performance & Maintenance
Windows Corrupted files sfc and DISM image recovery fails
Hello everyone I have been trying to fix my windows 10 corrupted files but I have been unabled to recover it. I tried every possible way of recovering using DISM commands, but to no avail. I tried also the sfc /scannow but as usual this command...
General Support
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 09:24.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums