A hardware hash or device hash is a string of numbers and letters that contains information about the device and its user. It can be used to identify the device and enroll it into Windows Autopilot, a cloud-based service that simplifies the deployment and management of Windows 10 devices. Windows Autopilot requires the hardware hash of each device to be registered in the Microsoft Endpoint Manager portal.
Collect the hardware hash
These steps should be run on the Windows 10 device you want to get the hardware hash from. The device will need to be powered on and logged in to follow these steps.
-
Right-click on the Start icon in the bottom left corner and select Windows PowerShell (Admin).
-
In the PowerShell window, type in the following command and press Enter:
Install-Script -Name Get-WindowsAutoPilotInfo
-
If prompted for Path Environment Variable change, select “Y”.
-
If this is a new machine where Nuget has not yet been installed, you will be prompted to import and install the Nuget module, which is required to obtain this script. Select “Y”.
-
If prompted with PSGallery being detected as untrusted, select “A” for Yes to all.
-
Type in the following command and press Enter:
Set-ExecutionPolicy RemoteSigned
and select “A” for Yes to All.
-
Type in the following command to extract the hardware hash and press Enter:
Get-WindowsAutoPilotInfo -Outputfile C:\Users\Public\Win10Hash.csv
This will generate a CSV file with the hardware hash and serial number of the device. You can find the file on the computer or copy it to a USB drive.
Register the device in the portal
Once you have the CSV file with the hardware hash, you can register the device in the Microsoft Endpoint Manager portal. To do that, follow these steps:
- Sign in to the Microsoft Endpoint Manager admin center with your Azure AD credentials.
- Select Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program > Import).
- Select Import to browse to the CSV file and open it. The file will be uploaded and the devices will be added.
- After the import is complete, you can assign a profile to the device or modify its properties. For more information, see Create an Autopilot deployment profile.
Reset the device
To enroll the device into Windows Autopilot, you will need to reset the device once the hardware hash has been registered in the portal. To do that, follow these steps:
- Open the Settings app on the device.
- Go to Update & Security > Recovery > Reset this PC > Get Started.
- Select Remove Everything.
- Select either Cloud download or Local reinstall based on your environment and the device.
- Select Next and follow the instructions to reset the device.
After the device is reset, it will start the Windows Autopilot process and enroll into your organization.
Comments
0 comments
Please sign in to leave a comment.