Windows 10: Windows 10 ADK config - Help

  1.    12 Jul 2017 #1

    Windows 10 ADK config - Help

    Hello :)

    I'm trying to create unattended answer file for windows 10. (to use with sysprep)
    I'm using the ADK 1703 version.
    Everything is fine expect the language configurations (Microsoft-windows-international-Core-WinPe_10.0.15063.0_natural)
    I want to achieve this: everything is en-US, besides time and currency format: he-IL (Hebrew Israel), and only 2 keyboard layout: US and Hebrew, that’s it.
    In win 7 it's simple, you can get this (in the install process) if you set this parameters:

    Language to install: English
    Time and currency format: Hebrew (Israel)
    Keyboard or input methods: US

    Well, I configured the windows-international-Core-WinPe…. Like this:

    InputLocale: en-US
    SystemLocale: en-US
    UILanguage: en-US
    UserLocale he-IL
    And in setup UILanguage:
    UILanguage: en-US
    WillShowUI: OnError

    When the system boot's up (after Sysprep /oobe /generalize /shutdown /unattend:c:\windows\system32\sysprep\unattend.xml)

    It stop's (every time, I changed the parameters, didn't help) and verifies the language setting with me.
    And the most important thing is the wrong settings.
    In the region section: the format is English (Israel)
    And I have 2 keyboard layouts: English (United States ) and English (United Kingdom)
    No Hebrew keyboard, I tried to change the settings, InputLocale: en-US; he-IL (didn’t help)

    Maybe I'm doing something wrong ?

    Thank you J
      My ComputerSystem Spec

  2.    12 Jul 2017 #2

    @Kari the Finn is one of our reigning experts on SysPrep. Perhaps he might have a suggestion as to how you might proceed. Kari?
      My ComputersSystem Spec

  3. Kari's Avatar
    Posts : 14,794
    Windows 10 Pro
       12 Jul 2017 #3

    Hi Blizzard, welcome to Ten Forums.

    You mistake is that you are using a correct image component in wrong answer file. A simplified explanation:

    Windows setup is done in three phases:
    1. Installation (boot from install media, system region and keyboard selection, product key, partitioning, install), restart when done
    2. Device configuration, restart when done (no user interaction required)
    3. Windows Welcome a.k.a OOBE (user region and keyboard selection, initial user account, privacy, OneDrive), enter desktop

    You can automate phases 1 and 3 with two separate answer files. To automate region and keyboard selection for system accounts in phase 1, you need to prepare an answer file naming it as autounattend.xml and store it on the root of your custom Windows 10 install media. You sysprep with unattend.xml, taking care of phase 3 OOBE, then capture the install image and create your custom install media. Now prepare autounattend.xml for phase 1 installation, place it on root of this install media and you are done.

    Two answer files, one to take care of phase 1 installation, one to take care of phase 3 OOBE. Notice that autounattend.xml will not be used when sysprepping.

    The component you have used (green highlight in below screenshot) Microsoft-Windows-International-Core-WinPe must and can only be used inautounattend.xml, in Pass 1 WindowsPE.

    Click image for larger version. 

Name:	image.png 
Views:	26 
Size:	502.0 KB 
ID:	143640

    With Sysprep you can then automatize phase 3 using another file unattend.xml as you have done. However, now you must use another component with almost similar name (yellow highlight in above screenshot) Microsoft-Windows-International-Core. In this answer file it must and can only be placed in Pass 7 OOBESystem.

    Notice the missing WinPE in component name, compared to component you have used.

    Short: regional settings in your answer file will do nothing, will completely be ignored because you have used component which can only be used in autounattend.xml in phase 1. Your unattend.xml only handles phase 3. That's why for instance regional settings are missing he-IL option; Hebrew - Israel keyboard layout is not shown by default in phase 1 regional selection in English install media because it contains no autounattend.xml file with custom regional settings, therefore only the defaults are shown.

    Last edited by Kari; 12 Jul 2017 at 16:05.
      My ComputerSystem Spec

  4.    13 Jul 2017 #4

    Hello Kari,

    First off all I want to thank you for your response.

    Well, what you say is pure logic, when you use sysprep, you're skiping the installation phase of windows

    Therefore, the entire configuration of phase 1 you've made are ignored.

    Why do I get different results ?

    When I configure the setting to en-US (all of them) and when "UserLocale: he-IL".

    Why It works fine with windows 7 ? AIK/ADK I don't see any difference in the answer file creation part.

    I don't want to use installation media, I want to sysprep the machine, capture the image of it.

    Thank you
      My ComputerSystem Spec

  5. Kari's Avatar
    Posts : 14,794
    Windows 10 Pro
       13 Jul 2017 #5

    blizzzard said: View Post
    Why do I get different results ?

    When I configure the setting to en-US (all of them) and when "UserLocale: he-IL".

    Why It works fine with windows 7 ? AIK/ADK I don't see any difference in the answer file creation part.
    First, nothing ( repeat: nothing!) has changed in sysprep process and answer files used in Windows 10, it's done exactly as in Windows 7.

    As I told you, you can't use Microsoft-Windows-International-Core-WinPe component in unattend.xml answer file which you use with Sysprep. You must use Microsoft-Windows-International-Core component instead.

    Read my previous post once again, with thought. This is what I tried to explain to you:

    The component Microsoft-Windows-International-Core-WinPe is and can only be used in installation phase, to skip regional settings for system accounts here:

    Click image for larger version. 

Name:	image.png 
Views:	21 
Size:	107.7 KB 
ID:	143743

    It must be used in answer file autounattend.xml which is stored on root of the install media. It can't be used in answer filke unattend.xml which you use with Sysprep. This is the culprit for your issue, you have used this WinPE component in an answer file it should not be used.

    The component Microsoft-Windows-International-Core is and can only be used in OOBE phase, to skip regional settings for initial user account here:

    Click image for larger version. 

Name:	image.png 
Views:	21 
Size:	128.1 KB 
ID:	143744

    It will be used in answer file unattend.xml which you use with Sysprep.

    (Screenshots from Ten Forums tutorial Clean Install Windows 10 Windows 10 Installation Upgrade Tutorials )

    You have used the component for installation phase wrongly in answer file for OOBE phase. You must change that.

      My ComputerSystem Spec

  6.    13 Jul 2017 #6

    Hi Kari,
    I used Microsoft-Windows-International-Core component in pass 7 and it's working now :)
    Please don't get mad at me, I know that I made a stupid mistake and i feel ashamed.
    The last time I created answer file was in 2014, but no excuses, pre installation environment was always the same..
    Thank you very much, have a nice weekend
      My ComputerSystem Spec

  7. Kari's Avatar
    Posts : 14,794
    Windows 10 Pro
       13 Jul 2017 #7

    Of course I'm not mad. Good to know you got it working.
      My ComputerSystem Spec


Related Threads
Windows 10 Tweak Config File for services in Performance & Maintenance
Back in the day i used to download a tweaked Config file that will disable all the unwanted services. I think black Viper used to have one. Is there anyway this can be done or anything for windows 10? They have just way too many services. Thanks all
Bad system Config in BSOD Crashes and Debugging
I was trying to access my windows OS folder in linux (ubuntu unity version) .So I tried to access it using the command sudo ntfs fix /dev/sda5 . but later when i swiched to windows then it showed a BSOD displaying bad sytem config .Can someone...
Windows reset to original config every boot in Installation and Upgrade
I was working with my computer the other day and it rebooted spontaneously. When it did I got a "Preparing Windows" or "Configuring Windows" message after I logged in and when if finished I was back at the very first Windows set up. None of my...
BAD SYSTEM CONFIG in General Support
I upgraded to laptop windows 10, and when I try to restart the error message "BAD SYSTEM CONFIG", the system automatically goes to the manager recovery menu, but will not accept my password for the microsoft account. I have changed it using my...
Right now, my computer is running windows 8.1/windows 7 in dual boot. Only my windows 7 is eligible for windows 10. What is the easiest way of installing windows 10 on my windows 8.1 partition instead of my windows 7 so i can dual boot windows...
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 01:20.
Find Us