IPB

Google Frontpage Forums Unattended CD/DVD Guide
 Forum Rules Unattended CD/DVD Guide Homepage · MSFN Forum Rules
> Building a Pre-activated CD from an existing installation
Bezalel
post Dec 19 2005, 09:37 PM
Post #1


Senior Member
****

Group: Members
Posts: 588
Joined: 11-October 05
Member No.: 76348
OS: XP Pro x86
Country Flag


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 folder

getfiles.bat
CODE
attrib -s %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT
makecab %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT
attrib +s %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT
makecab %SystemRoot%\system32\OEMBIOS.BIN
makecab %SystemRoot%\system32\OEMBIOS.DAT
makecab %SystemRoot%\system32\OEMBIOS.SIG
cscript //nologo getkey.vbs > winnt.sif


getkey.vbs
CODE
Dim objFS, objShell
Dim strXPKey

Set 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 If

Function 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=szProductKey
End Function


Getfiles.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

This post has been edited by Bezalel: Mar 24 2006, 04:34 AM
Go to the top of the page
 
+Quote Post
9 Pages V  « < 7 8 9  
Start new topic
Replies (160 - 171)
Bezalel
post Dec 6 2008, 08:42 PM
Post #161


Senior Member
****

Group: Members
Posts: 588
Joined: 11-October 05
Member No.: 76348
OS: XP Pro x86
Country Flag


QUOTE (andrewwan1980 @ Dec 5 2008, 11:09 AM) *
Just curious whether this should work on chinese windows xp systems?


I don't see any reason it wouldn't work but it might be getting messed up due to your regional settings. Try changing the settings to EN-US.
Go to the top of the page
 
+Quote Post
Zio Razio
post Dec 19 2008, 10:19 AM
Post #162





Group: Members
Posts: 2
Joined: 19-December 08
Member No.: 223776
OS: XP Pro x86
Country Flag


Hi all.
First let me say Great Job for this guide
Second I need a little help with HP recovery cd.
HP sells pc with HP restore DVD plus (Done with Microsoft Desktop Deployment kit) and cd with OS(Vista or XP).
Now If Explore the OS cd (windows Xp professional Italian SP2) I see that there is another folder called ITWXP32p_ZX and under this folder there is a Windows\System32 folder which contains oembios.sig, oembios.bin and oembios.dat.
I tried your method but It still ask for activation... maybe I can use files stored into the folder above?

Thanks for the answer

Raziolo
Go to the top of the page
 
+Quote Post
Bezalel
post Dec 21 2008, 01:48 AM
Post #163


Senior Member
****

Group: Members
Posts: 588
Joined: 11-October 05
Member No.: 76348
OS: XP Pro x86
Country Flag


QUOTE (Zio Razio @ Dec 19 2008, 11:19 AM) *
Hi all.
First let me say Great Job for this guide
Second I need a little help with HP recovery cd.
HP sells pc with HP restore DVD plus (Done with Microsoft Desktop Deployment kit) and cd with OS(Vista or XP).
Now If Explore the OS cd (windows Xp professional Italian SP2) I see that there is another folder called ITWXP32p_ZX and under this folder there is a Windows\System32 folder which contains oembios.sig, oembios.bin and oembios.dat.
I tried your method but It still ask for activation... maybe I can use files stored into the folder above?

Thanks for the answer

Raziolo


HP does weird things with their recovery sets. The best option is to run mgadiag and post the report and the CRC32 of your OEMBIOS.CAT.
Go to the top of the page
 
+Quote Post
Zio Razio
post Dec 22 2008, 02:28 AM
Post #164





Group: Members
Posts: 2
Joined: 19-December 08
Member No.: 223776
OS: XP Pro x86
Country Flag


Thanks for your suggestion Bezabel smile.gif
Here is the MGADIAG
QUOTE
Diagnostic Report (1.7.0110.1):
-----------------------------------------
WGA Data-->
Validation Status: Genuine
Validation Code: 0
Online Validation Code: N/A
Cached Validation Code: N/A
Windows Product Key: *****-*****-2MDY9-F6J9M-K42BQ
Windows Product Key Hash: jY+nlE0RT38EEXpeUqSdQPABSQc=
Windows Product ID: 76435-OEM-2211906-00101
Windows Product ID Type: 2
Windows License Type: OEM SLP
Windows OS version: 5.1.2600.2.00010100.3.0.pro
ID: {A8CB23E6-DBD7-45F7-8412-9E0418A89282}(3)
Is Admin: Yes
TestCab: 0x0
WGA Version: Registered, 1.7.69.2
Signed By: Microsoft
Product Name: N/A
Architecture: N/A
Build lab: N/A
TTS Error: N/A
Validation Diagnostic: 025D1FF3-171-1_E2AD56EA-761-d003_E2AD56EA-762-0_E2AD56EA-134-80004005_E2AD56EA-761-8009_E2AD56EA-762-2f0d_E2AD56EA-148-80004005_16E0B333-89-80004005_78155E4D-221-80004005
Resolution Status: N/A

WgaER Data-->
ThreatID(s): N/A
Version: N/A

WGA Notifications Data-->
Cached Result: N/A, hr = 0x80070002
File Exists: No
Version: N/A, hr = 0x80070002
WgaTray.exe Signed By: N/A, hr = 0x80070002
WgaLogon.dll Signed By: N/A, hr = 0x80070002

OGA Notifications Data-->
Cached Result: N/A, hr = 0x80070002
Version: N/A, hr = 0x80070002
WGATray.exe Signed By: N/A, hr = 0x80070002
OGAAddin.dll Signed By: N/A, hr = 0x80070002

OGA Data-->
Office Status: 100 Genuine
Microsoft Office Professional Edition 2003 - 100 Genuine
OGA Version: N/A, 0x80070002
Signed By: N/A, hr = 0x80070002
Office Diagnostics: 77F760FE-153-80070002_7E90FEE8-203-80070002_025D1FF3-171-1_E2AD56EA-761-d003_E2AD56EA-762-0_E2AD56EA-134-80004005_E2AD56EA-761-8009_E2AD56EA-762-2f0d_E2AD56EA-148-80004005_16E0B333-89-80004005_B4D0AA8B-1174-80004005_FA827CE6-153-8007007e_FA827CE6-180-8007007e

Browser Data-->
Proxy settings: proxy2.seicos.it:8080
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Win32)
Default Browser: C:\Programmi\Internet Explorer\iexplore.exe
Download signed ActiveX controls: Allowed
Download unsigned ActiveX controls: Disabled
Run ActiveX controls and plug-ins: Allowed
Initialize and script ActiveX controls not marked as safe: Disabled
Allow scripting of Internet Explorer Webbrowser control: Disabled
Active scripting: Allowed
Script ActiveX controls marked as safe for scripting: Allowed

File Scan Data-->

Other data-->
Office Details: <GenuineResults><MachineData><UGUID>{A8CB23E6-DBD7-45F7-8412-9E0418A89282}</UGUID><Version>1.7.0110.1</Version><OS>5.1.2600.2.00010100.3.0.pro</OS><Architecture>x32</Architecture><PKey>*****-*****-*****-*****-K42BQ</PKey><PID>76435-OEM-2211906-00101</PID><PIDType>2</PIDType><SID>S-1-5-21-1005927261-3298836489-3859011885</SID><SYSTEM><Manufacturer>Hewlett-Packard</Manufacturer><Model>HP Compaq dc7800 Small Form Factor</Model></SYSTEM><BIOS><Manufacturer>Hewlett-Packard</Manufacturer><Version>786F1 v01.04</Version><SMBIOSVersion major="2" minor="5"/><Date>20070718000000.000000+000</Date><SLPBIOS>Compaq,Hewlett,Hewlett,Compaq</SLPBIOS></BIOS><HWID>B57D36970184CE7B</HWID><UserLCID>0410</UserLCID><SystemLCID>0410</SystemLCID><TimeZone>ora solare Europa occidentale(GMT+01:00)</TimeZone><iJoin>1</iJoin><SBID><stat>2</stat><msppid></msppid><name>Hewlett-Packard Company</name><model>HP Compaq dc7800 Small Form Factor</model></SBID><OEM/><BRT/></MachineData><Software><Office><Result>100</Result><Products><Product GUID="{90110410-6000-11D3-8CFE-0150048383C9}"><LegitResult>100</LegitResult><Name>Microsoft Office Professional Edition 2003</Name><Ver>11</Ver><Val>28A86EB48E4F500</Val><Hash>w8DNLIFbCGZ0wMELpX5qWaJFGns=</Hash><Pid>73964-640-8518686-57443</Pid><PidType>14</PidType></Product></Products><Applications><App Id="15" Version="11" Result="100"/><App Id="16" Version="11" Result="100"/><App Id="18" Version="11" Result="100"/><App Id="19" Version="11" Result="100"/><App Id="1A" Version="11" Result="100"/><App Id="1B" Version="11" Result="100"/><App Id="44" Version="11" Result="100"/></Applications></Office></Software></GenuineResults>

Licensing Data-->
N/A

HWID Data-->
N/A

OEM Activation 1.0 Data-->
BIOS string matches: yes
Marker string from BIOS: 5C19:Compaq Computer Corporation|117BC:Compaq Computer Corporation|1FFEA:Compaq Computer Corporation|A0D8:Compaq Computer Corporation|117E3:Compaq Computer Corporation|117E3:Compaq Computer Corporation|1FFEA:Hewlett-Packard Company|A0D8:Hewlett-Packard Company
Marker string from OEMBIOS.DAT: Compaq,Hewlett,Hewlett,Compaq

OEM Activation 2.0 Data-->
N/A


Hope it can help smile.gif
Go to the top of the page
 
+Quote Post
andwan0
post Jun 2 2009, 05:46 AM
Post #165





Group: Members
Posts: 7
Joined: 14-March 09
Member No.: 236129
OS: XP MCE
Country Flag


Anyone in this thread still have an old Dell OEM XP Vanilla CD?
Go to the top of the page
 
+Quote Post
Flatcap
post Jun 4 2009, 01:06 AM
Post #166





Group: Members
Posts: 2
Joined: 2-September 02
Member No.: 1817
Country Flag


QUOTE (andwan0 @ Jun 2 2009, 12:46 PM) *
Anyone in this thread still have an old Dell OEM XP Vanilla CD?

Hi

I have most Dell OEM Vanilla CD's, which one are you after?
Go to the top of the page
 
+Quote Post
andwan0
post Jun 4 2009, 02:28 AM
Post #167





Group: Members
Posts: 7
Joined: 14-March 09
Member No.: 236129
OS: XP MCE
Country Flag


QUOTE (Flatcap @ Jun 4 2009, 08:06 AM) *
QUOTE (andwan0 @ Jun 2 2009, 12:46 PM) *
Anyone in this thread still have an old Dell OEM XP Vanilla CD?

Hi

I have most Dell OEM Vanilla CD's, which one are you after?


I think all Dell OEM Vanilla CDs are essentially the same. As long as there's no service pack 1a or 2 or 3 on it.

Can you make an ISO (Alcohol 120% is best) for me please that would be very grateful.
Go to the top of the page
 
+Quote Post
Flatcap
post Jun 5 2009, 01:06 AM
Post #168





Group: Members
Posts: 2
Joined: 2-September 02
Member No.: 1817
Country Flag


QUOTE (andwan0 @ Jun 4 2009, 09:28 AM) *
QUOTE (Flatcap @ Jun 4 2009, 08:06 AM) *
QUOTE (andwan0 @ Jun 2 2009, 12:46 PM) *
Anyone in this thread still have an old Dell OEM XP Vanilla CD?

Hi

I have most Dell OEM Vanilla CD's, which one are you after?


I think all Dell OEM Vanilla CDs are essentially the same. As long as there's no service pack 1a or 2 or 3 on it.

Can you make an ISO (Alcohol 120% is best) for me please that would be very grateful.

I have gone through and all my original Dell XP Pro CD's are service packed, but I have got an original Dell XP Home CD if that's any use to you?
Go to the top of the page
 
+Quote Post
atuluchi
post Jul 24 2009, 07:14 AM
Post #169





Group: Members
Posts: 1
Joined: 14-July 09
Member No.: 251848
OS: none
Country Flag


QUOTE (Bezalel @ Dec 29 2005, 12:58 AM) *
QUOTE (JDS300 @ Dec 28 2005, 11:49 AM) *
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.)

Have you completed your multi oem cd preactivated if yes send this on torrent or guide us how to do this Unique Job
Go to the top of the page
 
+Quote Post
kd6aaj
post Sep 26 2009, 06:15 PM
Post #170


Newbie


Group: Members
Posts: 27
Joined: 22-March 07
Member No.: 132190
Country Flag


Bezalel or anyone else,

Do you know how to show the Product ID of the installation?

EXAMPLE: find XP Product ID from Digital ProductID or some other way and output PID, like 55274-OEM-0011903-00102 for Dell?

I'm just trying to be able to get the XP PID from the rigistry, a reg file or other files, instead of having to run MGA.EXE or something else.

Thanks.
Go to the top of the page
 
+Quote Post
Bezalel
post Sep 30 2009, 09:59 AM
Post #171


Senior Member
****

Group: Members
Posts: 588
Joined: 11-October 05
Member No.: 76348
OS: XP Pro x86
Country Flag


QUOTE (kd6aaj @ Sep 26 2009, 08:15 PM) *
Bezalel or anyone else,

Do you know how to show the Product ID of the installation?

EXAMPLE: find XP Product ID from Digital ProductID or some other way and output PID, like 55274-OEM-0011903-00102 for Dell?

I'm just trying to be able to get the XP PID from the rigistry, a reg file or other files, instead of having to run MGA.EXE or something else.

Thanks.


Just use the Win32_WindowsProductActivation WMI Class.
Go to the top of the page
 
+Quote Post
kd6aaj
post Sep 30 2009, 01:52 PM
Post #172


Newbie


Group: Members
Posts: 27
Joined: 22-March 07
Member No.: 132190
Country Flag


QUOTE
Just use the Win32_WindowsProductActivation WMI Class.


Thanks!

Unfortunately my coding isn't that advanced yet. All I can do is compile code, not write it yet. Someday I want to learn. I have Borland C++ 5.5 FREE version.

I came up with a quick-and-dirty method of getting the ProductID from a running installation.

I use a MSDOS batch file that saves the HKLM\SOFTWARE\MOFTWARE\MICROSOFT\WINDOWS NT registry key to a .reg file.

Then I can later examine it, and view the whole ProductID showing the version of windows installed,service patch, oem SLP info, etc.

I finally (after many hours experimenting with other peoples code) got my batch file to save the name as a user input variable with date and time.

For some reason the command line in XP won't accept the code, but it works when I just run the batch file. I think it has tho do with echoing all the text in the XP command line environment.

Anyone intersted in my batch file? I won't post it unless you are.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

9 Pages V  « < 7 8 9
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 24th November 2009 - 03:50 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy