Windows AutoPilot: Add Devices and go for it!

A lot of information has been published around Microsoft’s Windows AutoPilot. Very briefly, Windows AutoPilot is a cloud service and aims for a zero touch, personally customized experience when deploying new Windows 10 devices. Below you will find 2 video’s which explains AutoPilot:

A more detailed video can be found here.

An important step, a requirement for AutoPilot is to add the devices, pre-deployment, to the customer’s Microsoft Store for Business. The idea is that the hardware manufacturer will do this step for customers but to be able, right now, to test AutoPilot, you need to upload a .csv file with details about the hardware, like: Device Serial Number, Windows Product ID and Hardware Hash. This part took me a couple of hours to figure out. I’m not a Powershell guru and you need Powershell to get the required info. Below the steps to make the magic happen! And, you can test AutoPilot with VM’s!

  1. Firstly, there are a couple of requirements: You need a Azure tenant, Intune, a Microsoft Store for Business linked to it and Windows 10 devices, 1703 of higher and the devices can be VM’s,
  2. Create 1 or 2 Windows 10 VM’s. Install them, update them, shut them down and take a snapshot,
  3. Start the VM again and create a folder in the root: c:\temp, as an example,
  4. On your host machine- not VM, open Notepad and type the following:
  5. On your VM, start Powershell, Run as Administrator, and go to your folder:
  6. In the Poweshell Gallery, there is a script to get all the required info you need for your .csv file. More details here,
  7. To get the script, run the following command- enter “y” 3 times to accept:Β 
  8. In my case, to execute the script (you only downloaded and installed it), I needed to adjust the Execution Policy on my VM. You can use the following command to do that- also here, enter “y” 1 time to accept,
  9. Now, execute the script. In the follwing command, you will execute the script, and save the outcome to a .txt file with a specific width. The width makes sure you will see the complete Hash,
  10. Output text file contains the Hash, Windows Product ID and Serial, in that order,
  11. Copy/paste the info in your Notepad document, like the example above,
  12. Save the document as a .csv file and open your Microsoft Store for Business,
  13. Under “Manage” you will see “Devices-Add Devices”,
  14. Import your .csv file,
  15. Create a new AutoPilot Profile:
  16. Attach it to your machine,
  17. If you haven’t already done so, Sysprep your VM, snapshot it and turn it on. You will see a customized login prompt with your tenant name. AutoPilot is working!