Hi

I want to get my mainboard serial number, there is a way to get it on win98, read addr 0xfec71. but on nt,i can not access this memory.

And, can ntQuerySystemInformation do that?

thanks

Terry
Posted on 2002-02-02 05:46:17 by xqterry
Posted on 2002-02-02 18:30:36 by roaknog
I guess you have to copy the url to the location box because it will not download if you click it.
Posted on 2002-02-02 18:36:08 by roaknog
wow~

But the file is not available even i paste it in location.

:P
Posted on 2002-02-03 00:28:58 by xqterry
Tripod has blocked linking from outside URL(s). To download the file, you need to go to http://freehafer.tripod.com/pf.html , and click the download link on that page.

-----
Domain

(EDIT) Oops, sorry for any confusion this may have caused.
Posted on 2002-02-03 01:11:58 by Domain
actually it is

http://freehafer.tripod.com/pf.html

and click

Assembly program gets computer main board serial number.
Posted on 2002-02-03 10:35:09 by roaknog
The main board serial number is at 0FEC71h between
0FEFFFh and 0FFFFFh, a 1000h byte page and is
??
.?d???t??`????`?? ???`???dP?


does this imply it doesnt work quite how it should?
:\
I wouldnt mind this either
Posted on 2002-02-03 11:23:19 by ThrawN
The address really starts at 0fe000h and ignores the last three digits and reads 1000h = 4096. I was just sloppy in writing 0fefffh.
Posted on 2002-02-03 11:26:56 by roaknog
Anyway thanks ThrawN. I cleaned up the output.
However, I have heard that some people can't get GetProcAddress to work on some versions of XP. I never had a problem with GetProcAddress. I don't know if that has to do with the version--standard versus professional. I have the professional version of 2000.
Posted on 2002-02-03 11:59:22 by roaknog
RtlNtStatusToDosError = 0.


ZwOpenSection handle = 68.


The main board serial number is at 0FEC71h between
0FE000h and 0FF000h, a 1000h byte page and is
??
.?d???t??`????`?? ???`???dP?

Same problem with displaying the serial? or is this ment to happen :)
Posted on 2002-02-03 12:05:09 by ThrawN
My serial number looks more organized with parts of the bios date in it. What is your operating system? How many cpu's does your computer have? I welcome input from anyone.
Posted on 2002-02-03 12:27:29 by roaknog
Win2k pro with sp3 rc2
1 Duron 700 Cpu
Posted on 2002-02-03 13:24:37 by ThrawN
Is it possible your serial number has been disabled in your bios?
Posted on 2002-02-03 13:31:50 by roaknog
I ask that arrogantly.
Posted on 2002-02-03 13:32:46 by roaknog
Hi

i tried that procedure. sure,it works on my win2k(adv server,no sp),and on my friend's xp.

it used undocument API in ntdll.dll, :P

thanks
Posted on 2002-02-04 03:40:26 by xqterry
I know the problem,. sandra reads the serial # incorrectly as well
its the motherboard. My own programs iv done in delphi (long time ago) cant read it properly either.
The code isnt generic through every manufactory :\ i havnt seen one yet that is

ThrawN
Posted on 2002-02-04 09:01:23 by ThrawN
The other thing I would have said is you don't have a normal serial number but try the following line change and read other memory. Surely they would show off a copyright.
; add out_memory_virtual_address, 0C71h ; start of serial number from offset
add out_memory_virtual_address, 091h ; bios copyright
Posted on 2002-02-04 10:29:34 by roaknog
The main board serial number is at 0FEC71h between
0FE000h and 0FF000h, a 1000h byte page and is
?? ?E?_^???PR?>@ t???@ u???????&?.


:((((
Posted on 2002-02-04 11:26:37 by ThrawN
Posted on 2002-02-04 12:38:46 by rdaneel

The main board serial number is at 0FEC71h between
0FE000h and 0FF000h, a 1000h byte page and is
?? ?E?_^???PR?>@ t???@ u???????&?.


May be you have a japanese motherboard!!! :grin:
Posted on 2002-02-04 19:56:39 by CodeLover