With these instructions you can change your Windows XP installation media to allow OEM, Retail, or Volume License product keys.
Unlocking WinXP’s setupp.ini
WinXP’s setupp.ini controls how the CD acts. IE is it an OEM version or
retail? First, find your setupp.ini file in the i386 directory on your
WinXP CD. Open it up, it’ll look something like this:
The Pid value is what we’re interested in. What’s there now looks like
a standard default. There are special numbers that determine if it’s a
retail, oem, or volume license edition. First, we break down that
number into two parts. The first five digits determines how the CD will
behave, ie is it a retail cd that lets you clean install or upgrade, or
an oem cd that only lets you perform a clean install? The last three
digits determines what CD key it will accept. You are able to mix and
match these values. For example you could make a WinXP cd that acted
like a retail cd, yet accepted OEM keys.
Now, for the actual values. Remember the first and last values are interchangable, but usually you’d keep them as a pair:
Retail = 51882335
Volume License = 51883 270
OEM = 82503 OEM
So if you wanted a retail CD that took retail keys, the last line of your setupp.ini file would read:
And if you wanted a retail CD that took OEM keys, you’d use:
Note that this does NOT get rid of WinXP’s activation. Changing the Pid
to a Volume License will not bypass activation. You must have a volume
license (corporate) key to do so.
A Windows product ID [currently, as of the XP Home/Pro/Server 2003 era] has the following format: xxxxx-yyy-zzzzzzz-zzzzz
The ‘xxxxx’ component
The xxxxx section, which I will now call the “OS type”, from what I understand, determines the flavor of Windows version.
Here is my current list of OS type IDs:
55274 : XP Professional (Corporate/Academic)
55285 : XP Professional*
55276 : XP Home (?)**
55277 : XP Home
51873 : 2000 Professional
76487 : Media Center Edition 2005 (or XP Professional Royalty OEM***)
76477 : XP Home (Royalty OEM***)
The current OS ID can be gotten by various methods:
* If the destination computer’s operating system works well enough
[even in safe mode], you can get it by right-clicking My Computer,
clicking Properties, and reading the long ID number that appears under
* You can use the command reg query “hklmsoftwaremicrosoftwindows
ntcurrentversion” /v ProductID if you’re at a command prompt (CMD.EXE).
* If the destination computer does not work very well, you can get
it by attaching the hard drive to a working machine, and mount the hive
by highlighting HKEY_LOCAL_MACHINE in regedit, and choosing File ;
Load Hive. Then you can surf your way to the machine’s
system32configSOFTWARE hive. It will ask you what key to mount; you
then give it any name you like, and it will appear under your own HKLM.
You then click your way to SoftwareMicrosoftWindows NTCurrentVersion
(then you will see ProductID on the right). Don’t forget to highlight
the top key of the mounted hive, and go to File; Unload Hive when
* Finally, you can actually find the ID you need [sometimes] if you
check for the presence of either C:i386setupp.ini or
Below is a list of OEM CD keys. Use the keys to create a Dell, Compaq,
IBM, restore cd that skips product registration. You will need to
replace the BIOS files in the I386 and change the setupp.ini file to
match the key used. For example the Dell WIndows XP Home cd uses
List of OEM CD Keys:
Shanghai version VOL integrates SP2
505M first edition
LEGEND: SLP=LEGEND Dragon
Family version: PWBPT-6PGKF-TP6MY-299P4-CPXQG (XXXXX-119-0001544-XXXXX)
Professional version: FCDGH-QW3DJ-VBC6C-9BYTX-4GKQJ (XXXXX-119-0001553-XXXXX)
DELL: SLP=DELL Mitac HuaShan Era-1.
DELL Mitac Spiderman Era-1.
Dell Computer Corporation. All must have finally that spot.
Family version: RCBF6-6KDMK-GD6GR-K6DP3-4C8MT (XXXXX-119-0001024-XXXXX)
Professional version: XJM6Q-BQ8HW-T6DFB-Y934T-YD4YT (XXXXX-119-0001024-XXXXX)
Family version: KG27H-JV9M6-2CXKV-GMP22-HF2BQ (XXXXX-119-0001015-XXXXX)
Professional version: KYKVX-86GQG-2MDY9-F6J9M-K42BQ (XXXXX-119-0001015-XXXXX)
Family version: MK48G-CG8VJ-BRVBB-38MQ9-3PMFT (XXXXX-119-0001067-XXXXX)
Professional version: DMQBW-V8D4K-9BJ82-4PCJX-2WPB6 (XXXXX-119-0001067-XXXXX)
Family version: CXCY9-TTHBT-36J2P-HT3T3-QPMFB (XXXXX-119-0001006-XXXXX)
Professional version: BW2VG-XXDY6-VW3P7-YHQQ6-C7RYM (XXXXX-119-0001006-XXXXX)
IBM: SLP=IBM Corporation
Family version: DMY26-78CX9-Q89DP-Q8QK8-VF2B8 (XXXXX-119-0001076-XXXXX)
Professional version: HCBR8-FGC2K-RY7BM-HM3KT-BKVRW (XXXXX-119-0001076-XXXXX)
: SLP=TSINGHUA TONGFANG COMPUTER
: KMHJF-9M82Y-YPFV7-YQHXH-F9JW8 (XXXXX-119-0001794-XXXXX)
: XPGYX-J7BF9-4YJVV-7MWK9-WQT3Y (XXXXX-119-0001607-XXXXX)
: GJMY6-GMJHY-2VJ79-K67WT-KQHYT (XXXXX-119-0001661-XXXXX)
: XVX72-2WCXQ-48VWH-T66HT-C7R2B (XXXXX-119-0001085-XXXXX)
: WDHPC-6WQPF-W3R3K-J2VF4-JFP8W (XXXXX-119-0001114-XXXXX
Interesting article from technet about how to re-install Windows XP on and OEM computer using the keys below to preserver OEM activation.
updated: April 20, 2005
By Stephanie Ybarra
Large PC Manufacturers known as Original Equipment Manufacturers (OEMs) have the ability to pre-activate Microsoft® Windows XP software installed on new PCs. As a result, end users are typically not required to activate the software during the set up process by typing in the product key found on the Certificate of Authenticity attached to the PC (COA Key).
In order to reduce a significant source of piracy, Microsoft has disabled online activation for COA Keys that are attached to PCs that have been pre-activated by OEMs. This change should have a minimal impact on licensed users who generally do not use their COA Key to activate the software because it has been pre-activated by the OEM. However, if a licensed end user needs to activate because the OEM pre-activation does not work as expected (e.g., after the replacement of a defective motherboard) they can do so via phone-based activation.
To help minimize the potential impact on licensed users, this whitepaper provides steps licensed end users can take to preserve OEM pre-activation when reinstalling the operating system using any of the four scenarios outlined below (sysprep, OOBEinfo, manual and unattended).
The following product keys should be substituted for XXXXX-XXXXX-XXXXX-XXXXX-XXXXX in the solutions discussed below.
Windows XP Professional 32 bit
Windows XP Tablet PC Edition
Windows XP Professional x64 bit
For any of the solutions outlined below, you can verify that the OEM pre-activation has been preserved by clicking Start -> Run and typing %SYSTEMROOT%\system32\oobe\msoobe.exe /A and then click OK. If the procedure was successful, a message indicating that Windows has already been activated will be displayed.
Note: Instead of implementing any of the solutions outlined below, Volume License customers can use Volume License media to install the same operating system that was licensed from an OEM without acquiring a volume license for a PC being re-imaged. More information about this option is available here under “Re-Imaging Rights”: http://www.microsoft.com/licensing/resources/volbrief.mspx. Because Volume License agreements do not provide a full operating system license, Windows licenses should be acquired as part of the PC purchase from the PC manufacturer.
I. Using “sysprep –reseal –mini” Command
OEM pre-activation can be preserved when Sysprep.exe is run to reseal the system using the –reseal – mini switches by following these steps.
* Ensure the following three files are present in the C:\Sysprep folder: sysprep.exe, setupcl.exe, and factory.exe. These files can be found in the deploy.cab which can be downloaded from the Microsoft® download center available at this location:
* Create a file named sysprep.inf using a text editor such as Notepad that contains the information shown below substituting the appropriate product key.
* Save the sysprep.inf file in the c:\sysprep\ folder.
* Run c:\sysprep –reseal –mini
For more information on the sysprep process, please visit
II. Making changes to the OOBEinfo.ini file
OEM pre-activation can be preserved if changes are made to the OOBEinfo.ini file by ensuring that the %SYSTEMROOT%\system32\oobe\oobeinfo.ini file contains the information shown below but substituting the appropriate product key.
III. Manual Install
OEM pre-activation can be preserved when doing a manual installation by inserting the appropriate product key listed above when prompted for a product key by Windows setup. If you run sysprep –reseal –mini following the manual install, you will need to follow the steps outlined in Section I.
IV. Unattended Install
OEM pre-activation can be preserved if you use an unattended answer file (Unattend.txt or Winnt.sif) to automate installation by including the information shown below in the answer file substituting the appropriate product key listed above. If you run sysprep –reseal –mini following an unattended install, you will need to follow the steps outlined in Section I.
For more information on sysprep process, please visit