大网数据广告活动
启动与系统组件

Error The product key entered does not match any of the Windows images during Windows installation

· 52CE 我爱测

Describes an issue where you receive an error message during the installation of Windows.

This article describes the The product key entered does not match any of the Windows images available for installation. Enter a different product key error that occurs when you install Windows.

Original KB number:   2796988

Symptoms

During the installation of Windows, the setup may fail after prompting for language and keyboard selections. Additionally, you may receive the following error message:

The product key entered does not match any of the Windows images available for installation. Enter a different product key.

Cause

This problem can occur if the supplied product key doesn't match the media that is being used to install Windows. The supplied product key may be in an unattended file, in the EI.CFG file, in the PID.txt file, or in the firmware of the BIOS. Windows computers that come with the operating system installed ship with the product key in the firmware, and if that product key doesn't match the media, you'll see the error message above.

For example: Installing Windows Server on a computer than came from the manufacturer with Windows 10 installed is likely to cause this problem.

Resolution

To resolve this problem, use one of the following methods that applies to the scenario:

  1. If there's an Unattend file, Edition Configuration (EI.cfg) file or the Product ID (PID.txt) file on the system, change the product key to the correct one for the media you're trying to install.
  2. If the system has a Product key in the Motherboard (O. A. 3.0 [OEM Activation] supplies an OEM product key in the firmware) you should use an Unattend file, Edition Configuration (EI.cfg) file or the Product ID (PID.txt) file.

More information

When installing Windows, setup.exe uses the following priority logic for product keys:

  1. Answer file (Unattended file, EI.cfg, or PID.txt)
  2. OA 3.0 product key in the BIOS/Firmware
  3. Product key entry screen

If a key is supplied, the key is attempted to be use with the image that is available on the media being installed. If the supplied product key doesn't match step 1 from above logic, an image in the WIM file, then the setup will fail with the error message mentioned in Symptoms section. If there's no product key supplied in the step 1 and step 2, you'll get the product key prompt during setup.

Note:

  • Volume License media supplies a product key with the media so it succeeds with step 1 logic.
  • You should not see this issue with Volume License media unless you are using an Unattend file or have modified files on the media to change or replace the EI.cfg or PID.txt.
  • How to drop a PID.txt with the product key specified: Windows Setup Edition Configuration and Product ID Files (EI.cfg and PID.txt)

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for deployment-related issues.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。