Enrolling a HoloLens 2 Device for Autopilot Deployment

Retrieving the device hardware hash

The device can record its hardware hash in a CSV file during the OOBE process, or later when a device owner starts the diagnostic log collection process (described in the following procedure). Typically, the device owner is the first user to sign in to the device.

To retrieve the hash, start the HoloLens 2 device.

On the device, press the Power and Volume Down buttons at the same time and then release them. The device collects diagnostic logs and the hardware hash, and stores them locally on the device in a set of .zip files.

Using a USB-C cable to connect the device to a computer.

On the computer, open File Explorer. Open This PC\<HoloLens device name>\Internal Storage\Documents, and locate the AutopilotDiagnostics.zip file.

NOTE: The .zip file may not immediately be available. If the file is not ready yet you may see a HoloLensDiagnostics.temp file in the Documents folder. To update the list of files, refresh the window.

Once the AutopilotDiagnostics.zip has been created. Extract the contents of the AutopilotDiagnostics.zip file to a location of your choice.

In the extracted files, locate the CSV file that has a file name prefix of “DeviceHash*” Copy that file to a drive on the computer where you can access it later.

IMPORTANT: The data in the CSV file should use the following header and line format.

Device Serial Number,Windows Product ID,Hardware Hash,Group Tag,Assigned User <serialNumber>,<ProductID>,<hardwareHash>,<optionalGroupTag>,<optionalAssignedUser>

NOTE: The Group Tag and Assigned User are not always populated by default, so you may need to add these. Especially in this example, whereby we wish to utilise the Group Tag data to specifically assign a Profile defined for HoloLens. Be sure to add this, if required.

Registering the device in Windows Autopilot

Login to the Microsoft Intune console, select Devices > Windows > Windows enrollment, and then select Devices.

Under Windows Autopilot Deployment Program, select Import.

Under Add Windows Autopilot devices, select the DeviceHash CSV file, select Open, and then select Import.

Click Import to import the hardware hash.

After the import finishes, select Devices > Windows > Windows enrollment > Devices > Sync. The process might take a few minutes to complete, depending on how many devices are being synchronized. To see the registered device, select Refresh.

Use the Sync and Refresh commands to view the device list.

After some time, the Profile should change to Assigned.

Should you wish to assign this device to a user, either for track/trace capabilities or Pre Provisioning (formerly White Glove) you can achieve this, by selecting the Device, and clicking Assign User.

Select the User, and click Select to confirm.

This will result in the device being assigned to the User, allowing you to perform PreProvisioned deployments (deployments with the Users profile/configuration installed automatically).

At this point, you are now ready to perform an Autopilot Deployment to the HoloLens device.

James avatar

Leave a Reply

Your email address will not be published. Required fields are marked *