MSFN Forum: Building a Pre-activated CD from an existing installation - MSFN Forum

Jump to content


  • 9 Pages +
  • « First
  • 7
  • 8
  • 9
  • You cannot start a new topic
  • You cannot reply to this topic

Building a Pre-activated CD from an existing installation Rate Topic: ****- 2 Votes

#161 User is offline   Bezalel 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 591
  • Joined: 11-October 05

Posted 06 December 2008 - 08:42 PM

View Postandrewwan1980, on Dec 5 2008, 11:09 AM, said:

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.


#162 User is offline   Zio Razio 

  • Group: Members
  • Posts: 2
  • Joined: 19-December 08

Posted 19 December 2008 - 10: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

#163 User is offline   Bezalel 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 591
  • Joined: 11-October 05

Posted 21 December 2008 - 01:48 AM

View PostZio Razio, on Dec 19 2008, 11:19 AM, said:

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.

#164 User is offline   Zio Razio 

  • Group: Members
  • Posts: 2
  • Joined: 19-December 08

Posted 22 December 2008 - 02:28 AM

Thanks for your suggestion Bezabel :)
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 :)

#165 User is offline   andwan0 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 14-March 09

Posted 02 June 2009 - 05:46 AM

Anyone in this thread still have an old Dell OEM XP Vanilla CD?

#166 User is offline   Flatcap 

  • Group: Members
  • Posts: 2
  • Joined: 02-September 02

Posted 04 June 2009 - 01:06 AM

View Postandwan0, on Jun 2 2009, 12:46 PM, said:

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?

#167 User is offline   andwan0 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 14-March 09

Posted 04 June 2009 - 02:28 AM

View PostFlatcap, on Jun 4 2009, 08:06 AM, said:

View Postandwan0, on Jun 2 2009, 12:46 PM, said:

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.

#168 User is offline   Flatcap 

  • Group: Members
  • Posts: 2
  • Joined: 02-September 02

Posted 05 June 2009 - 01:06 AM

View Postandwan0, on Jun 4 2009, 09:28 AM, said:

View PostFlatcap, on Jun 4 2009, 08:06 AM, said:

View Postandwan0, on Jun 2 2009, 12:46 PM, said:

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?

#169 User is offline   atuluchi 

  • Group: Members
  • Posts: 1
  • Joined: 14-July 09

Posted 24 July 2009 - 07:14 AM

View PostBezalel, on Dec 29 2005, 12:58 AM, said:

View PostJDS300, on Dec 28 2005, 11:49 AM, said:

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

#170 User is offline   kd6aaj 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 22-March 07

Posted 26 September 2009 - 06: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.

#171 User is offline   Bezalel 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 591
  • Joined: 11-October 05

Posted 30 September 2009 - 09:59 AM

View Postkd6aaj, on Sep 26 2009, 08:15 PM, said:

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.

#172 User is offline   kd6aaj 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 22-March 07

Posted 30 September 2009 - 01:52 PM

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.

#173 User is offline   dannypritchett01 

  • Group: Members
  • Posts: 6
  • Joined: 05-July 05

Posted 06 January 2010 - 03:47 AM

Bezalel youre the man! I have been wanting to make a custom XP MCE (Unfortunatly this pc came with 2002 and I have yet to find someone with 2005 that will let me have a copy so I am updated) clean install. This computer is a Compaq Presario SR2013WM that I bought for my grandfather. When I do clean installs for him it installs junk and virus scanners that are out of date. I was wanting a freshly made cd or dvd to use for his pc where I could always have it available if he needs to restore his computer. He barely ever uses the computer so while doing so I managed to save his favorites and have them copied over using oem folders.

My question is this before I burn the disk as I am running low on disks at the moment. I copied his i386 directory out of his C:\Windows\i386 which I assume is so if windows ever needs files its located on the hard disk. I however had to get the other files and directories from a 32bit edition. My pc is a 64 bit pc so I assume so is this windows mce i386 folder. Will this work?

#174 User is offline   38956 

  • Group: Members
  • Posts: 2
  • Joined: 18-August 10
  • OS:none specified
  • Country: Country Flag

Posted 12 January 2011 - 04:52 AM

View PostBezalel, on 19 December 2005 - 09:37 PM, said:

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

See Bezalel Post for original code on Page 1


getfiles_key.vbs
' Backup/Get OEMBIOS Files & create a basic windows answer file (winnt.sif)
' WinNT: XP
' Author: 38956
'            This script is based on "Bezalel" scripts on the MSFN Forum
'             ( URL: http://www.msfn.org/board/topic/63258-building-a-pre-activated-cd-from-an-existing-installation/ )
'  21110112.3 - 09:53 Zulu

Dim objFSO, objShell
Dim strXPKey

Set objShell = CreateObject("WScript.Shell")

'//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'// Functions: GetKey(rpk) 
'//
'// Credit where credit is due - I found this script posted by user "Bezalel" on MSFN Forum
'// ( URL: http://www.msfn.org/board/topic/63258-building-a-pre-activated-cd-from-an-existing-installation/ )
'// and used it here to retrieve the windows product key:

strXPKey = objShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName")
If Len(strXPKey) > 0 Then
 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
End If

set objFSO = CreateObject("Scripting.FileSystemObject")


    If Not objFSO.FolderExists(".\OEMBIOS") Then
        set objFolderOEMBIOS = objFSO.CreateFolder(".\OEMBIOS")
    End If
    If Not objFSO.FolderExists(".\OEMBIOS\i386") Then
        set objFolderi386 = objFSO.CreateFolder(".\OEMBIOS\i386")
    End If

objShell.Run "cmd /c attrib -s %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT & makecab %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT /L .\OEMBIOS\i386 & attrib +s %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT & makecab %SystemRoot%\system32\OEMBIOS.BIN /L .\OEMBIOS\i386 & makecab %SystemRoot%\system32\OEMBIOS.DAT /L .\OEMBIOS\i386 & makecab %SystemRoot%\system32\OEMBIOS.SIG /L .\OEMBIOS\i386"

Set fso = CreateObject("Scripting.FileSystemObject")
Set winntsif = fso.OpenTextFile(".\OEMBIOS\i386\winnt.sif", 2, True)

  winntsif.WriteLine "[UserData]"
  winntsif.WriteLine "ProductKey=" & chr(34) & GetKey(objShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) & chr(34)
  winntsif.WriteLine "[Data]"
  winntsif.WriteLine "MSDosInitiated=0"
  winntsif.WriteLine "UnattendedInstall=Yes"


This post has been edited by 38956: 20 February 2011 - 11:11 AM


#175 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,392
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 05 October 2012 - 09:57 AM

Many thanks Bezalel for your nice scripts!

I know it's an old thread but I would like to share a workaround when some trouble happen with computers using Hyper Threading technology.

In fact to install Windows XP and all the files needed for the silent installation we need 8 files for Hyper Threading computers.

I improved your batch file to do easely this job:

GetFiles.bat
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
echo.
REM For computers with Hyperthreading technology
REM Set all these 8 files inside your distribution folder I386
if exist %SystemDrive%\WINDOWS\I386 goto :next
if errorlevel 1 goto :getkey
echo.
:next
xcopy %SystemDrive%\WINDOWS\I386\"-OEMBIOS (1).DA_" /g /h /y "%~dp0"
xcopy %SystemDrive%\WINDOWS\I386\"-OEMBIOS (2).SI_" /g /h /y "%~dp0"
xcopy %SystemDrive%\WINDOWS\I386\"-OEMBIOS (3).BI_" /g /h /y "%~dp0"
xcopy %SystemDrive%\WINDOWS\I386\"-OEMBIOS.CA_" /g /h /y "%~dp0"
echo. 
:getkey
cscript //nologo getkey.vbs > winnt.sif
goto :exit
:exit



After we can set all these files inside our distribution folder (I386) and replace existing ones!.

HTH
Thanks and regards

This post has been edited by myselfidem: 05 October 2012 - 11:24 AM


#176 User is offline   JenniferArden 

  • Junior
  • Pip
  • Group: Members
  • Posts: 97
  • Joined: 24-December 06
  • OS:XP Pro x64
  • Country: Country Flag

Posted 21 January 2013 - 03:40 AM

Just use the Volume Licensing Edition, its what I use and it works without any issues

#177 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,436
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 21 January 2013 - 06:45 AM

View PostJenniferArden, on 21 January 2013 - 03:40 AM, said:

Just use the Volume Licensing Edition, its what I use and it works without any issues

IF you are eligible to buy a license for it AND IF you are wiling to pay the corresponding money to MS.

jaclaz

Share this topic:


  • 9 Pages +
  • « First
  • 7
  • 8
  • 9
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy