Overview
How to Import Non-AutoPilot computer into Enta / Intune
Environment:
Entra / Intune
Resolution/Answer:
1. Log into laptop or desktop as Admin.
2. Open PowerShell as Admin
3. Run the command below:
Use the following commands from an elevated Windows PowerShell prompt:
PowerShellCopy
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
New-Item -Type Directory -Path "C:\HWID"
Set-Location -Path "C:\HWID"
$env:Path += ";C:\Program Files\WindowsPowerShell\Scripts"
Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
Install-Script -Name Get-WindowsAutopilotInfo
Get-WindowsAutopilotInfo -OutputFile AutopilotHWID.csv
4. Navigate to C:HWID and copy AutopilotHWID.csv to a USB drive.
5. Place into your own computer and navigate to endpoint.microsoft.com
6. Add devices
Now that you've captured hardware hashes in a CSV file, you can add Windows Autopilot devices by importing the file. To import the file by using Intune:
In the Microsoft Intune admin center, select Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program) > Import.
Under Add Windows Autopilot devices, browse to the CSV file that lists the devices that you want to add.
Select Import to start importing the device information. Importing can take several minutes.
After import is complete, select Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program) > Sync.
A message says that the synchronization is in progress. The process might take a few minutes to complete, depending on how many devices are being synchronized.
Refresh the view to see the new devices.
Edit Autopilot device attributes
After you've uploaded an Autopilot device, you can edit certain attributes of the device:
- In the Microsoft Intune admin center, select Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program).
- Select the device that you want to edit.
- On the pane on the right of the screen, you can edit:
- Device name
- Group tag
- Username (if you've assigned a user)
4. Select Save.