Fail to Get SmbiosInformation.SerialNumber RRS feed

  • Question

  • I use Windows.System.Profile.SystemManufacturers to get  SmbiosInformation.SerialNumber and get an "Access denied"Error.

    And I know "specify the app in the system's metadata before retrieving any properties."

    I use device Metadata Authoring Wizard to create metadata but some attributes puzzle me.

    Also after I finish create the metadata with XML , how to do to include into package?

    I get some idea that the serialNumber is not accessible unless OEM. How do OS identify whether OEM or normal developer?How do I get to do to access this attribute if i am an OEM developer

    P.S. I would like to Identify the OS is preinstalled by oem by certain manufacturer.Is there any better API to satisfy this demand?

    PP.S  API Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation() gets Info from registry is not reliable because registry can easily modified.

    • Edited by mantou_STB Tuesday, August 19, 2014 6:14 AM more Details
    Tuesday, August 19, 2014 6:09 AM

All replies

  • Hi mantou_STB,

    Check the documentation: Specify applications in the Device Metadata Authoring Wizard, you may need to write your information into the app package.

    I'm not familiar with how system identify the OEM or normal user, but seems the OEM apps are pre-installed and normal app are installed via store, and the developer account OEM own is quite different from a normal user, see this for more information: Working with OEMs

    If you are the OEM I believe you have some internal channels to communicate with Microsoft and you can get official help from that channel.


    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Wednesday, August 20, 2014 6:15 AM
  • Hi James,

    I have read this document ,but some details puzzled me .

    From the description

    In the tab "package type" I think windows store device app metadata/Internal device will be the choice so I make each of them a time.

    Confusions also occured in device categories and device info.

    in deviceinfo, I entry SystemProductName in model name and SystemManufacturer in Manufacturer which from registry hkeylocalmachine->hardware->description->system->bios.

    In hardwareinfo , The Wizard will automatically fill HardwareID by import if the Package Type is Internal Device . I type the HardwareID got from which I get in the upper condition if the Package Type is Windows store device app Metadata.

    In App info , which is suggested by you to specify applications, I have already fill it correctly.(Wizard will fill part of info if Package Type is Windows store device app Metadata,otherwise I copy the info from appmamifest)

    After that Wizard Output 3file include an Xml file(Product type choose Windows store device app Metadata).

    <?xml version="1.0" encoding="utf-8"?>
    <StoreManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="StoreManifest.xsd" xmlns="http://schemas.microsoft.com/appx/2010/StoreManifest">

    But it does not looks like pieces in


    What's wrong?

    • Edited by mantou_STB Thursday, August 21, 2014 6:48 AM
    Thursday, August 21, 2014 6:34 AM