Windows Autopilot deployment for existing devices: Register device for Windows Autopilot
Autopilot user-driven Microsoft Entra join steps:
- Step 1: Set up a Windows Autopilot profile
- Step 2: Install required modules to obtain Autopilot profiles from Intune
- Step 3: Create JSON file for Autopilot profiles
- Step 4: Create and distribute package for JSON file in Configuration Manager
- Step 5: Create Autopilot task sequence in Configuration Manager
- Step 6: Create collection in Configuration Manager
- Step 7: Deploy Autopilot task sequence to collection in Configuration Manager
- Step 8: Speed up the deployment process (optional)
- Step 9: Run Autopilot task sequence on device
- Step 10: Register device for Windows Autopilot
For an overview of the Windows Autopilot deployment for existing devices workflow, see Windows Autopilot deployment for existing devices in Intune and Configuration Manager.
Register device for Windows Autopilot
Running the Autopilot for existing devices task sequence and the Autopilot deployment on a device doesn't automatically register the device for Windows Autopilot. The Autopilot profile JSON makes the Autopilot deployment available to the device and allows the device to run that particular Autopilot deployment, but it doesn't register the device for Windows Autopilot. If the device ever undergoes a reset, when it runs Windows Setup and the out-of-box experience (OOBE) for the first time after the reset, it won't run the Autopilot deployment again even though it has previously run an Autopilot deployment.
To ensure that the device can run a Windows Autopilot deployment after a reset, the device must be registered for Windows Autopilot. The device can be registered as a Windows Autopilot device by using one of the following methods:
Manually register devices with Windows Autopilot: Manually registering a device includes manually registering devices into Intune as an Autopilot device via the hardware hash. The hardware hash of a device can be collected via one of the following methods:
In an Autopilot profile that is deployed to a device group that the device is a member of, make sure the option Convert all targeted devices to Autopilot is set to Yes. For more information on creating and assigning Autopilot profiles, see one of the following articles on creating and assigning an Autopilot profile for each of the different Autopilot scenarios:
- User-driven Microsoft Entra join: Create and assign user-driven Microsoft Entra join Autopilot profile
- User-driven Microsoft Entra hybrid join: Create and assign user-driven Microsoft Entra hybrid join Autopilot profile
- Pre-provisioning Microsoft Entra join: Create and assign a pre-provisioned Microsoft Entra join Autopilot profile
- Pre-provisioning Microsoft Entra hybrid join: Create and assign a pre-provisioned Microsoft Entra hybrid join Autopilot profile
- Self-deploying mode: Create and assign self-deploying Autopilot profile
Importing the hardware hash CSV file for devices into Intune
Several of the methods in the previous section on obtaining the hardware hash when manually registering devices as Autopilot devices produces a CSV file that contains the hardware hash of the device. This CSV file with the hardware hash needs to be imported into Intune to register the device as an Autopilot device.
After the CSV file is created, it can be imported into Intune via the following steps:
Sign into the Microsoft Intune admin center.
In the Home screen, select Devices in the left hand pane.
In the Devices | Overview screen, under By platform, select Windows.
In the Windows | Windows devices screen, under Device onboarding, select Enrollment.
In the Windows | Windows enrollment screen, under Windows Autopilot, select Devices.
In the Windows Autopilot devices screen that opens, select Import.
In the Add Autopilot devices window that opens:
Under Specify the path to the list you want to import., select the blue file folder.
Browse to the CSV file obtained using one of the above methods to obtain the hardware hash of a device.
After selecting the CSV file, verify that the correct CSV file is selected under Specify the path to the list you want to import., and then select Import. Selecting Import closes the Add Autopilot devices window. Importing can take several minutes.
After the import is complete, select Sync.
A message displays saying that the sync is in progress. The sync process might take a few minutes to complete, depending on how many devices are being synchronized.
Note
If another sync is attempted within 10 minutes after initiating a sync, an error will be displayed. Syncs can only occur once every 10 minutes. To attempt a sync again, wait at least 10 minutes before trying again.
Select Refresh to refresh the view. The newly imported devices should display within a few minutes. If the devices aren't yet displayed, wait a few minutes, and then select Refresh again.
Ensure domain join profile is assigned to all devices
For Autopilot scenarios that utilize Microsoft Entra hybrid join and run after the Windows Autopilot deployment for existing devices task sequence completes, make sure that the domain join profile is assigned to All devices. This modification can be done at the followings steps:
- For the Windows Autopilot user-driven Microsoft Entra hybrid join scenario at Step 8: Configure and assign domain join profile.
- For the Windows Autopilot for pre-provisioned deployment Microsoft Entra hybrid join scenario at Step 8: Configure and assign domain join profile.
The domain join profile needs to be assigned to All devices because:
If the existing device has never joined Microsoft Entra ID before the Windows Autopilot deployment runs, then there isn't a Microsoft Entra ID device object for the device in Intune. The Microsoft Entra ID device object is created in Intune when the device joins Microsoft Entra ID as part of the Windows Autopilot deployment.
If the existing device has never registered as a Windows Autopilot device before the Windows Autopilot deployment runs, then there isn't a Windows Autopilot device object for the device in Intune. Normally a device has to be a Windows Autopilot device before the Windows Autopilot deployment can run on it. However, for the Windows Autopilot deployment for existing devices scenario, registering the device as an Autopilot device isn't required since it instead uses the Autopilot profile JSON file. The device is instead registered as an Autopilot device after the Autopilot deployment completes via the methods in the Register device for Windows Autopilot section.
In both of the above scenarios, there's no device that can be added to a device group before the Autopilot deployment begins. Since there's no device group that contains the device, there's no device group that the domain join profile can be assigned to before the Autopilot deployment begins. Assigning the domain join profile to All devices resolves this problem and ensures that the device can pick up the domain join profile before it's either a Microsoft Entra device or Autopilot device.
Related content
For more information on registering the device for Windows Autopilot, see the following articles: