Tuesday, December 31, 2024

Importing "ONLINE" Hardware Hash into Microsoft Intune for Windows Autopilot

 

Importing "ONLINE" Hardware Hash into Microsoft Intune for Windows Autopilot

Windows Autopilot streamlines the deployment and management of new devices in an enterprise environment. One critical step in setting up Autopilot is importing the hardware hash into Microsoft Intune. This guide walks you through the process using PowerShell.


Prerequisites

  1. Microsoft Intune License: Ensure your tenant is licensed for Intune.
  2. Admin Permissions: You need appropriate permissions to add devices to Intune.
  3. Windows PowerShell: Install the latest version of Windows PowerShell.
  4. Network Access: Devices must have access to the internet during hash extraction.

Steps to Import Hardware Hash

  1. Install the Required Script
    The script Get-WindowsAutopilotInfo is used to gather hardware hashes. To install it, run the following command in an elevated PowerShell session:


    Install-Script -Name Get-WindowsAutopilotInfo -Force
  2. Gather Hardware Hash
    Run the script to extract the hardware hash and upload it directly to Microsoft Intune:


    Get-WindowsAutopilotInfo -Online
    • What It Does:
      • Captures hardware details (hardware hash, serial number, model, etc.).
      • Uploads this information directly to the Autopilot deployment service in Intune.
  3. Verify Device Registration
    After executing the script, log in to the Microsoft Endpoint Manager admin center:

    • Navigate to Devices > Windows > Windows enrollment > Devices.
    • Ensure the imported device appears in the list with its hardware hash.
  4. Assign an Autopilot Profile
    Assign a pre-configured deployment profile to the imported device:

    • Go to Devices > Windows > Windows enrollment > Deployment profiles.
    • Select a profile and assign it to the imported device.

No comments:

Post a Comment