maciejrebisz.com

IT

How to collect hardware hash to use in AutoPilot as part of MDT OSD – Mobile-First Cloud-First

maximios September 17, 2021

Everybody is talking about Windows Autopilot, this blog is not about what autopilot is but on how to get that hardware information for future use with Windows Autopilot as part of the OSD deployment process with Microsoft Deployment Toolkit.

Windows Autopilot will first be really great when we can deliver a brand new device directly to the end user, but for now the IT department needs to unbox the devices and do some manual work. This example is for a IT department that want to do a Windows Autopilot POC or they know that Windows Autopilot is going to be used in the near feature.

Prerequisite for collecting hardware information:

  • Windows 10 1703 or later
  • Harvest hardware hash in full OS

You can use Michael Niehaus’s script from GitHub or you can create your own.

There is different ways of doing this with MDT – personally I like to run custom scripts as and application – so that what I will do in this example.

First you create a application in MDT

Select Application with source files

  1. Publisher: Microsoft
  2. Application Name: Get-WindowsAutopilotInfo

Point to where the script is downloaded

Specify the name of the directory that should be created

Command line: powershell -executionPolicy bypass -file “Get-WindowsAutoPilotInfo.ps1” -OutputFile vmdt01autopilot$MyComputer.csv -Append

Note: Outputfile need to point to a place where the MDT process have write access

Click Next

Click Finish

Add a application in your MDT Task Sequence

Select the Microsoft Get-WindowsAutoPilotInfo application

Important : Hardware hash is only available in WMI in full OS – so you need to run the application in full OS and not in WinPE

Now you are ready to deploy Windows 10 and collect the hardware information used with AutoPilot.

After the deployment you have collected the information you need for AutoPilot and are ready to upload in Microsoft Store for Business

Read more about Windows Autopilot here:

Tip of the Day: Windows AutoPilot Links from an MVP and more!
Gather Windows 10 AutoPilot info in Azure Blob Storage during wipe and reload

Related Posts

IT /

Intune – Windows device enrollment restrictions – Cloud First

IT /

How to add “hidden” Windows UWP to Windows Store for Business – Cloud First

IT /

Office 2016 Active Directory-Based activation – Cloud First

‹ New Adobe Reader DC 15.008.20082 has been released – How to upgrade with psappdeploytoolkit – Updated – Mobile-First Cloud-First › How to deploy Adobe Acrobat Reader with MSIntune Win32 app deployment – Mobile-First Cloud-First

Recent Posts

  • Intune – Windows device enrollment restrictions – Cloud First
  • How to add “hidden” Windows UWP to Windows Store for Business – Cloud First
  • Office 2016 Active Directory-Based activation – Cloud First
  • How to deploy Windows Local Experience Packs with Intune – Cloud First
  • Conditional Access for Outlook Web Access (OWA) – Cloud First

Recent Comments

No comments to show.

Archives

  • November 2025
  • October 2025
  • August 2025
  • July 2025
  • June 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • November 2024
  • September 2024
  • July 2024
  • June 2024
  • March 2024
  • December 2023
  • August 2023
  • June 2023
  • March 2023
  • February 2023
  • December 2022
  • September 2022
  • August 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • January 2022
  • December 2021
  • October 2021
  • September 2021
  • August 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • February 2020
  • January 2020
  • December 2019
  • October 2019
  • September 2019
  • June 2019
  • April 2019
  • March 2019
  • February 2019
  • March 2018
  • February 2018
  • December 2017
  • October 2017
  • August 2017

Categories

  • IT

Back to Top

© maciejrebisz.com 2026
Powered by WordPress • Themify WordPress Themes