Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Windows 10 still asking for region #257

Open
red8888 opened this issue Dec 29, 2017 · 3 comments
Open

Windows 10 still asking for region #257

red8888 opened this issue Dec 29, 2017 · 3 comments

Comments

@red8888
Copy link

red8888 commented Dec 29, 2017

Trying to build a new win10 eval:

packer build \
    -only=virtualbox-iso \
    -var iso_url=./iso/16299.15.170928-1534.rs3_release_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso \
    -var iso_checksum=3b5f9494d870726d6d8a833aaf6169a964b8a9be \
    windows_10.json

Im running into this same issue: #239

But I have the latest version and confirmed the autounattend has the region in it.

...
            </ImageInstall>
        </component>
        <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
            <SetupUILanguage>
                <UILanguage>en-US</UILanguage>
            </SetupUILanguage>
            <InputLocale>en-US</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UILanguageFallback>en-US</UILanguageFallback>
            <UserLocale>en-US</UserLocale>
        </component>
    </settings>
    <settings pass="offlineServicing">
        <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
            <EnableLUA>false</EnableLUA>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
            <UserAccounts>
                <AdministratorPassword>
...

Im on mac high Sierra if that matters

@red8888
Copy link
Author

red8888 commented Dec 29, 2017

Realized that config block is under the wrong component- duh i should have noticed. Weirdly though I can see that someone fixed this and merged, but maybe someone broke it again? I moved it under oobeSystem and now it works. Oh and SetupUILanguage is not valid (at least not under the oobeSystem pass) so remove that

@dev-rowbot
Copy link

dev-rowbot commented Feb 1, 2018

@red8888 I just hit the same issue, it seems like the fix is in the my branch but not the master branch

EDIT: Sorry, I was looking at another repo at the same time so I have some comment cross-pollination going on! The fix is in the my branch of https://github.com/StefanScherer/packer-windows
That fork is worth having a look a though as there has been a lot of activity.

@dfranciscus
Copy link

Ahh thanks for this! Was driving me nuts for 4 hours!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants