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

OEMScan - Automated Multi Manufacture Pre-Activation Utility

- - - - -

  • Please log in to reply
353 replies to this topic

#51
FreeStyler

FreeStyler

    Member

  • Member
  • PipPip
  • 169 posts
  • OS:none specified

OEMScan v1.21
http://www.msfn.org/...showtopic=82638

Validates the OEMBIOS.BIN/SIG/DAT files against the .CAT file before copying. If they're mismatched it won't copy them over.
Copies OEMBIOS.BIN/DAT/SIG to DllCache

Many thanks to severach for the help.


Shouldn't OEMBIOS.CAT be copied to DLLCache as well?
i believe DLLCache directory holds all 4 files, at least it does after a clean install using my original XP disc

[fs]
Posted Image


How to remove advertisement from MSFN

#52
vpn-user

vpn-user

    Newbie

  • Member
  • 46 posts
@xehqter: I noticed that OEMscan also copies oembios.cat to %systemdrive%. Why is that?

#53
xehqter

xehqter

    Junior

  • Member
  • Pip
  • 87 posts
@FreeStyler: The dllcache directory doesn’t store .CAT files. After running sfc /scannow it only copies the BIN/DAT/SIG files. Weird, I checked it on multiple new installs and never saw an OEMBIOS.CAT file in that directory

@vpn-user: The original OEMBIOS.CAT file is backed up to SystemDrive when it validates the OEMBIOS files being copied over. If validation fails it restores the original .CAT file. The file should be deleted if validation passes. Something to fix in the next release.

Edited by xehqter, 27 September 2006 - 08:17 AM.


#54
FreeStyler

FreeStyler

    Member

  • Member
  • PipPip
  • 169 posts
  • OS:none specified
No, still beleive you are wrong here...
I just re-tested it with a orginal Dell XP Professional SP2 installation Disc, these are the files found 2 minutes after completing installation:
>Windows\System32\
-oembios.bin
-oembios.dat
-oembios.sig
>Windows\System32\dllcache\
-oembios.bin
-OEMBIOS.CAT
-oembios.dat
-oembios.sig
>Windows\System32\Catroot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\
-OEMBIOS.CAT

Edited by FreeStyler, 27 September 2006 - 12:07 PM.

Posted Image

#55
Bezalel

Bezalel

    Senior Member

  • Member
  • PipPipPipPip
  • 591 posts

@FreeStyler: The dllcache directory doesn’t store .CAT files. After running sfc /scannow it only copies the BIN/DAT/SIG files. Weird, I checked it on multiple new installs and never saw an OEMBIOS.CAT file in that directory

On a fresh install there will be CAT files in the dllcache folder. These files are just leftover from the install process and are not restored when rebuilding the dll cache. Any solution that replaces the OEMBIOS files should make sure that the loftover obsolete CAT in the dll cache is removed or replaced to avoid further confusion.

#56
RogueSpear

RogueSpear

    OS: SimplyMEPIS

  • MSFN Sponsor
  • 1,529 posts
Just wondering if there would be an advantage to running this from DetachedProgram rather than svcpack or cmdlines. With some things in Windows setup, the earlier the better.

#57
Siginet

Siginet

    Windows XP PowerPacker Creator

  • Member
  • PipPipPipPipPip
  • 739 posts

@FreeStyler: The dllcache directory doesn’t store .CAT files. After running sfc /scannow it only copies the BIN/DAT/SIG files. Weird, I checked it on multiple new installs and never saw an OEMBIOS.CAT file in that directory

@vpn-user: The original OEMBIOS.CAT file is backed up to SystemDrive when it validates the OEMBIOS files being copied over. If validation fails it restores the original .CAT file. The file should be deleted if validation passes. Something to fix in the next release.

Actually at first I thought of the oembios.cat file at the root was a bug... but then I started to enjoy seeing it there. I can tell that pre activation was successful and I can check what the crc32 of that cat is so I know which fileset was used. So it's not that big of a deal in my eyes.

@Roguespear
At first I thought using detatched program would be the best approach... but oemscan works great the way it works now. The issue I had trying to run it during detached program was the fact that debug.exe does not seem to work around that time.

Posted Image
For those of you interested in my next software venture you can check it out here:
www.ITTechware.com


#58
FreeStyler

FreeStyler

    Member

  • Member
  • PipPip
  • 169 posts
  • OS:none specified


@FreeStyler: The dllcache directory doesn’t store .CAT files. After running sfc /scannow it only copies the BIN/DAT/SIG files. Weird, I checked it on multiple new installs and never saw an OEMBIOS.CAT file in that directory

On a fresh install there will be CAT files in the dllcache folder. These files are just leftover from the install process and are not restored when rebuilding the dll cache. Any solution that replaces the OEMBIOS files should make sure that the loftover obsolete CAT in the dll cache is removed or replaced to avoid further confusion.

Yep, but i used a non Royalty OEM "OEMBIOS.CAT" on my dvd (the one that needs te be left in the /I386/ to succesfully install Windows XP) this file can be confusing as it has a different CRC as the one copied by OEMScan,
I agree with Bezalel, either:
  • Delete the OEMBIOS.CAT file from dllcache
  • Copy the matching into dllcache folder

Edited by FreeStyler, 27 September 2006 - 04:26 PM.

Posted Image

#59
RogueSpear

RogueSpear

    OS: SimplyMEPIS

  • MSFN Sponsor
  • 1,529 posts

but oemscan works great the way it works now.

Well I'm not about to argue with "if it ain't broke don't fix it" :D It was just that when I read the entire thread from start to finish, I never saw mention as whether or not anybody had tried it. Something that came to mind was that since DetachedProgram is defined within WINNT.SIF, I thought that perhaps it would have the potential to make things easier on those that use multiboot discs.

I don't use multiboot discs myself, but it's to my understanding that you would have a seperate WINNT.SIF for each of the various installs on that disc.

#60
xehqter

xehqter

    Junior

  • Member
  • Pip
  • 87 posts
@FreeStyler
::confused::
This falls under my “is it necessary category”.
Confusing to whom? The .CAT isn’t protected by WFP so it shouldn’t be in dllcache to begin with. If you feel it’s a major issue delete the file with a script. Other then making things “look nice” is there any value to this?

UPDATE: Its not worth the effort in arguing it will delete the file in the next release.

@Siginet
OEMScan doesn’t work via DetachedProgram?

Edited by xehqter, 27 September 2006 - 05:38 PM.


#61
Bilou_Gateux

Bilou_Gateux

    Powered by Windows Embedded

  • Member
  • PipPipPipPipPip
  • 768 posts

Just wondering if there would be an advantage to running this from DetachedProgram rather than svcpack or cmdlines. With some things in Windows setup, the earlier the better.



RIS install + run @DetachedProgram = :thumbup

ristndrd.sif
[GuiUnattended]
DetachedProgram=".\system32\cmd.exe"
Arguments="/Q /C FOR /F %I IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %J IN (%I\$OEM$) DO (IF EXIST %J (%J\NirCmd.exe exec hide %J\OCA_MRK.CMD)))"

OCA_MRK.CMD
@FOR /F %%a IN (%SystemRoot%\SYSTEM32\$WINNT$.INF) DO (FOR %%b IN (%%a) DO (IF EXIST %%b (SET DOSPATH=%%b)))

:oemscan
%dospath%\$oem$\oemscan.exe>%systemdrive%\oemscan.log
%dospath%\$oem$\oemscan.exe

oemscan.log

OEMBIOS Scanner v1.21 by Jeremy (xehqter)

Matched: Compaq
Checking Authenticity of OEMBIOS files
OEMBIOS files pass Validation
Copying C:\$WIN_NT$.~LS\$oem$\HP\OEMBIOS.BIN : Successful
Copying C:\WINDOWS\system32\DllCache\OEMBIOS.BIN : Successful
Copying C:\$WIN_NT$.~LS\$oem$\HP\OEMBIOS.SIG : Successful
Copying C:\WINDOWS\system32\DllCache\OEMBIOS.SIG : Successful
Copying C:\$WIN_NT$.~LS\$oem$\HP\OEMBIOS.DAT : Successful
Copying C:\WINDOWS\system32\DllCache\OEMBIOS.DAT : Successful
Importing C:\$WIN_NT$.~LS\$oem$\HP\OEMBIOS.CAT : Successful
OEMBIOS Scanner v1.21 by Jeremy (xehqter)


Congratulations Jeremy for your OEMScan utility.
OS Version = 5.1.2600 Service Pack 3
Platform ID = 2 (NT)
Service Pack = 3.0
Suite = 0x0140
Product Type = 1
Architecture = x86

#62
xehqter

xehqter

    Junior

  • Member
  • Pip
  • 87 posts
Version Bump

#63
FreeStyler

FreeStyler

    Member

  • Member
  • PipPip
  • 169 posts
  • OS:none specified
Working great, thx for the update

One question though, do we need to process the gateway files in a ordered way?
Lets say first scan for the specific range and if that fails scan for the whole range with for example the different set?
eg,
[GATEWAY]
PATH=".\oemfiles\GATEWAY\A04597C6\"
RANGE="0x000F32F0:20,0x000FE840:20"

[Gateway]
PATH=".\oemfiles\GATEWAY\C86378C7\"

Edited by FreeStyler, 03 October 2006 - 02:31 PM.

Posted Image

#64
Siginet

Siginet

    Windows XP PowerPacker Creator

  • Member
  • PipPipPipPipPip
  • 739 posts

Working great, thx for the update

One question though, do we need to process the gateway files in a ordered way?
Lets say first scan for the specific range and if that fails scan for the whole range with for example the different set?
eg,

[GATEWAY]
PATH=".\oemfiles\GATEWAY\A04597C6\"
RANGE="0x000F32F0:20,0x000FE840:20"

[Gateway]
PATH=".\oemfiles\GATEWAY\C86378C7\"


I was wondering the same thing. Allthough I know in autoit if you have 2 sections with the same name in an ini file only the first instance is read. I am not sure with C+ though. If this is the case I suppose we could search for:
[GATEWA]
PATH=".\oemfiles\GATEWAY\A04597C6\"
RANGE="0x000F32F0:20,0x000FE840:20"

[Gateway]
PATH=".\oemfiles\GATEWAY\C86378C7\"

What do you think xehqter?

Posted Image
For those of you interested in my next software venture you can check it out here:
www.ITTechware.com


#65
xehqter

xehqter

    Junior

  • Member
  • Pip
  • 87 posts
@Siginet & FreeStyler

I didn’t even think of that, rofl.. good catch..
Siginet is correct in both instances (Win32API & Gateway). So we don’t confuse the masses here is the correct memory range for A04597C6. Technically it could be RANGE="0xF32F0:40" but in the unlikely event the word gateway is overlapped in both ranges Windows won't activate. The top instance specifically addresses A04597C6. C86378C7 is used for any instance of gateway in the BIOS.

Today I came across a gateway 450MHZ P3 with the latest bios (March 2000) that didn’t have the word gateway in the bios.

#Specific memory ranges that are present in A04597C6 but not in C86378C7
[Gatewa]
PATH=".\oemfiles\GATEWAY\A04597C6\"
RANGE="0xF32F0:20, 0xF3310:20"

[Gateway]
PATH=".\oemfiles\GATEWAY\C86378C7\"

Edited by xehqter, 03 October 2006 - 07:06 PM.


#66
RogueSpear

RogueSpear

    OS: SimplyMEPIS

  • MSFN Sponsor
  • 1,529 posts

Today I came across a gateway 450MHZ P3 with the latest bios (March 2000) that didn’t have the word gateway in the bios.

I come across a ton of Gateway computers from that era. That seems to be when they really made long lasting machines. Unfortunately I have noticed the same thing with Toshiba and HP/Compaq laptops that are from around 2000. I don't think anybody started to make their BIOS with the royaly program in mind until Dell started to do it.

#67
FreeStyler

FreeStyler

    Member

  • Member
  • PipPip
  • 169 posts
  • OS:none specified

@Siginet & FreeStyler

I didn’t even think of that, rofl.. good catch..
Siginet is correct in both instances (Win32API & Gateway). So we don’t confuse the masses here is the correct memory range for A04597C6. Technically it could be RANGE="0xF32F0:40" but in the unlikely event the word gateway is overlapped in both ranges Windows won't activate. The top instance specifically addresses A04597C6. C86378C7 is used for any instance of gateway in the BIOS.

Today I came across a gateway 450MHZ P3 with the latest bios (March 2000) that didn’t have the word gateway in the bios.

#Specific memory ranges that are present in A04597C6 but not in C86378C7
[Gatewa]
PATH=".\oemfiles\GATEWAY\A04597C6\"
RANGE="0xF32F0:20, 0xF3310:20"

