Bezalel Posted December 20, 2005 Share Posted December 20, 2005 (edited) I've put together two files that can be used to make a pre-activated CD if all you got with your computer is a restore CD you will also need access to an OEM hologram CD for the rest of the files. Put the following files in the same foldergetfiles.batattrib -s %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CATmakecab %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CATattrib +s %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CATmakecab %SystemRoot%\system32\OEMBIOS.BINmakecab %SystemRoot%\system32\OEMBIOS.DATmakecab %SystemRoot%\system32\OEMBIOS.SIGcscript //nologo getkey.vbs > winnt.sifgetkey.vbsDim objFS, objShellDim strXPKeySet objShell = CreateObject("WScript.Shell")strXPKey = objShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName")If Len(strXPKey) > 0 Then WScript.Echo "[UserData]" WScript.Echo "ProductKey=" & chr(34) & GetKey(objShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) & chr(34) WScript.Echo "[Data]" WScript.Echo "MSDosInitiated=0" WScript.Echo "UnattendedInstall=Yes"End IfFunction GetKey(rpk) Const rpkOffset=52:i=28 szPossibleChars="BCDFGHJKMPQRTVWXY2346789" Do dwAccumulator=0 : j=14 Do dwAccumulator=dwAccumulator*256 dwAccumulator=rpk(j+rpkOffset)+dwAccumulator rpk(j+rpkOffset)=(dwAccumulator\24) and 255 dwAccumulator=dwAccumulator Mod 24 j=j-1 Loop While j>=0 i=i-1 : szProductKey=mid(szPossibleChars,dwAccumulator+1,1)&szProductKey if (((29-i) Mod 6)=0) and (i<>-1) then i=i-1 : szProductKey="-"&szProductKey End If Loop While i>=0 GetKey=szProductKeyEnd FunctionGetfiles.bat will generate 5 files to be placed in the i386 directory of your CD. the files are:OEMBIOS.BI_OEMBIOS.CA_OEMBIOS.DA_OEMBIOS.SI_winnt.sif Edited March 24, 2006 by Bezalel 1 Link to comment Share on other sites More sharing options...
trickytwista Posted December 27, 2005 Share Posted December 27, 2005 hi, can you explain this with more detail? i have xphome on my laptop and on each install it has to be activated which is kind of a pain, are you saying that i wouldnt have to keep activating it? thanks Link to comment Share on other sites More sharing options...
phatcat42141 Posted December 27, 2005 Share Posted December 27, 2005 (edited) Theres a problem with your theory cause the windows activation also reads your PID number. The Windows PID is a unique code identifying your version of Windows and it is also used to identify your hardware setup. So if you install it on another system with a totally different hardware setup then the PID would be different.Or am I wrong? Edited December 27, 2005 by phatcat42141 Link to comment Share on other sites More sharing options...
Bezalel Posted December 27, 2005 Author Share Posted December 27, 2005 Theres a problem with your theory cause the windows activation also reads your PID number.Windows Activation only checks the PID is the BIOS checks fails. Royalty OEMs don't use unique keys because their machines don't have to be activated. Link to comment Share on other sites More sharing options...
Bezalel Posted December 27, 2005 Author Share Posted December 27, 2005 hi, can you explain this with more detail? i have xphome on my laptop and on each install it has to be activated which is kind of a pain, are you saying that i wouldnt have to keep activating it? thanksIf your laptop was mande by a Royalty OEM (the COA sticker hase manufacturer's name or logo) and you also have access to the Windows intallation bits (hologrammed OEM CD) you can use these files to recreate the OEMBIOS files and extract the CD-Key origionally used by the manufacturer to install windows. A Windows CD made with these files will not require activation when used on the computer the files were extracted from (or other computers of the same make). Link to comment Share on other sites More sharing options...
JDS300 Posted December 28, 2005 Share Posted December 28, 2005 So if I have a bunch of OEM machines(Dell, HP, Gateway, etc), and I'm creating an image for those machines, I can use the Product Key located in their WINNT.SIF from the Recovery CD instead of the Key on the sticker? Link to comment Share on other sites More sharing options...
Bezalel Posted December 28, 2005 Author Share Posted December 28, 2005 So if I have a bunch of OEM machines(Dell, HP, Gateway, etc), and I'm creating an image for those machines, I can use the Product Key located in their WINNT.SIF from the Recovery CD instead of the Key on the sticker?In that case you already have to OEMBIOS files. And yes you can use the key in winnt.sif as long as your target machine will pass the BIOS check.You cannot use the same image for multiple manufacturers and still preserve the activation. (I'm working on that but am not ready to discuss any details.) Link to comment Share on other sites More sharing options...
phatcat42141 Posted December 29, 2005 Share Posted December 29, 2005 Windows Activation only checks the PID is the BIOS checks fails. Royalty OEMs don't use unique keys because their machines don't have to be activated.Thanks for that reply. I never knew that. Link to comment Share on other sites More sharing options...
KRYOGENIUS Posted January 1, 2006 Share Posted January 1, 2006 Hellothis method don't work anymore with XP and service pack only with rtmi have tested it without success under xp pro sp1 and sp2Good idea but i was really simple when xp had no activation !!++ Link to comment Share on other sites More sharing options...
Djé Posted February 17, 2006 Share Posted February 17, 2006 (edited) Indeed, this Method DOES work with Windows XP sp1 slipstreamed to sp2. I just did it a couple of times today.But it may work only for Royalty OEM computers. At any rate, my (successful) case was as follow: Toshiba laptop shipped with xp home sp1 on a recovery cd (ghost image) only. I extracted back the image and then slipstream sp2 and latest hotfixes in the i386 folder of the hard drive, before doing the usual unattend preparation things (among them this method to recover activation) and burning back a fresh CD. Installed and no need to activate (no network so i'm sure it did not activated in my back).The important point to get (at least the one at which I was stuck for a while because it is not explained in the unattended guide) is that not only do you need those oembios files, but also the CORRESPONDING product key, which may NOT be the one written on the sticker on your computer but ANOTHER one which is coded in the registry. That is why that getkey.vbs is the important script to RETREIVE the GOOD product key to put in your winnt.sif. And not the dummy one from the sticker.So to get it, you must be running the original os from the recovery CD and not any installation you may have done later.@KRYOGENIUS: No offense, but before posting such information you should check it better and not only beleive/propagate the rumor. Or at least be less affirmative (Journalists do also like rumors but they carefully use conditional). I almost gave up because of such posting as yours but thanks to my not liking undocumented statements, I eventually managed. Edited February 17, 2006 by Djé Link to comment Share on other sites More sharing options...
Bezalel Posted February 17, 2006 Author Share Posted February 17, 2006 Thanks for your clarification. When I wrote pre-activated I meant Royalty OEM. I've had mixed results when using the key on the sticker but it always works with the key in the registry, that's why I wrote getkey.vbs (I did not write or know who wrote the getkey function). I've used this method for Home, MCE2005, TabletPC2005, Pro, and Server. BTW the OEMBIOS files for MCE2005, TabletPC2005, and Pro are interchangable and the product keys are interchangable between brands. You can also use the keys found on http://www.microsoft.com/technet/prodtechn...oy/wpadepl.mspx and http://www.microsoft.com/technet/prodtechn...y/oempreac.mspx. Link to comment Share on other sites More sharing options...
maxXPsoft Posted April 30, 2006 Share Posted April 30, 2006 Bezalel Thanks for getting me closer with that for my MCE 2005You just cleared it up for me what I needed for no activation BS although my Pid will be ok since this is legit.1st Step was since i don't have a Royalty OEM MCE 2005 CDGain access to HP_RECOVERY partition, doneNow have access to all the files so I can copy the I386.Will be a lot of cleaning up in there though to remove the 40 games, limited Office, and other junk I don't want. Link to comment Share on other sites More sharing options...
maxXPsoft Posted May 9, 2006 Share Posted May 9, 2006 (edited) Ok done this on my MCE 2005 HP a1310n and went to WU and it told me welllll it looks ok but answer 20? firstWhat does coa say, what type PC, manufacturer and so on and I left.Well answer for me wascopy original SETUPP.INI from I386 and add all the Hotfixes for MCEI'm activated now as soon as I do all that Genuine Advantage stuffAnother UnattendXPPro sucessfull Install Edited May 9, 2006 by maxXPsoft Link to comment Share on other sites More sharing options...
jrf2027 Posted May 9, 2006 Share Posted May 9, 2006 Couple of quick questions...I'm going to need to reload Windows on a laptop for my wife's work. This particular laptop has passed through many hands, and the original Windows install CD (along with all the software install CD's, I assume) is long gone. I don't presently know the manufacturer of the laptop, but based on the fact that it's a laptop I assume it's going to be a Royalty OEM.Question 1 - I have OEM windows installs for both Home and Professional from Royalty OEM #1. Do I just need to substitute the four OEMBIOS files and the product key to make a Royalty OEM #2 CD?Question 2 - is there any certain advantage to using the getkey.vbs file, or can I just use the Magical Jellybean Keyfinder to get the product key?Thanks in advance. Link to comment Share on other sites More sharing options...
maxXPsoft Posted May 10, 2006 Share Posted May 10, 2006 (edited) I used an MCE 2 CD set that was not manufacturer specific ; Dell, HP Mine is a HP but just adding those files and getting all the Hotfixes for Media Center Edition worked for me.And benefit is NO 40 games they want you to pay for and Trial versions of a bunch of stuff I don't use.Mine squeaky cleanHis getkey.vbs works and makes the basic Winnt.sif which is good for beginner's, yes you can use JellyBean Edited May 10, 2006 by maxXPsoft Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now