Giter Club home page Giter Club logo

Comments (6)

mwrock avatar mwrock commented on July 30, 2024

I've never encountered this before, but I always use the eval ISO and stick with the default locale/timezone. I'd be fairly certain this is either due to your specific ISO or the locale/timezone settings. I'm sure the product key is unrelated.

What I'd do is revert your locale/timezone changes and just see if that fixes it to isolate the settings from the ISO. I'm not sure what the fix would be other than it is somewhere in the autounattend.xml.

from packer-templates.

pfmoore avatar pfmoore commented on July 30, 2024

OK, thanks. I'll try that (so I just have my own ISO, but everything else unchanged) and see if that fixes it. If it does, I'll see if I can work out another way of making the changes I want post-install.

BTW, if I want to disable the windows update step (so I can run some tests in a reasonable length of time!) can I do that just by commenting out the Install-WindowsUpdate -AcceptEula line in scripts/package.ps1?

from packer-templates.

mwrock avatar mwrock commented on July 30, 2024

Yeah that should cut out about 6 hours :)

from packer-templates.

pfmoore avatar pfmoore commented on July 30, 2024

Sigh. Looks like it was from putting the language in autounattend.xml. Off to do some research on autounattend then...

Thanks for your help, and apologies for not researching more fully before raising the issue here.

from packer-templates.

mwrock avatar mwrock commented on July 30, 2024

no worries. The autounattend can be pretty cryptic indeed.

from packer-templates.

pfmoore avatar pfmoore commented on July 30, 2024

Looks like Windows these days comes without language packs included by default. If you change language manually, I guess it installs what it needs.

For information, should anyone else find this thread, the following powershell code can change the language:

Set-WinSystemLocale -SystemLocale en-GB
Set-WinSystemLocale en-GB 
Set-Culture en-GB
Set-WinUserLanguageList en-GB -force
Set-WinHomeLocation 242 # UK, US is 244

There's more (you need to download and install the language pack, and you need to somehow copy the current user values to the welcome screen and new user accounts (there's a GUI for that in the control panel, but I don't know what the powershell commands would be, yet), but the basic answer is that you can do it.

Add to that the fact that with DISM it appears you can activate an evaluation version with a full product key, and it looks like I can do all I need in a vagrant provisioning script from your base box (and then repackage the box for further customisation, if needed). Which is really cool.

from packer-templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.