Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Building a Pre-activated CD from an existing installation

* * * * - 2 votes

  • Please log in to reply
179 replies to this topic

#51
Bezalel

Bezalel

    Senior Member

  • Member
  • PipPipPipPip
  • 591 posts
  • Joined 11-October 05

sorry... simple question

after i get files using the batch file.... i just need to replace the 5 files i got into the xp home cd and then install? that will make my clean installation preactivated?


Yes.


How to remove advertisement from MSFN

#52
ZaForD

ZaForD

    Member

  • Member
  • PipPip
  • 182 posts
  • Joined 05-May 06
@ chickenfeed,

I'd much rather have all these guys writting 'great' App's, Scripts, Bat's and Cmd's and the odd 'iffy' tut.
Than it being the other way round. :P

Posted Image
-------------- Posted Image --------------


#53
Bezalel

Bezalel

    Senior Member

  • Member
  • PipPipPipPip
  • 591 posts
  • Joined 11-October 05
If anyone wants to rewrite the tutorial PM me and if I like it I'll replace the origional tutorial.

#54
gunsmokingman

gunsmokingman

    MSFN Master

  • Super Moderator
  • 2,421 posts
  • Joined 02-August 03
  • OS:none specified
  • Country: Country Flag
I have modified this getkey.vbs so it now adds the key to a Winnt.sif

;SetupMgrTag

[Data]
	AutomaticUpdates=1
	AutoPartition=0
	MsDosInitiated="0"
	UnattendedInstall="Yes"

[Unattended]
	UnattendMode=FullUnattended
	OemSkipEula=Yes
	OemPreinstall=Yes
	UnattendSwitch="Yes"
	Repartition=No
	Hibernation=No
	OemPnPDriversPath="Drivers02_graphics;Drivers04_sound;Drivers\"
	DriverSigningPolicy=Ignore
	AutoActivate=Yes
	TargetPath=\WINDOWS

[UserData]
	ProductKey=The Script Places The Key Here


The Script
Save As Key_Sif.vbs

'/-> Varibles 
 Dim Act, Dtop, Fso, KeyXP, Sif, strXPKey, Ts, VBS
'/-> Objects
  Set Act = CreateObject("WScript.Shell")
  Set Fso = CreateObject("Scripting.FileSystemObject")
'/-> Varibles As Objects
   strXPKey = Act.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName")
   KeyXP = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"
   Dtop = Act.SpecialFolders("Desktop")
   Sif = Dtop & "\winnt.sif"
   VBS =  Act.ExpandEnvironmentStrings("%Systemdrive%\Key_Sif.vbs")
'/-> Get The Key 
   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
'/-> Make The Sif With Ket Added
   Function MakeTheSif()
	Set Ts = Fso.CreateTextFile(Sif)
	 Ts.WriteLine ";SetupMgrTag" & vbCrLf 
	 Ts.WriteLine "[Data]"
	 Ts.WriteLine Space(4) & "AutomaticUpdates=1" 
	 Ts.WriteLine Space(4) & "AutoPartition=0" 
	 Ts.WriteLine Space(4) & "MsDosInitiated=""0""" 
	 Ts.WriteLine Space(4) & "UnattendedInstall=""Yes""" & vbCrLf
	 Ts.WriteLine "[Unattended]" 
	 Ts.WriteLine Space(4) & "UnattendMode=FullUnattended" 
	 Ts.WriteLine Space(4) & "OemSkipEula=Yes" 
	 Ts.WriteLine Space(4) & "OemPreinstall=Yes" 
	 Ts.WriteLine Space(4) & "UnattendSwitch=""Yes""" 
	 Ts.WriteLine Space(4) & "Repartition=No" 
	 Ts.WriteLine Space(4) & "Hibernation=No" 
	 Ts.WriteLine Space(4) & "OemPnPDriversPath=""Drivers02_graphics;Drivers04_sound;Drivers\""" 
	 Ts.WriteLine Space(4) & "DriverSigningPolicy=Ignore" 
	 Ts.WriteLine Space(4) & "AutoActivate=Yes" 
	 Ts.WriteLine Space(4) & "TargetPath=\WINDOWS"  & vbCrLf 
	 Ts.WriteLine "[UserData]"
	 Ts.WriteLine  Space(4) & "ProductKey=" & GetKey(Act.RegRead(KeyXP)) & vbCrLf
	 Ts.Close 
	  Act.Run("notepad.exe " & Sif)
   End Function
'/-> Deletes the VBS File
   Function Cleanup()
	If Fso.FileExists(VBS) Then Fso.DeleteFile(VBS) End If 
   End Function 
'/-> Start The Script Functions
   MakeTheSif : Cleanup

I have made this into a SFX that runs the above script.

Attached Files


Edited by gunsmokingman, 04 January 2007 - 01:46 AM.



GunSmokingMan



#55
chickenfeed

chickenfeed

    Newbie

  • Member
  • 18 posts
  • Joined 27-May 06

@ chickenfeed,

I'd much rather have all these guys writting 'great' App's, Scripts, Bat's and Cmd's and the odd 'iffy' tut.
Than it being the other way round. :P

Not everyone is a jack of all trades. :}

#56
herroyuy

herroyuy
  • Member
  • 5 posts
  • Joined 14-June 06
ok
i've tried

it's simply
just use the batch file to get the five files from ur windows... u dun even have to run the vbscript
u move all the 5 files u get fom the .bat file. then u copy all of them into the xphome cd that u are going to use to format ur comp... then ur windows shud come preactivated... as simple as that..
i've even used nlite to integrate drivers inside..

conclusion... it works! thanks bezalel

#57
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,780 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

I have modified this getkey.vbs so it now adds the key to a Winnt.sif

;SetupMgrTag

[Data]
	AutomaticUpdates=1
	AutoPartition=0
	MsDosInitiated="0"
	UnattendedInstall="Yes"

[Unattended]
	UnattendMode=FullUnattended
	OemSkipEula=Yes
	OemPreinstall=Yes
	UnattendSwitch="Yes"
	Repartition=No
	Hibernation=No
	OemPnPDriversPath="Drivers\002_graphics;Drivers\004_sound;Drivers\"
	DriverSigningPolicy=Ignore
	AutoActivate=Yes
	TargetPath=\WINDOWS

[UserData]
	ProductKey=The Script Places The Key Here


The Script
Save As Key_Sif.vbs

'/-> Varibles 
 Dim Act, Dtop, Fso, KeyXP, Sif, strXPKey, Ts, VBS
'/-> Objects
  Set Act = CreateObject("WScript.Shell")
  Set Fso = CreateObject("Scripting.FileSystemObject")
'/-> Varibles As Objects
   strXPKey = Act.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName")
   KeyXP = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"
   Dtop = Act.SpecialFolders("Desktop")
   Sif = Dtop & "\winnt.sif"
   VBS =  Act.ExpandEnvironmentStrings("%Systemdrive%\Key_Sif.vbs")
'/-> Get The Key 
   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
'/-> Make The Sif With Ket Added
   Function MakeTheSif()
	Set Ts = Fso.CreateTextFile(Sif)
	 Ts.WriteLine ";SetupMgrTag" & vbCrLf 
	 Ts.WriteLine "[Data]"
	 Ts.WriteLine Space(4) & "AutomaticUpdates=1" 
	 Ts.WriteLine Space(4) & "AutoPartition=0" 
	 Ts.WriteLine Space(4) & "MsDosInitiated=""0""" 
	 Ts.WriteLine Space(4) & "UnattendedInstall=""Yes""" & vbCrLf
	 Ts.WriteLine "[Unattended]" 
	 Ts.WriteLine Space(4) & "UnattendMode=FullUnattended" 
	 Ts.WriteLine Space(4) & "OemSkipEula=Yes" 
	 Ts.WriteLine Space(4) & "OemPreinstall=Yes" 
	 Ts.WriteLine Space(4) & "UnattendSwitch=""Yes""" 
	 Ts.WriteLine Space(4) & "Repartition=No" 
	 Ts.WriteLine Space(4) & "Hibernation=No" 
	 Ts.WriteLine Space(4) & "OemPnPDriversPath=""Drivers\002_graphics;Drivers\004_sound;Drivers\""" 
	 Ts.WriteLine Space(4) & "DriverSigningPolicy=Ignore" 
	 Ts.WriteLine Space(4) & "AutoActivate=Yes" 
	 Ts.WriteLine Space(4) & "TargetPath=\WINDOWS"  & vbCrLf 
	 Ts.WriteLine "[UserData]"
	 Ts.WriteLine  Space(4) & "ProductKey=" & GetKey(Act.RegRead(KeyXP)) & vbCrLf
	 Ts.Close 
	  Act.Run("notepad.exe " & Sif)
   End Function
'/-> Deletes the VBS File
   Function Cleanup()
	If Fso.FileExists(VBS) Then Fso.DeleteFile(VBS) End If 
   End Function 