[Gateway]
PATH=".\oemfiles\GATEWAY\C86378C7\"

Thx for clearifying
Posted Image

#68
twig123

twig123

    Advanced Member

  • Member
  • PipPipPip
  • 325 posts
I just activated a system with your OEMSCAN utility (which is a life saver) and I noticed that for some reason it makes a copy of the 'OEMBIOS.CAT' file in the root of the C: drive... anyone else notice this?

#69
FreeStyler

FreeStyler

    Member

  • Member
  • PipPip
  • 169 posts
  • OS:none specified

@vpn-user: The original OEMBIOS.CAT file is backed up to SystemDrive when it validates the OEMBIOS files being copied over. If validation fails it restores the original .CAT file. The file should be deleted if validation passes. Something to fix in the next release.

Do you use the latest (1.3) version? it looks like your using 1.21
Posted Image

#70
xehqter

xehqter

    Junior

  • Member
  • Pip
  • 87 posts

I just activated a system with your OEMSCAN utility (which is a life saver) and I noticed that for some reason it makes a copy of the 'OEMBIOS.CAT' file in the root of the C: drive... anyone else notice this?

1.3 fixes that bug. The cat file is a backup copy of the systems original oembios.cat file which is used to restore incase validation fails on the Royalty OEMBIOS file set. Version 1.3 deletes the file if validation passes.

#71
twig123

twig123

    Advanced Member

  • Member
  • PipPipPip
  • 325 posts


@vpn-user: The original OEMBIOS.CAT file is backed up to SystemDrive when it validates the OEMBIOS files being copied over. If validation fails it restores the original .CAT file. The file should be deleted if validation passes. Something to fix in the next release.

Do you use the latest (1.3) version? it looks like your using 1.21


DOH! I'm sorry guys, I coulda swore I had the latest... I guess I'm just losing my mind, its been a long week...
Thanks

PS: any chance of a silent switch in a future revision?

Edited by discountpc, 11 October 2006 - 06:20 PM.


#72
merlin01

merlin01
  • Member
  • 2 posts
hello,

I hope I don't get flamed or anything, but I've got to ask.

What do I do with oemscan? Do I burn it to the image file for xp and setup will just pick it up or do I need to do something special before trying to install xp?

I offered to reformat a lady's computer for her but she didn't have her dell cd and I figured, no worries I'll use my cd and her key but it will not accept her Dell key. (that's the small version of it).

Thanks

#73
xehqter

xehqter

    Junior

  • Member
  • Pip
  • 87 posts
@discountpc
If you want to hide the window that runs oemscan why not use cmdow or something similar.

@merline01
oemscan is run during or after the windows xp setup to copy over the royalty OEMBIOS files.

First Windows XP must be using a SLP (Royalty OEM) CD Key, this is NOT the key located on the side of the computer. Second you need the Royalty OEMBIOS file set for dell which can be obtained from Bazalel’s repository, simply extract the files into the dell directory and run oemscan.exe

If you want to integrate OEMSCAN into an XP CD Siginet has a fantastic add-on for the RyanVM Integrator called OEMScan v1.21 RVM Integrator Addons which will save you the trouble of writing a script to run OEMSCAN during setup.

#74
twig123

twig123

    Advanced Member

  • Member
  • PipPipPip
  • 325 posts

@discountpc
If you want to hide the window that runs oemscan why not use cmdow or something similar.

Isn't CMDOW only for batch files? because you have to add a line of code to the batch for it to hide, right? or am I just stressin from another long day syndrome?
...from what I have seen this program uses an exe that is coded from C++

#75
WoRdUp48

WoRdUp48

    Member

  • Member
  • PipPip
  • 106 posts
Ok, I am a little bit confused, so I'd just like to ask for some clarification.

I have a laptop that I always have to call MS to get activated. I am using a normal XP OEM CD rather than the crap recovery ones that came with my laptop (I do not like all the extra junk that the recovery CDs have on them). With this tool, can I somehow make it so that I would not have to call MS every time after a format? BTW, when I install I use the original CD key that is on the sticker on the bottom of my laptop, if that helps.

Please go easy on me. I am new at doing any sort of mods to and XP CD; I have not gotten into the unattended stuff, but that will be next.

Anyway, I look forward to your replies.

Thanks!

wordup48

Edited by WoRdUp48, 11 October 2006 - 10:50 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN