Create Windows 11 Installation Media

Force Edition Selection

Create an ei.cfg file to enable edition selection

  • Open you Windows(e.g., Windows 11 or 10) installation USB or ISO file Explorer.
  • Create a new test file named ei.cfg.
  • Save this ei.cfg file to the \sources folder on your bootable USB drive.
[Channel]
_Default
[VL]
0
[EditionID]
[Channel]
Retail
[VL]
0

Change Version

Registry File

Type regedit into the Windows 10 desktop search, and select the appropriate item in the results. Navigate to this key:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EditionID
  • Pro
  • IoTEnterpriseS
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName
  • Windows 10 Professional
  • Windows 10 IoT Enterprise 2021 LTSC

Windows Product Key

Command Prompt

The most direct method for finding your Windows 10 product key is from the command line.

  • Typecmd into the Windows 10 desktop search box.
  • Then, right-click the command line result.
  • Select run as administrator from the context menu.
  • Type this command at the prompt:
> wmic path softwareLicensingService get OA3xOriginalProductKey

PowerShell

If you are using Windows 10 PowerShell, the process is similar:

  • Right-click the Start Menu button.
  • Select Windows PowerShell (Admin) from the context menu.
  • Type this command at the prompt to reveal the product key.
> powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"

Registry File

Type regedit into the Windows 10 desktop search, and select the appropriate item in the results. Navigate to this key:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

Activate Windows / Office

Open PowerShell by searching for “PowerShell” in the Start menu and selecting “Windows PowerShell” or “PowerShell (x86)”.

> irm https://get.activated.win | iex
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus