EI.cfg and PID.txt.

or how-to automatically specify which Windows version and what Product Key to use.

To partially automate the Windows Setup, you can use an ei.cfg and a PID.txt file.

The "Edition Configuration" ("EI.cfg"-file) AND The "Product ID" ("PID.txt"-file) are /OPTIONAL/ configuration files that you can use to AUTOMATICALLY SPECIFY:

  • Which Windows® EDITION (Pro VL vs Ent, etc.) to automatically install.

AND

  • What Windows Product Key to use (ie. to automate the Serial Number entry page),
    during the Windows Setup.
  • IF you only use an ei.cfg AND you don't use a PID.txt
    THEN –> you will be prompted to supply a Windows Product Key during the Windows Setup.

Note: it is highly likely your Windows Setup media (DVD, USB Key), already has an ei.cfg file included.

Now, to partially automate the install Windows Setup, you might wish to use a PID.txt file and add to it your Windows Product Key.

There are some special types of Product Keys that you can use just for the sake of getting Windows installed.

These special Product Keys are known as “Windows Setup KMS Product Keys” and they are publicly available at the following address:

http://technet.microsoft.com/en-us/library/jj612867.aspx

 

ei.cfg Example.

ei.cfg:

[EditionID] Enterprise
[Channel] OEM
[VL] 0

  • Which EditionID to install? –> “Dism /Get-ImageInfo”
  • {Channel Type} must be either "OEM" or "Retail" (depending on your install media).

  • {Volume License} must be either 1, if this is a volume license, or 0, if this is not a volume license (again, depending on your install media).

 

PID.txt Example.

PID.txt:

[PID] Value=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

My favourite Windows Setup KMS Product Keys:

Windows Edition KMS Product Key
Windows 7 Professional FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
Windows 7 Enterprise 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Windows 8 Professional NG4HW-VH26C-733KW-K6F98-J8CK4
Windows 8 Enterprise 32JNW-9KQ84-P47T8-D8GGY-CWCK7
Windows 8.1 Professional GCRJD-8NW9H-F2CDX-CCM8D-9D6T9
Windows 8.1 Enterprise MHF9N-XY6XB-WVXMC-BTDCT-MKKG7
Windows Server 2008 R2 Standard YC6KT-GKW9T-YTKYR-T4X34-R7VHC
Windows Server 2008 R2 Enterprise 489J6-VHDMP-X63PK-3K798-CPX3Y
Windows Server 2012 Standard XC9B7-NBPP2-83J2H-RHMBY-92BT4
Windows Server 2012 R2 Essentials KNC87-3J2TX-XB4WP-VCPJV-M4FWM
Windows Server 2012 R2 Server Standard D2N9P-3P6X9-2R39C-7RTCD-MDVJX
Windows Server 2012 R2 Datacenter W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9

Note: these keys are only good to automate the Windows Setup process.
AFTER Windows has been installed, you will have to:
1. Enter your own Product Key.
2. Activate Windows.

 

To use ei.cfg and PID.txt, simply Open Notepas and copy/paste adjusting accordingly to your needs.
Q: Where to place ei.cfg and/or PID.txt
A: Within the "SOURCES"-Folder (on your installation media).

 

[BONUS] How-to Install Win8.1 Pro with a Win8Pro Key.

TIP: IF you have a Windows 8 Product Key AND you wish to INSTALL Windows 8.1Pro DIRECTLY (ie. WITHOUT downloading it thru the Store - by performing a clean install).

  1. Install WIndows 8.1 with one of the Windows Setup KMS Product Keys (ie. for Win8.1 Pro, use GCRJD-8NW9H-F2CDX-CCM8D-9D6T9).
  2. (After Windows Setup is complete and booted): Open System –> “Windows Activation”.
  3. Select Activate then insert your Windows 8 Product Key.

SRC: http://www.techmesto.com/install-windows-8-1-without-product-key/

That’s it for now.

On a future post, I will show you how to fully automate the Windows Setup by using an unattended file.

Rate this post

Ask me anything