'/-> Start The Script Functions
   MakeTheSif : Cleanup

I have made this into a SFX that runs the above script.


You do this well GSM,nice inc.

Cheers

MC.

#58
gunsmokingman

gunsmokingman

    MSFN Master

  • Super Moderator
  • 2,421 posts
  • Joined 02-August 03
  • OS:none specified
  • Country: Country Flag
Thanks you MAVERICKS CHOICE for the nice words
Here is a HTA that I makes a Basic Winnt.sif, I have also added a RunOnceEx template maker for either a Hard Drive or CD_DVD install of app.
This is the sif it makes

;SetupMgrTag
[Data]
	AutomaticUpdates=1
	AutoPartition=0
	MsDosInitiated="0"
	UnattendedInstall="Yes"

[Unattended]
	UnattendMode=FullUnattended
	OemSkipEula=Yes
	OemPreinstall=Yes
	UnattendSwitch="Yes"
	Repartition=No
	Hibernation=No
	OemPnPDriversPath="Drivers02_graphics;Drivers04_sound;Drivers\"
	DriverSigningPolicy=Ignore
	AutoActivate=Yes
	TargetPath=\WINDOWS

[GuiUnattended]
	AdminPassword="TEST PASSWORD"
	EncryptedAdminPassword=NO
	OEMSkipRegional=1
	TimeZone=0
	OemSkipWelcome=1

[UserData]
	ProductKey=12345-ABCDE-54321-EDCBA-1A5E2
	FullName="TEST USER NAME"
	OrgName="TEST ORG NAME"
	ComputerName=TEST COMPUTER NAME

[Display]
	BitsPerPel=16
	XResolution=1024
	YResolution=768
	Vrefresh=70

[NetAdapters]
	Adapter1=params.Adapter1

[params.Adapter1]
	INFID=*

[NetClients]
	MS_MSClient=params.MS_MSClient

[NetProtocols]
	MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
	DNS=Yes
	UseDomainNameDevolution=No
	EnableLMHosts=No
	AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
	SpecificTo=Adapter1
	DHCP=Yes
	WINS=No
	NetBIOSOptions=2

[SystemRestore]
	CheckpointCalendarFrequency=1
	CheckpointSessionFrequency=12
	MaximumDataStorePercentOfDisk=4
	RestorePointLife=14

[Components]
	Calc=On
	Deskpaper=On
	Dialer=Off
	Dtcnetwork=Off
	Fax=Off
	Fp_extensions=Off
	Fp_vdir_deploy=Off
	Freecell=Off
	Hearts=Off
	Iis_ftp=Off
	Iis_htmla=Off
	Iis_doc=Off
	Iis_inetmgr=Off
	Iis_internetdataconnector=Off
	Iis_nntp=Off
	Iis_pwmgr=Off
	Iis_serversideincludes=Off
	Iis_smtp=Off
	Iis_smtp_docs=Off
	Iis_webadmin=Off
	Iis_webdav=Off
	Iis_www=Off
	Iis_www_vdir_printers=Off
	Iis_www_vdir_scripts=Off
	Iis_www_vdir_terminalservices=Off
	Indexsrv_system=Off
	Inetprint=Off
	Licenseserver=Off
	Media_clips=On
	Media_utopia=On
	Minesweeper=On
	Mousepoint=On
	msmsgs=Off
	Msnexplr=Off
	Mswordpad=Off
	Paint=On
	Pinball=Off
	Rec=On
	Rootautoupdate=On
	Rstorage=On
	Solitaire=On
	Spider=On
	Templates=On
	Zonegames=Off

Example RunOnceEx Hard Drive Install

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "The Install Section" /f

REG ADD %KEY /VE /D "Preparing Installation..." /f

:: EXAMPLE ADD REG ENTRIES TO RUNONCE CMD FOR APPS

:: REG ADD %KEY%20 /VE /D "TITLE FOR INSTALL" /f
:: REG ADD %KEY%20 /V 1 /D "REGEDIT /S %systemdrive%\Install\PLACE_FOLDER_NAME_HERE\SOME_REGFILE.reg" /f
:: REG ADD %KEY%20 /V 2 /D "%Install%\PLACE_FOLDER_NAME_HERE\PLACE_APP_NAME_INSTALL_SWITCHES_HERE" /f

REG ADD %KEY%\105  /VE /D "PLACE_NAME_FOR_WHAT_APPEARS_ON_THE_RUNONCE_MENU" /f
REG ADD %KEY%\105  /V 1 /D "%systemdrive%\Install\PLACE_FOLDER_NAME_HERE\PLACE_APP_NAME_INSTALL_SWITCHES_HERE" /f

REG ADD %KEY%\110  /VE /D "PLACE_NAME_FOR_WHAT_APPEARS_ON_THE_RUNONCE_MENU" /f
REG ADD %KEY%\110  /V 1 /D "%systemdrive%\Install\PLACE_FOLDER_NAME_HERE\PLACE_APP_NAME_INSTALL_SWITCHES_HERE" /f

REG ADD %KEY%\115  /VE /D "PLACE_NAME_FOR_WHAT_APPEARS_ON_THE_RUNONCE_MENU" /f
REG ADD %KEY%\115  /V 1 /D "%systemdrive%\Install\PLACE_FOLDER_NAME_HERE\PLACE_APP_NAME_INSTALL_SWITCHES_HERE" /f


::GUNSMOKINGMAN, MAKE SURE YOU HAVE THIS FILE OR A ERROR WILL HAPPEN WHEN THIS IS RAN

REG ADD %KEY%\970 /VE /D "Preparing Final Clean up ..." /f
REG ADD %KEY%\970 /VE /D "%systemdrive%\Install\PLACE_THE CLEAN_UP_CMD_EXE_VBS_FILE_HERE" /f


Example RunOnceEx CD_DVD Install

cmdow @ /HID
@echo off

::GUNSMOKINGMAN, YOU CAN CHANGE THE CHECK FILE => %%i\Setup.exe <= TO WHAT YOU WANT
for %%i in (C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) do if exist %%i\Setup.exe set CDROM=%%i

set App=%CDROM%Apps

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "The Install Section" /f

REG ADD %KEY /VE /D "Preparing Installation..." /f

:: EXAMPLE ADD REG ENTRIES TO RUNONCE CMD FOR APPS

:: REG ADD %KEY%20 /VE /D "TITLE FOR INSTALL" /f
:: REG ADD %KEY%20 /V 1 /D "REGEDIT /S %App%\PLACE_FOLDER_NAME_HERE\SOME_REGFILE.reg" /f
:: REG ADD %KEY%20 /V 2 /D "%App%\PLACE_FOLDER_NAME_HERE\PLACE_APP_NAME_INSTALL_SWITCHES_HERE" /f

REG ADD %KEY%\105  /VE /D "PLACE_NAME_FOR_WHAT_APPEARS_ON_THE_RUNONCE_MENU" /f
REG ADD %KEY%\105  /V 1 /D "%App%\PLACE_FOLDER_NAME_HERE\PLACE_APP_NAME_INSTALL_SWITCHES_HERE" /f

REG ADD %KEY%\110  /VE /D "PLACE_NAME_FOR_WHAT_APPEARS_ON_THE_RUNONCE_MENU" /f
REG ADD %KEY%\110  /V 1 /D "%App%\PLACE_FOLDER_NAME_HERE\PLACE_APP_NAME_INSTALL_SWITCHES_HERE" /f

REG ADD %KEY%\115  /VE /D "PLACE_NAME_FOR_WHAT_APPEARS_ON_THE_RUNONCE_MENU" /f
REG ADD %KEY%\115  /V 1 /D "%App%\PLACE_FOLDER_NAME_HERE\PLACE_APP_NAME_INSTALL_SWITCHES_HERE" /f


::GUNSMOKINGMAN, USER MAKE SURE YOU HAVE THIS FILE OR A ERROR WILL HAPPEN WHEN THIS IS RAN

REG ADD %KEY%\970 /VE /D "Preparing Final Clean up ..." /f
REG ADD %KEY%\970 /VE /D "%App%\PLACE_THE CLEAN_UP_CMD_EXE_VBS_FILE_HERE" /f

Here is a SFX file for the HTA

Attached Files


Edited by gunsmokingman, 07 September 2007 - 12:50 PM.



GunSmokingMan



#59
severach

severach

    Member

  • Member
  • PipPip
  • 163 posts
  • Joined 06-August 05
You lose any bundled OEM drivers when you build your own OEM install disk from the Microsoft Original. If you want the same install convenience without suffering with outdated crap drivers, you should check this project out.

http://forum.driverpacks.net/

#60
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,780 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
Interesting tool you produced there GSM, you never stop amazing us.

Cheers
MC.

#61
gunsmokingman

gunsmokingman

    MSFN Master

  • Super Moderator
  • 2,421 posts
  • Joined 02-August 03
  • OS:none specified
  • Country: Country Flag

Interesting tool you produced there GSM, you never stop amazing us.

Cheers
MC.

Thank you MC
I was thinking of addding a few more things to the HTA
1:\ Build the UA work area with all the folders, for either a HD install or CD_DVD install
2:\ Copy XP to the UA work area
3:\ Intergrate SP2 and Updates
4:\ Burn the ISO


GunSmokingMan



#62
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,889 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
? anyone
Tried GSM tool and it add's this odd entry also

[params.MS_TCPIP]DNS=No

is not a valid entry as far as i can tell from ref.chm and deploy.chm

[params.MS_TCPIP]DNSDomain=fabrikam.com

is valid

only place DNS= located is under
[NetOptionalComponents]
and Comments Valid only for the Windows Server 2003 family.

My ? are is this some odd thing that work's or mistake not needed

Edited by maxXPsoft, 29 July 2006 - 06:36 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1

#63
valerian_cafe

valerian_cafe
  • Member
  • 1 posts
  • Joined 08-August 06
:hello:

new to this forums, I have an HP Pavlion Media m7470n, I had the recovery dvd's and 1 cd tools. I'm trying to make one dvd too install windows MCE 2005 , I used the code to make the dvd, I couldn't unlock the HP_RECOVERY hd so I used the dvd1 of the hp recovery disk's. I backed up my hd with Acronis True Image . Then I installed the new boot dvd I thought everything was fine, then it ask for another cd with a program, I think it's the mce part of windows to run the media center ? How do I merge that part ? is it a msi file ?

#64
lil nublet

lil nublet

    Newbie

  • Member
  • 12 posts
  • Joined 07-August 06
Instead of activating, can you just remove activation? I see in NLite that you can remove this, what does it do?

#65
Bezalel

Bezalel

    Senior Member

  • Member
  • PipPipPipPip
  • 591 posts
  • Joined 11-October 05

Instead of activating, can you just remove activation? I see in NLite that you can remove this, what does it do?


If you remove activation with nLite you won't be able to activate your PC. If the PC requires activation you won't be able to use it once the grace period runs out.

#66
tkmadison

tkmadison

    Junior

  • Member
  • Pip
  • 75 posts
  • Joined 28-August 05
Here's the problem with my system.
It's running an OEM XP Home. There never was any recovery media (available from the manufacturer at a price) but it has it's own recovery and reinstallation features. It's a lenovo (IBM) and absolutely royalty oem.
It's got a hidden partition with what i think is some form of a winpe pre-boot setup set of files, and some of the ram seems to be dedicated as a hidden drive as well to facilitate the recovery.
Now, there is a I386 folder in the root directory which seems to have everything I would need.
I've cultivated the OEM files and the windows serial from the registry through the methods shown in this thread.
I've created bootable cds from these files and burnt them to CD.
The only problem is that when i get to the "Press any key to Boot from CD" message, and press any button...it just hangs.

now, if everything (possibly a big if here) is in that I386 folder, and technically speaking, I don't need any other files (except for the identifying files in the root of a setup cd).
nLite tells me that I'm missing one of these files, but if I fabricate one (i.e. copy of of the other existing ones and rename it to what nLite is looking for) it goes well.

i can't think of any reason why it should hang. perhaps i should try and get another copy of home (oem, of course) and try using those files?
Nothing is true, everything is permitted.
— Hassan-i-Sabbah

#67
Bezalel

Bezalel

    Senior Member

  • Member
  • PipPipPipPip
  • 591 posts
  • Joined 11-October 05

perhaps i should try and get another copy of home (oem, of course) and try using those files?


Thats probably the best idea. Lenovo may not have included the nessasary files for the text mode setup to run. I personally have the Hologrammed CDs and designed these scripts for use with those CDs.

#68
Tbone2

Tbone2

    Member

  • Member
  • PipPip
  • 268 posts
  • Joined 03-August 03
Bezalel

YOUR THE MAN....
It worked great for my sony lappy :)

and none of the oem bull has to be installed

Thanks again SIR from one happy oem owner.
Posted Image

#69
canadianfigor

canadianfigor

    Newbie

  • Member
  • 15 posts
  • Joined 19-August 06
I followed this method for my Sony VAIO and upon installing windows it prompted for a cd key. I tried entering first the cdkey that was generated using the above method and then the COA key. Both were invalid. Any ideas? My system came with MCE 2005 and I'm installing with MCE 2005 as well. Any help will be much appreciated.


I also noticed that in the title bar of the product key window it says "Windows XP Professional Upgrade". Is this normal for a MCE 2005 installation?
:angry:

Edited by canadianfigor, 21 August 2006 - 11:59 AM.


#70
Randy Rhoads

Randy Rhoads

    Member

  • Member
  • PipPip
  • 133 posts
  • Joined 15-August 04

I also noticed that in the title bar of the product key window it says "Windows XP Professional Upgrade". Is this normal for a MCE 2005 installation?


Maybe the SETUPP.INI file ?

Does it read like:

Pid=76487OEM

#71
twig123

twig123

    Advanced Member

  • Member
  • PipPipPip
  • 325 posts
  • Joined 02-October 05

I also noticed that in the title bar of the product key window it says "Windows XP Professional Upgrade". Is this normal for a MCE 2005 installation?
:angry:


This IS normal for XP MCE, because it is basically Pro with some extra features.

As for the other issues, make sure that the key that that was generated is NOT the same as the one on the system's COA sticker...

#72
canadianfigor

canadianfigor

    Newbie

  • Member
  • 15 posts
  • Joined 19-August 06

Maybe the SETUPP.INI file ?

Does it read like:

Pid=76487OEM

Well first off tyvm for your help. At the time there was no reply here yet, so I did some digging around. Found some cool info I never knew in the process, but yes it was the setupp.ini file that I needed. I used the one i got from start > run > %systemroot%\i386\setupp.ini
[Pid]
ExtraData=786F687170637175716954806365EF
Pid=76487OEM
you were dead on =)

This IS normal for XP MCE, because it is basically Pro with some extra features.

As for the other issues, make sure that the key that that was generated is NOT the same as the one on the system's COA sticker...

Well when I started playing with the PID, the title bar started changing, now it says "Windows XP Professional Setup". The number I got was not the one from the COA sticker, but if I read correctly from my snooping around, Microsoft has keys on their website to use instead of the COA sticker keys.

Thx again for all your help! =D

Only problem now is finding out if it will actually be pre-activated, since I don't want to format at this point in time. I hope that when I need to, it won't bail on me.

Edited by canadianfigor, 22 August 2006 - 07:28 AM.


#73
nadav

nadav
  • Member
  • 8 posts
  • Joined 22-January 05

If you use the key from the Registry (or the key in your Dell CD) you will not have to activate it at all. If you use the key from the sticker you will have to activate by phone. The CD Key is not tied to any manufacturer, the OEMBIOS files are.


What would happen if I try using the OEMBIOS files on a computer from another manufacturer? How do the files "know" if the computer is from this manufacturer or that?

Non-Dell: (System Builder - Not yet activated)
WPA creates a hardware inventory and saves it as WPA.DBL
Using the OEMBIOS files WPA checks that the PC is manufactured by Dell and is using a factory key.
Verification fails - proceed to next step
WPA.DBL is compared to WPA.BAK to determine how much hadware has changed
Verification fails (WPA.BAK doesn't exist) - proceed to next step
User is prompted to activate
User attempts to activate online
Activation fails (factory keys can't activate) - User is informed that the key must be changed
User enters key on sticker
User attempts to activate online
Activation is sucsessful - WPA.DBL is signed and copied as WPA.BAK - Have a nice day


At what stage of the setup (or post-setup) proccess does the wpa check occur? Can I swap the OEMBIOS files after the system has booted for the first time?

#74
Bezalel

Bezalel

    Senior Member

  • Member
  • PipPipPipPip
  • 591 posts
  • Joined 11-October 05

What would happen if I try using the OEMBIOS files on a computer from another manufacturer? How do the files "know" if the computer is from this manufacturer or that?


The OEMBIOS files containg a encrypted list of strings and memory ranges. In the case of Dell, WPA searches a particular portion of the BIOS for "Dell Computer", "Dell Inc", or "Dell System". If you were to uses these files on a non-Dell the check would fail. The MGADIAG tool from MS will show you the first 4 strings in the list but will not show the memory locations.

#75
severach

severach

    Member

  • Member
  • PipPip
  • 163 posts
  • Joined 06-August 05

At what stage of the setup (or post-setup) proccess does the wpa check occur? Can I swap the OEMBIOS files after the system has booted for the first time?

Google "NtLockRegistryKey Inside the WPA-CALL"

You'll need to read it out of the Google cache unless you can find the current AntiWPA site.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users