NAME
ComputerHardwareIds - Outputs the HardwareIds for the computer
SYNOPSIS
ComputerHardwareIds.exe [/mfg] [/product] [/family] [/ven] [/ver] [/major]
[/minor] [/sku] [/enclosure] [/bb_mfg] [/bb_product] [/verbose] [/?]
DESCRIPTION
Outputs the HardwareIds for the computer. When executed without any command
line arguments the HardwareIds are generated using data in the system
BIOS. Optional arguments allow the generation of HardwareIds based on
strings specified on the command line. When optional arguments are specified
the BIOS values on the local computer are not used when generating the
HardwareID values.
OPTIONS
Argument BIOS Field Meaning
-----------------------------------------------------------------------------
/ven "BIOS vendor string" Specifies the BIOS vendor string for
a given system. If not specified the
value is assumed to be NULL.
/ver "BIOS version string" Specifies the BIOS version string for
a given system. If not specified the
value is assumed to be NULL.
/major "System BIOS Major Release" Specifies the BIOS major release
as a string representation of
an int. If not specified the value is
assumed to be '0'.
/minor "System BIOS Minor Release" Specifies the BIOS minor release
as a string representation of
an int. If not specified the value is
assumed to be '0'.
/mfg "System Manufacturer string" Specifies the System Manufacturer
string for a given system. If not
specified the value is assumed to be
NULL.
/family "System Family string" Specifies the System Family string
for a given system. If not specified
the value is assumed to be NULL.
/product "System ProductName string" Specifies the ProductName string for
a given system. If not specified the
value is assumed to be NULL.
/enclosure "Enclosure type number" Specifies the number for the
Enclosure type for the system. This
number is the Byte value from the
Sytem Enclosure or Chassis Type list
in the SMBIOS specification. This
value cannot be 0.
/bb_mfg "Baseboard Manufacturer string" Specifies the Baseboard Manufacturer
string for a given system. If not
specified the value is assumed to be
NULL.
/bb_product "Baseboard Product string" Specifies the ProductName string for
a given baseboard. If not specified the
value is assumed to be NULL.
/sku "SKU Number string" Specifies the SKU Number string
for the system. If not specified
the value is assumed to be NULL.
/verbose "true or false" Specifies whether to print more
information than just the GUIDs. If
not specified verbose output is
assumed.
/? List of the command line options and
usage.
-----------------------------------------------------------------------------
Up to fifteen HardwareIds will be generated depending on the following:
* The BIOS fields available on the local system when no arguments are
specified.
* The command line arguments specified.
Each of the following HardwareIds will be generated if the indicated BIOS
fields or arguments are available:
HardwareId 1 : Manufacturer + Family + Product Name + SKU Number + BIOS Vendor
+ BIOS Version + BIOS Major Release + BIOS Minor Release
[required] /ven, /ver, /mfg, /product and /sku
[optional] /major, /minor, and /family
HardwareId 2 : Manufacturer + Family + Product Name + BIOS Vendor
+ BIOS Version + BIOS Major Release + BIOS Minor Release
[required] /ven, /ver, /mfg, and /product
[optional] /major, /minor, and /family
HardwareId 3 : Manufacturer + Product Name + BIOS Vendor
+ BIOS Version + BIOS Major Release + BIOS Minor Release
[required] /ven, /ver, /mfg, and /product
[optional] /major and /minor
HardwareId 4 : Manufacturer + Family + ProductName + SKU Number + Baseboard Manufacturer + Baseboard Product
[required] /mfg, /product, /sku, /bb_mfg, and /bb_product
[optional] /family
HardwareId 5 : Manufacturer + Family + ProductName + SKU Number
[required] /mfg, /product, and /sku
[optional] /family
HardwareId 6 : Manufacturer + Family + ProductName
[required] /mfg, and /product
[optional] /family
HardwareId 7 : Manufacturer + SKU Number + Baseboard Manufacturer + Baseboard Product
[required] /mfg, /sku, /bb_mfg, and /bb_product
HardwareId 8 : Manufacturer + SKU Number
[required] /mfg and /sku
HardwareId 9 : Manufacturer + ProductName + Baseboard Manufacturer + Baseboard Product
[required] /mfg, /product, /bb_mfg, and /bb_product
HardwareId 10 : Manufacturer + ProductName
[required] /mfg and /product
HardwareId 11 : Manufacturer + Family + Baseboard Manufacturer + Baseboard Product
[required] /mfg, /family, /bb_mfg, and /bb_product
HardwareId 12 : Manufacturer + Family
[required] /mfg and /family
HardwareId 13 : Manufacturer + Enclosure Type
[required] /mfg and /enclosure
HardwareId 14: Manufacturer + Baseboard Manufacturer + Baseboard Product
[required] /mfg, /bb_mfg, and /bb_product
HardwareId 15: Manufacturer
[required] /mfg
Refer to the System Management (SMBIOS) Specification for additional
details on these BIOS fields.
BIOS Field Name Structure Name (Type) Offset
-----------------------------------------------------------------------------
Baseboard Manufacturer Baseboard Information (Type 2) 04h
Baseboard Product Baseboard Information (Type 2) 05h
System Manufacturer System Information (Type 1) 04h
System Family System Information (Type 1) 1Ah
System Product Name System Information (Type 1) 05h
SKU Number System Information (Type 1) 19h
BIOS Vendor BIOS Information (Type 0) 04h
BIOS Version BIOS Information (Type 0) 05h
System BIOS Major Release BIOS Information (Type 0) 14h
System BIOS Minor Release BIOS Information (Type 0) 15h
Enclosure type System Enclosure (Type 3) 05h
-----------------------------------------------------------------------------
EXAMPLES
Generating HardwareIds from the BIOS:
ComputerHardwareIds.exe
Generating HardwareIds from command line arguments:
ComputerHardwareIds.exe /ven "Contoso Ltd." /ver "0.158" /major "12"
/minor "9" /mfg "Contoso" /family "Q Workstation" /product "3C273"
/enclosure "6"
C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\computerhardwareids.exe version
10.0.19041.1