Welcome! Log In Create A New Profile

Advanced

find motherboard serial number

Posted by Vijay Patel 
Vijay Patel
find motherboard serial number
July 08, 2016 12:47PM
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)
Davie
Re: find motherboard serial number
July 08, 2016 01:25PM
Are looking for the computer GUID? If so, this might point you in the right direction..

[technet.microsoft.com]
GuenterP
Re: find motherboard serial number
July 08, 2016 06:12PM
Hi, thank you!!! The practical way to exploit the wmic is shown here
[www.nextofwindows.com]
Vijay Patel
Re: find motherboard serial number
July 09, 2016 02:09PM
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
-
GuenterP
Re: find motherboard serial number
July 09, 2016 03:50PM
Hi,

wmic csproduct get name,identifyingnumber,uuid > c:\texte\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?
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: