Windows 8 or Windows Server 2012 installation may fail with error message: The product key entered does not match any of the Windows images available for installation. Enter a different product key
This problem can occur if the supplied product key does not 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 8 OEM machines ship with the product key in the firmware, and if that product key does not match the media then you will see the error message from above. For example: Installing a Windows Server 2012 on a Windows 8 OEM machine is likely to cause this problem.
Use notepad or similat to make a file called PID.txt and put the following in the file:
Place your windows 8 or Server 2012 key in where the X's are and save the file to the /sources directory in the root of your USB key.
The PID file overrides the pre-installed OEM key in the bios of your computer. Windows 8 or Server 2012 installation starts right up.