ASHWID API Fails to Retrieve BIOS UUID After 2-3 Minutes Post-Reboot

Xie Steven 831 Reputation points
2026-08-05T01:52:27.1633333+00:00

Our UWP app calls the Windows API ASHWID (Application Specific Hardware ID) to retrieve the device UUID for uniquely identifying the tablet. However, an anomaly occurs where this value cannot be fully or correctly retrieved under certain conditions:

After a device reboot, all hardware information can only be read for the first 2 to 3 minutes. After this timeout period, it becomes impossible to retrieve BIOS-related ID information.

Additional Troubleshooting Observations

  • Executing the WMI command wmic csproduct get UUID consistently returns the correct value.
  • Querying Win32_ComputerSystemProduct.UUID via PowerShell also works normally.
  • The operating system itself is able to successfully read the device's BIOS UUID.
  • Only the ASHWID API fails to return the BIOS identifier after 2–3 minutes post-reboot. The issue is temporarily resolved by restarting the device.

Troubleshooting Tests Performed

  • Changed the power plan to "Ultimate Performance" mode.
  • Performed a clean boot.
  • Performed a clean boot with all non-essential applications stopped (including OEM power management software).
Developer technologies | Universal Windows Platform (UWP)

2 answers

Sort by: Most helpful
  1. Jay Pham (WICLOUD CORPORATION) 4,270 Reputation points Microsoft External Staff Moderator
    2026-08-07T01:21:39.4733333+00:00

    HI @Xie Steven ,

    ASHWID does not have a fixed length. Its components and ordering may change depending on the hardware detected at the time of the call.

    I recommend not relying on the BIOS component alone. If a stable device identifier is required, please consider using SystemIdentification.GetSystemIdForPublisher(). If ASHWID must be used, each component should be parsed separately and the application should tolerate hardware drift.

    Was this answer helpful?


  2. Jay Pham (WICLOUD CORPORATION) 4,270 Reputation points Microsoft External Staff Moderator
    2026-08-05T02:29:27.3+00:00

    I am currently working the issue and will provide an update soon. Thank you for your patience.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.