PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → find motherboard serial number
find motherboard serial number
Iniciado por guest, 08,jul. 2016 12:47 - 4 respuestas
Publicado el 08,julio 2016 - 12:47
i am try this code :-

objLocator est un objet Automation "WbemScripting.SWbemLocator"
objService est un objet Automation dynamique
Results est un objet Automation dynamique
QUAND EXCEPTION DANS
objService = objLocator>>ConnectServer(".", "root\cimv2")
objService>>Security_>>ImpersonationLevel = 3
// Motherboard infos
Results = objService>>ExecQuery("SELECT Manufacturer, Product, Version, SerialNumber FROM Win32_BaseBoard")
POUR x = 0 _A_ Results>>Count -1
Trace("Manufacturer : ",Results>>ItemIndex(x)>>Properties_("Manufacturer")>>Value )
Trace("Product : ",Results>>ItemIndex(x)>>Properties_("Product")>>Value )
Trace("Version : ",Results>>ItemIndex(x)>>Properties_("Version")>>Value )
Trace("SerialNumber : ",Results>>ItemIndex(x)>>Properties_("SerialNumber")>>Value )
Trace("=========================")
FIN
FAIRE
Erreur("Erreur execution WMI",ExceptionInfo(errInfo))
ExceptionActive()
FIN


----------------------

but this code not give motherboard serian number (981,845,945 this motherboard)
Publicado el 08,julio 2016 - 13:25
Are looking for the computer GUID? If so, this might point you in the right direction..

https://technet.microsoft.com/en-us/library/cc739558(v=ws.10).aspx
Publicado el 08,julio 2016 - 18:12
Hi, thank you!!! The practical way to exploit the wmic is shown here
http://www.nextofwindows.com/how-to-find-out-bios-motherboard-and-cpu-info-from-command-line/
Publicado el 09,julio 2016 - 14:09
hi , GuenterP and Mr Black

i am try your give solution but

this socket montherboard (945,845,etc..) not give RAM serialnumber and motherboard Serialnumber,or Processer serialnumber

i am try this command in cmd :-
wmic memorychip get serialnumber
-
wmic bios get name,serialnumber,version
-
wmic csproduct get name,identifyingnumber,uuid
-
Publicado el 09,julio 2016 - 15:50
Hi,

wmic csproduct get name,identifyingnumber,uuid > c:\ exte\uuid.txt

on one of the computers I'm using here will fill a text file named uuid.txt with

IdentifyingNumber Name UUID
YL1L007910 ESPRIMO P5635 1DF74F42-D0B5-3F8A-E7BE-001999719F4B

It says that the product is Fujitsu computer Esprimo P5635 type YL1L007910 with the unique id of 1DF74...

Are you logged in as an administrator on that computer?

In one of the pages mentioning this command they said that some motherboards do not respond with a valid uuid, maybe because they're no-name-boards?