Coder Social home page Coder Social logo

windows10-autounattend's Introduction

Windows10 Autounattend

This project is optimized for installation via an USB stick. All available Windows updates and Manufacturer specific drivers for Lenovo are installed automatically. Also various software packages can be installed automatically via chocolatey. They default account after the installation is DeviceAdmin with the password password*

Create an USB Boot Device

To create a bootable USB stick I recommend one of the following tools. Ventoy has the advantage that several ISOs are available at the same time on a USB stick.

Ventoy

You should have this files in your program directory.

.
├── ventoy                                     # Base folder for ventoy configuration
├── ventoy/ventoy.json                         # Vento Configuration
├── ventoy/script/windows_autounattend1.xml    # Windows Auto Unattend Configuration
├── ISO                                        # Base folder for all ISO files
├── ISO/Windows.iso                            # The Windows ISO

Process Flow

  1. Check if an Internet connection is available
  2. Download the firststart.ps1 script
  3. Execute the firststart.ps1 script
    1. Install Windows Updates
    2. Install Hardware Manufacturer Updates
    3. Install Chocolatey Software Packages
  4. Check is a customize.ps1 script available and execute it

Error Handling

If the error dialog is displayed after the installation and the computer hangs in a loop after confirming, this can be fixed with this trick.

  1. When message appears, press SHIFT + F10 to open CMD
  2. Type: regedit.exe
  3. Browse to HKLM/SYSTEM/SETUP/STATUS/ChildCompletion in setup.exe, change the value from 1 to 3.
  4. Close the regedit window and confirm the error message dialog
  5. Windows will now reboot to the OS but will bypass your answer file.

Windows-International-Core

Setting Description
SystemLocale Specifies the language for non-Unicode programs
InputLocale Specifies the system input locale and the keyboard layout
UILanguage Specifies the system default user interface (UI) language
UserLocale Specifies the per-user settings used for formatting dates, times, currency, and numbers

Configuration Passes

Step Pass Description
1 windowsPE The Windows image is copied to the destination computer
2 offlineServicing After copy the image and before the computer reboots (not used in my project)
3 specialize Set language configuration, set hostname
4 oobeSystem Before Windows Welcome starts (Create User, Start Powershell Setup Script)

windows10-autounattend's People

Contributors

tinohager avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

leschi

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.