Disk device id value is changing after Windows updates.

Sudheendra Subbarao 6 Reputation points
2022-06-21T09:02:00.847+00:00

Disk device id value is changing after Windows updates. We are using API HardwareIdentification.GetPackageSpecificToken(null).Id to extract the Disk device id value. This is happening with Windows IMAGE downloaded from the Microsoft site - https://www.microsoft.com/en-us/evalcenter/download-windows-10-enterprise.

Installed plain ISO image on my Lenovo T480 Laptop which have downloaded from Microsoft page “64-bit edition”, once the OS version 21H2 installation done then done the Windows updates manually (enclosed the screen shot of Windows updates done). Saw some of the security patches, .Net and Intel Corporation HDC drivers updated. Looks Intel Corporation HDC- 17.11.0.1000 installation changing the disk driver value. We are using this value in our application so change in this does not work with my App.

Could you please let me know how the disk device value is getting changed after driver update of Intel Corporation HDC -17.11.0.1000, is this something known to this driver? What this driver do with disk? Is there any other parameter involves to change the disk ID?

Appreciate your quick response, thanks in advance!!

Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 32,051 Reputation points Microsoft Vendor
    2022-06-22T03:20:29.94+00:00

    Hello,

    Welcome to Microsoft Q&A!

    The ASHWID you get from HardwareIdentification.GetPackageSpecificToken.ID is not always the same. It will change in some scenarios. Based on this document: Guidance on using the App Specific Hardware ID (ASHWID) to implement per-device app logic, it mentioned the following information:

    The ASHWID provides a strong binding between the app/package and the device by representing several individual hardware characteristics. In order to protect user privacy, the ASHWID varies from app to app. Unless the underlying hardware has changed, two calls from the same app will result in identical ASHWIDs. However, the ASHWID changes if the hardware profile of the device changes, such as when the user unplugs a USB Bluetooth adapter. The back-end cloud service can verify the ASHWID and compare it with previously reported values.

    The ASHWID from a given device may change for a variety of reasons depending on when it is queried:

    • Users may decide to upgrade or augment their existing devices resulting in a change in the components that affect the ASHWID.
    • Users may temporarily connect peripherals to their devices that add to the list of components.
    • Power management devices (for slates and devices running on ARM processors) might switch off certain hardware components to conserve battery life.

    Currently, we do not know how will the HardwareIdentification.GetPackageSpecificToken.ID changes.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments