LogoLogo
OSDeploy.comTwitterPowerShell GalleryGitHub
  • Overview
  • OSDeploy Home
  • Module
    • Release Information
      • 2019-01
      • 2018-12
      • 2018-11
      • 2018-10
      • 2018-09
      • 2018-08
      • 2018-07
    • Functions
      • Main
        • Get-OSBuilder
          • Set Path
      • Maintenance
        • Repair-OSBuildTask
      • OSBMedia
        • New-OSBMediaISO
        • New-OSBMediaUSB
        • Show-OSBMediaINFO
      • OSBUpdate
        • Get-OSBUpdate
        • New-OSBUpdate
      • OSMedia
        • Get-OSMedia
        • Import-OSMedia
          • Batch Import-OSMedia
        • Update-OSMedia
          • Execute
      • OSBuild
        • New-OSBuildTask
          • Remove Appx Provisioned Package
          • Remove Windows Package
          • Remove Windows Capability
          • Disable Windows Optional Feature
          • Enable Windows Optional Feature
        • New-OSBuildTask (External Content)
          • Features On Demand
          • Language Packs
          • IsoExtract Content
          • Language Interface Packs
          • Language Features On Demand
          • Local Experience Packs
          • PowerShell Scripts
            • Update-OneDriveSetup
        • New-OSBuildTask (WinPE)
          • WinPE DaRT
          • WinPE Drivers
          • WinPE PowerShell Scripts
          • WinPE Extra Files
          • WinPE ADK Packages
        • New-OSBuild
      • PEBuild
        • New-PEBuildTask
          • Recovery
          • WinPE
          • MDT
        • New-PEBuild
    • PowerShell Gallery
    • GitHub
  • Docs
    • Reviews
    • Fan Requests
    • Quick Start
    • Tips
      • Task Naming
      • Verbose Logging
      • OSMedia Archive
      • OSMedia Updating
      • OSMedia Failed UBR Change
      • Windows Setup Wallpaper
    • Articles
      • Latest Latest Cumulative Update (Latest LCU)
      • Update Catalogs
      • Windows Setup with DaRT Remote Connection
      • Offline Servicing
      • Servicing Stacks
      • Work with Languages
      • DISM Cleanup Image Pending Operations
      • Win10 1607 Appx Issues
      • Updating an Updated WIM
      • OSBuilder OS Information
      • What Should I Update?
      • Windows 10 Setup and the ei.cfg
      • Automating Windows Update Downloads
      • Solutions
    • Recycle Bin
      • Instructions
        • Detailed
          • pebuild
            • scripts
              • Set-TimeZone
            • WinPE Types
              • Recovery
              • Recovery DaRT
              • Windows PE
              • MDT
            • Auto ExtraFiles
            • Drivers
              • RegAdd ActivePowerScheme
              • RegAdd AeroLite Theme
              • RegAdd Browse
              • RegAdd PowerShell ExecutionPolicy
            • ExtraFiles
              • Wallpaper
          • Update
      • OSBuilder New-OSBTemplate
      • OSBuild Templates
    • Guides
      • OSBuild Arcade
        • Frogger
      • OSBuild Templates
      • OSBuild Registry
      • Windows 7 SP1
        • Import OSMedia
        • Download Updates
        • NVMe Hotfix
        • Update OSMedia
        • ISO Testing
      • Windows 10 1809 RSAT Capability
      • registry
        • OSBuild Registry REG
          • Certificates
        • OSBuild Registry XML
    • The Basics
      • Requirements
      • Installation
      • Support
      • Get Started
      • Update OSBuilder
      • Import an OS
      • OS Information
      • Update an OS
      • Update an OS (Process)
      • Create External Media
        • Create an ISO
        • Create a USB
      • Create an OSBuild
Powered by GitBook
On this page
  • ei.cfg
  • Install.wim Multi-Index and ei.cfg with EditionID
  • Install.wim Single-Index and ei.cfg without EditionID
  • Install.wim Multi-Index and ei.cfg without EditionID with AutoUnattend.xml Key
  • Upgrade Issues
  • OSDeploy Recommendation

Was this helpful?

  1. Docs
  2. Articles

Windows 10 Setup and the ei.cfg

PreviousWhat Should I Update?NextAutomating Windows Update Downloads

Last updated 5 years ago

Was this helpful?

Windows 10 1709 and 1803 Volume License media includes multiple Indexes in the WIM. When booting one of these ISO's in a VM and starting Windows Setup, we can see the different options for installation. This screen was not displayed prior to 1709 as those ISO's contain a single Index in the WIM.

ei.cfg

Additionally, older Media had a file called ei.cfg in the SOURCES directory which contained the EditionID (ei). Since Multi Index ISO's contain multiple versions of Windows, this file does not contain the EditionID.

Install.wim Multi-Index and ei.cfg with EditionID

I can modify the ei.cfg by adding the EditionID and then create a new ISO. During Windows Setup, I am not prompted to select an Edition, even though my install.wim has multiple Indexes.

Install.wim Single-Index and ei.cfg without EditionID

The Install.wim only has the Enterprise Index, and the ei.cfg does not contain the EditionID. In this case, no prompt to select an Edition.

Install.wim Multi-Index and ei.cfg without EditionID with AutoUnattend.xml Key

Because why not. In this example I have added the KMS Client Setup Key to a simple AutoUnattend.xml

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="windowsPE">        <component name="Microsoft-Windows-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">            <UserData>                <ProductKey>                    <Key>NPPR9-FWDCX-D2C8J-H872K-2YT43</Key>                </ProductKey>            </UserData>        </component>    </settings></unattend>

Windows Setup knows which Key corresponds with the proper Edition

Windows Setup with Key in AutoUnattend.xml

Upgrade Issues

Adam Gross encountered an issue when upgrading Windows 7 to Windows 10 in a CM Task Sequence that started happening on version 1709 (Multi Index)

According to Microsoft, the product key is not required, but apparently in the case of a Multi-Index Install.wim you have to.

OSDeploy Recommendation

To reduce the risk of any issues, always include the proper KMS Client Setup Key in the Task Sequence. No changes to OSBuilder to modify the ei.cfg are planned unless I receive confirmation that it needs to be edited. Since all OSMedia imported in OSBuilder is a Single Index, it appears that this issue will not occur.

​

​​

​​

http://www.asquaredozen.com/2018/01/16/windows-7-windows-10-fall-creators-update-1709-place-upgrade-fails-error-0xc1900204-invalid-sku/
See this link for more information