Share via

How to generate hardware hash from Ubuntu?

NM 41 Reputation points
2026-03-09T16:15:32.0433333+00:00

How to generate hardware hash from Ubuntu which can be then queried to check if the machines were enrolled to Intune before?

Background - there are bunch of reused devices which needs to be checked if they are enrolled to any Intune tenant now these devices have Ubuntu installed. These devices were reused and the only way we can check if they were enrolled in some other tenant is to get the hashes from these devices and try to enroll into our intune tenant. So, is there a way hashes can be generated from these Ubuntu devices.

Microsoft Security | Windows Autopilot
0 comments No comments

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-09T16:15:46.9833333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Windows Autopilot hardware hashes can only be generated from a running Windows OS using the documented Windows methods. The provided documentation lists only Windows-based mechanisms (Configuration Manager, PowerShell script, Diagnostics page hash export, Desktop hash export) and explicitly describes collecting the hardware hash by booting the device into Windows and exporting management logs.

    There is no documented method in the context to generate a Windows Autopilot hardware hash from Ubuntu or any other Linux distribution. The supported flow is:

    1. Boot the device into Windows.
    2. Collect the hardware hash using one of the supported Windows methods (for example, via the Diagnostics page export or PowerShell).
    3. Import the resulting CSV into Intune under Devices → Windows → Windows enrollment → Windows Autopilot → Devices → Import.

    Because capturing the hardware hash requires Windows, reused devices that currently run Ubuntu would need to be reimaged or booted into Windows (even temporarily) to obtain a valid Autopilot hardware hash that can be checked against Intune/Autopilot registration.


    References:

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.