Table of contents
TOC
Collapse the table of content
Expand the table of content

Using mbidgenerator.exe to generate hardware IDs

Last Updated: 1/24/2017

To generate hardware ID values for your service metadata package, you can use the MBIDGenerator.exe command-line tool, which is part of the SDK in Windows 8.1 and Windows 10.

Note
In Windows 8 MBIDGenerator.exe was included in the WDK.

Input

MBIDGenerator.exe accepts the following parameters:

MBIDGenerator.exe [/Test] <input file> [<output file>]

Note
The Test parameter provides non-hashed output and should not be used for generating hardware IDs for submission to the Windows Dev Center Dashboard.

Output

The output from the MBIDGenerator.exe is through a standard command-line output display. Optionally, you can specify a path and file name for the output file. Errors are always reported back to the command prompt.

The output values appear in the following way:

<HardwareIDList>
  <HardwareID>MBAE:0:hashednumber1</HardwareID>
  <HardwareID>MBAE:0:hashednumber2</HardwareID>
  <HardwareID>MBAE:0:hashednumber3</HardwareID>
</HardwareIDList>

You can take the output from MBIDGenerator.exe and insert it into the PackageInfo XML schema of your service metadata package.

Send comments about this topic to Microsoft

© 2017 Microsoft