(117) Windows Autopilot - Device Hash Upload via VM
- Mr B SOE way
- Apr 3, 2024
- 1 min read
In the past, I have mentioned a number of posts with uploading the device hash to a tenant based on the following:
Here I have setup a VM on Hyper-V, do the following: 1. Press Shift+F10 which loads to Command Prompt
2. Type in: PowerShell then press Enter 3. Type in: mkdir C:\Temp then press Enter [This will create a C:\Temp] folder.
4. Type in: Save-Script -Name Get-WindowsAutopilotInfo -Path C:\Temp then press Enter. Then select Y when prompted.
5. Type in: Set-Executionpolicy bypass then press Enter.
6. Type in: CD C:\Temp then press Enter.
7. Type in: .\Get-WindowsAutopilotInfo.ps1 -OutputFile C:\Temp\Demo.csv then press Enter.
8. Type in: start msedge then press Enter. This will start up Microsoft Edge. Select Start without your data then Confirm and continue. Navigate to intune.microsoft.com and login with the required credentials.
9. Navigate to Windows Autopilot devices - Microsoft Intune admin center, select Import then navigate to This PC then select C:\Temp\Demo.csv. Then select Import.
10. Once the device hash has been uploaded and assigned.
11. Close out of Microsoft Edge and in the PowerShell field, type in: shutdown -r /t 0 which will automatically restart and bring you to the login screen which will be ready for enrolment
Comments