Manually register devices with Windows Autopilot (2023)

  • Article
  • 8 minutes to read

Applies to:

  • Windows 11
  • Windows 10
  • Windows Holographic, version 2004

You can perform Windows Autopilot device registration within your organization by manually collecting the hardware identity of devices (hardware hashes) and uploading this information in a comma-separated-values (CSV) file. Capturing the hardware hash for manual registration requires booting the device into Windows. So, this process is primarily for testing and evaluation scenarios.

Device owners can only register their devices with a hardware hash. Other methods (PKID, tuple) are available through OEMs or CSP partners.

This article provides step-by-step guidance for manual registration. For more information about registration, see:

  • Windows Autopilot registration overview
  • Manual registration overview
  • Windows Autopilot for HoloLens 2


  • Intune subscription
  • Windows automatic enrollment enabled
  • Azure Active Directory Premium subscription

Required permissions

Device enrollment requires Intune Administrator or Policy and Profile Manager permissions. You can also create a custom Autopilot device manager role by using role-based access control. Autopilot device management requires only that you enable all permissions under Enrollment programs, except for the four token management options.


In both Intune Administrator and role-based access control methods, the administrative user also requires consent to use the Microsoft Intune PowerShell enterprise application.

Collect the hardware hash

The following methods are available to harvest a hardware hash from existing devices:

  1. Using Microsoft Endpoint Configuration Manager
  2. Using Windows PowerShell
  3. During OOBE by using the Diagnostics Page (Windows 11 only)
  4. From the Desktop using Settings > Accounts

Each of these methods is described below.

In Windows 10 version 1809 and earlier, it's important to capture the hardware hash and create an Autopilot device profile before you connect a device to the internet. Those steps include collecting the hardware hash, uploading the CSV file into Microsoft Store for Business (MSfB) or Intune, assigning the profile, and confirming the profile assignment.

(Video) Manually register your Windows 10 devices in Autopilot

Connecting the device to the internet before this process is complete will cause the device to download a blank profile and store it until you explicitly remove it. In Windows 10 version 1809, you can clear the cached profile by restarting the Windows Out of Box Experience (OOBE). In previous versions, the only way to clear the stored profile is to reinstall the operating system, reimage the device, or run sysprep /generalize /oobe.

After Intune reports the profile as ready to go, you can connect the device to the internet.


If OOBE is restarted too many times, it can enter a recovery mode and fail to run the Autopilot configuration. You can identify this scenario if OOBE displays multiple configuration options on the same page, including language, region, and keyboard layout. The normal OOBE process displays each of these on a separate page. The following value key tracks the count of OOBE retries:


To ensure that OOBE has not been restarted too many times, you can change this value to 1.

Configuration Manager

Microsoft Endpoint Configuration Manager automatically collects the hardware hashes for existing Windows devices. For more information, see Gather information from Configuration Manager for Windows Autopilot. You can extract the hash information from Configuration Manager into a CSV file.


The hardware hash for an existing device is available through Windows Management Instrumentation (WMI), as long as that device is running a supported version of Windows. You can use a PowerShell script (Get-WindowsAutopilotInfo.ps1) to get a device's hardware hash and serial number. The serial number is useful for quickly seeing which device the hardware hash belongs to.

To use this script, you can use either of the following methods:

  • Download the script file from the PowerShell Gallery and run it on each computer.
  • Install the script directly from the PowerShell Gallery.

To install the script directly and capture the hardware hash from the local computer:

  1. Use the following commands from an elevated Windows PowerShell prompt:

    New-Item -Type Directory -Path "C:\HWID"Set-Location -Path "C:\HWID"$env:Path += ";C:\Program Files\WindowsPowerShell\Scripts"Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSignedInstall-Script -Name Get-WindowsAutopilotInfoGet-WindowsAutopilotInfo -OutputFile AutopilotHWID.csv

    You can run the commands remotely if both of the following are true:

    (Video) How to import hardware device ID to Intune - Autopilot

    • WMI permissions are in place.
    • WMI is accessible through Windows Firewall on the remote computer.
  2. While OOBE is running, you can start uploading the hardware hash by opening a command prompt (Shift+F10 at the sign-in prompt) and using the following commands:

    PowerShell.exe -ExecutionPolicy BypassInstall-Script -name Get-WindowsAutopilotInfo -ForceSet-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSignedGet-WindowsAutopilotInfo -Online
  3. You're prompted to sign in. An account with the Intune Administrator role is sufficient, and the device hash will then be uploaded automatically.

  4. After you confirm the details of the uploaded device hash, run a sync in the Microsoft Endpoint Manager admin center. Select Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program) > Sync.

  5. After the device appears in your device list, and an Autopilot profile is assigned, restarting the device causes OOBE to run through the Windows Autopilot provisioning process.

    On first run, you're prompted to approve the required app registration permissions.


Because Intune offers free (or inexpensive) accounts that lack robust vetting, and because 4K hardware hashes contain sensitive information that only device owners should maintain, we recommend registering devices through Microsoft Endpoint Manager via a 4K hardware hash only for testing or other limited scenarios. In most cases, you should instead use the Microsoft Partner Center for Autopilot device registration.

For more information about running the Get-WindowsAutopilotInfo.ps1 script, see the script's help by using Get-Help Get-WindowsAutopilotInfo.

Diagnostics page hash export

To export a hardware hash using the Windows Autopilot Diagnostics Page, the device must be running Windows 11.

Windows Autopilot Diagnostics are available in OOBE.

During OOBE, press Ctrl-Shift-D to bring up the Diagnostics Page. From this page, you can export logs to a thumb drive. The logs will include a CSV file with the hardware hash.

Desktop hash export

  1. From the Windows 10 or Windows 11 Desktop, click Settings > Accounts > Access work or school.
  2. Export log files. The logs will include a CSV file with the hardware hash.
    • Windows 11: In the Export your management log files tile, click Export.
    • Windows 10: Click the Export your management log files link.

Log files are exported to the Users\Public\Documents\MDMDiagnostics directory.

(Video) Manually register devices with Windows Autopilot 🪟 | #studywithpeter

For more information, see Diagnose MDM failures in Windows 10

Ensure that the CSV file meets requirements

Device information in the CSV file where you capture hardware hashes should include:

  • Serial number
  • Windows product ID
  • Hardware hash
  • Optional group tag
  • Optional assigned user

You can have up to 500 rows in the file's list of devices. The header and line format must look like this:

Device Serial Number,Windows Product ID,Hardware Hash,Group Tag,Assigned User<serialNumber>,<ProductID>,<hardwareHash>,<optionalGroupTag>,<optionalAssignedUser>

Keep these other requirements for the CSV file in mind:

  • You can't use extra columns.
  • You can't use quotation marks.
  • You can use only ANSI-format text files (not Unicode).
  • Headers are case-sensitive.


Use a plain-text editor with this CSV file, like Notepad. Don't use Microsoft Excel. Because of the requirements, editing an Excel file and saving it as .csv won't generate a usable file for importing to Intune.

When you upload a CSV file to assign a user, make sure that you assign valid User Principal Names (UPNs). If you assign an invalid UPN (that is, an incorrect username), your device might be inaccessible until you remove the invalid assignment.

During upload of a CSV file, the only validation that Microsoft performs on the Assigned User column is to check that the domain name is valid. Microsoft doesn't perform individual UPN validation to ensure that you're assigning an existing or correct user.

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:

  1. In the Microsoft Endpoint Manager admin center, select Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program) > Import.

    Manually register devices with Windows Autopilot (1)

    (Video) Manually register devices with Windows Auto Pilot to intune

  2. Under Add Windows Autopilot devices, browse to the CSV file that lists the devices that you want to add.

    Manually register devices with Windows Autopilot (2)

  3. Select Import to start importing the device information. Importing can take several minutes.

  4. 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.

  5. 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:

  1. In the Microsoft Endpoint Manager admin center, select Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program).
  2. Select the device that you want to edit.
  3. 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.


Device names can be configured for all devices but are ignored in Hybrid Azure Active Directory (Azure AD) deployments. The device name still comes from the domain join profile for Hybrid Azure AD devices.

Delete Autopilot devices

You can delete Windows Autopilot devices that aren't enrolled in Intune:

  1. Select Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program).
  2. Choose the devices that you want to delete, and then select Delete. The deletion process can take a few minutes to complete.

Completely removing a device from your tenant requires you to delete the Intune, Azure AD, and Windows Autopilot device records. You can do all these deletions from Intune, in this order:

  1. If the devices are enrolled in Intune, delete them from the Intune All devices pane.
  2. Delete the devices from Windows Autopilot at Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program). Choose the devices that you want to delete, and then select Delete. The deletion process can take a few minutes to complete.
  3. Delete the devices from Azure AD at Devices > Azure AD devices.

Next steps

Create device groups to apply Autopilot deployment profiles.

(Video) How to setup Autopilot in Microsoft Azure AD using Intune - Your #1 software dudes!


Is IT possible to register an existing device for Windows Autopilot? ›

You can automatically register an existing device if it's: Running a supported version of Windows. Enrolled in an MDM service such as Intune. A corporate device that's not already registered with Autopilot.

How do I manually register a device in Intune? ›

Register Windows 10 Device to Azure AD
  1. Login to Windows 10 with an Administrator account.
  2. Go to Start and click Start Menu -> Settings.
  3. Select Accounts > Access work or school > Connect.
  4. Enter Corporate Email ID and Password.
  5. Click on Done to complete the Azure AD registration process.
May 24, 2022

Which two informations are needed for device registration into Autopilot? ›

Successful registration requires that two processes are complete: The device's unique hardware identity (known as a hardware hash) is captured and uploaded to the Autopilot service. The device is associated to an Azure tenant ID.

How to manually onboard devices to Windows Autopilot Part 2? ›

Just navigate to Accounts > Access work or school and then click Connect. Follow the instructions to connect the device to Azure AD, making sure on the Set up a work or school screen that you click Join this device to Azure Active Directory. You'll need an Azure AD account that has permission to connect devices.

How do I manually register a device in Azure? ›

In the Microsoft Azure Portal, go to Settings > Accounts > Access work or school, and then click Connect. Enter your Azure email address in the Set up a work or school account field, and then click Next. You can skip the option to Join this device to Azure Active Directory. Enter your password, and then click Sign in.

How do I convert an existing device to Autopilot? ›

Go to Intune > Device enrollment > Windows enrollment and Set up the Enrollment Status Page. Go to Azure Active Directory > Mobility (MDM and MAM) > Microsoft Intune and enable Windows automatic enrollment. Configure the MDM user scope for some or all users.

Can you use Autopilot without Intune? ›

Windows Autopilot depends on specific capabilities available in Windows client and Azure Active Directory (Azure AD). It also requires an MDM service such as Microsoft Intune.

How to add Windows 10 devices to Windows Autopilot even faster? ›

Let's see how you can add Windows 10 devices even faster to Windows Autopilot.
  1. Turn on a new device. ...
  2. Run Powershell.
  3. Run the following commands for creating a local “scripts” folder and downloading the Get-WindowsAutoPilotInfo script. ...
  4. When asked to install and import the NuGet provider, type Y and press Enter.
Dec 2, 2020

How do I manually add a device? ›

To manually add devices:
  1. In the root ADOM, go to Device Manager and click Unregistered Devices in the quick status bar. ...
  2. Select the unregistered device or devices, then click Add. ...
  3. If ADOMs are enabled, select the ADOM in the Add the following device(s) to ADOM list. ...
  4. Click OK to register the device or devices.

How do I manually register a file? ›

Click Start > All Programs > Accessories and right-click on "Command Prompt" and select "Run as Administrator" OR in the Search box, type CMD and when cmd.exe appears in your results, right-click on cmd.exe and select "Run as administrator" At the command prompt, enter: REGSVR32 "PATH TO THE DLL FILE"

How do I register a device in endpoint? ›

Add a device enrollment manager
  1. Sign in to the Microsoft Endpoint Manager admin center.
  2. Select Devices > Enroll devices.
  3. Select Device enrollment managers.
  4. Select Add.
  5. In the User name field, enter the user principal name of the user you're adding.
  6. Select Add.
Oct 18, 2022

What is required for Windows Autopilot? ›

AutoPilot requires one of the following licenses — Microsoft 365 Business, Microsoft 365 F1, Microsoft 365 E3 or E5, Enterprise Mobility & Security E3 or E5, or any other license that provides AAD/MDM services. Your vendor needs to support AutoPilot.

Which of the following are requirements for Windows Autopilot? ›

Windows 10
  • A supported version of Windows 10 Semi-Annual Channel or Windows 10 General Availability Channel is required.
  • The following editions are supported: Windows 10 Pro. Windows 10 Pro Education. Windows 10 Pro for Workstations. Windows 10 Enterprise. Windows 10 Education.
Dec 27, 2022

What is required to deploy devices using Windows Autopilot? ›

To use Windows Autopilot, IT must connect the devices to a Microsoft Azure portal and enroll them in Microsoft Windows Azure Active Directory. Once IT enrolls the device or devices, it can assign a desktop image to each user before users register their devices.

How do I reset my Autopilot manually? ›

Navigate to Devices tab in the Intune console. In the All devices view, select the targeted reset devices and then click More to view device actions. Select Autopilot Reset to start the reset task.

How do I add an existing device to Intune? ›

Use Intune Company Portal to enroll devices running on Windows 10, version 1607 and later, and Windows 11.
  1. Open Company Portal and sign in with your work or school account.
  2. On the Set up your device screen, select Next.
  3. On the Connect to work screen, select Connect.
Oct 4, 2021

Is TPM 2.0 a requirement for Autopilot self-deploying? ›

Self-deploying mode uses a device's TPM 2.0 hardware to authenticate the device into an organization's Azure AD tenant. Therefore, devices without TPM 2.0 can't be used with this mode. Devices must also support TPM device attestation.

How do I get my device registered? ›

Tap the menu icon. Tap anywhere in the section containing your name and profile picture. Tap DEVICES. Tap on Register Device.

How do I activate device registration? ›

To enable Device Registration Service
  1. On your federation server, open a Windows PowerShell command window and type: Copy. Enable-AdfsDeviceRegistration.
  2. Repeat this step on each federation farm node in your AD FS farm..
Dec 10, 2020

How do I register my device on the network? ›

Go to Settings > Connections > Mobile Networks > Network Operators > Search now and select your carrier's network.

What does convert all targeted devices to AutoPilot do? ›

Configuring the Convert all targeted devices to AutoPilot setting to Yes will automagically convert all devices in the assigned group to AutoPilot. This is a one-time conversion that also works for co-managed devices.

Can you AutoPilot over WIFI? ›

Wi-Fi AutoPilot is constantly scanning and analyzing the end user's Wi-Fi environment. If any detrimental changes are detected, the CPE Wi-Fi parameters will automatically adjust, without compromising the internet connection experience (based on a patented algorithm).

What licenses are needed for AutoPilot? ›

Windows Autopilot licensing

Customer will need one of the following subscriptions to be able to use Windows Autopilot: Microsoft 365 Business. Microsoft 365 F1. Microsoft 365 E3 or E5.

What are the disadvantages of Autopilot? ›

Cons of Self-Driving Cars
  • Security issues. One of the potential cons about self-driving cars is the possibility of hacking. ...
  • Job losses. Those who depend on driving to make a living may find their career obsolete with the introduction of self-driving cars. ...
  • Initial costs. ...
  • Moral Machine dilemma. ...
  • Machine error.

What is the difference between Autopilot and Intune? ›

Autopilot lets you register devices in Intune directly when you use it to buy new hardware. With Autopilot, employees can unbox their new devices, log into their Microsoft account and have a fully setup device. Intune syncs with Autopilot and will push updates and configurations to the devices.

What happens if a device is not compliant in Intune? ›

The result of this default is when Intune detects a device isn't compliant, Intune immediately marks the device as noncompliant. After a device is marked as noncompliance, Azure Active Directory (AD) Conditional Access can block the device.

Does Windows Autopilot need Internet? ›

Windows Autopilot depends on a variety of internet-based services. Access to these services must be provided for Autopilot to function properly.

How do I enable Windows Autopilot? ›

Steps for configuring Windows Autopilot
  1. Step #1: Create an AutoPilot profile.
  2. Step #2: Obtain device details for AutoPilot deployment.
  3. Step #3: Upload device details and associate profile.
  4. Step #3.1(Optional): Branding the device activation screen.
  5. Step #4: Assign users to enrolled devices.

Can you add full Autopilot after purchase? ›

You can purchase Autopilot, Enhanced Autopilot or Full Self-Driving Capability at any time through the Tesla app – and the Autopilot software required will be added to your car.

How do I manually add a device in Windows 10? ›

Add a device to a Windows 10 PC
  1. Select Start > Settings > Devices > Bluetooth & other devices.
  2. Select Add Bluetooth or other device and follow the instructions.

How do I specify unspecified devices in Windows 10? ›

  1. Log on to Windows as "Administrator."
  2. Click [Start] > [Devices and Printers].
  3. Right-click on the driver for your machine under "Unspecified," and click [Properties]. ...
  4. Click the [Hardware] tab, and double-click the name of the machine being used.

How do I add a device to my device? ›

Step 2: Set up the new device
  1. Turn on a new device that isn't set up yet. Put the device in pairing mode.
  2. Turn on your phone's screen.
  3. On your phone, you'll get a notification offering to set up the new device.
  4. Tap the notification.
  5. Follow the onscreen steps.

How do I manually install a DLL? ›

Add a missing . DLL file to Windows
  1. Locate your missing . dll file at the DLL Dump site.
  2. Download the file and copy it to: "C:\Windows\System32"
  3. Click Start then Run and type in "regsvr32 name_of_dll. dll" and hit enter.
Sep 7, 2011

Do all DLL files need to be registered? ›

Short answer is that you don't need to register DLLs in order to use them. The only exception to this is COM and ActiveX DLLs which need to add certain keys to the registry. For a normal DLL (including . NET class libraries), all you need to know is the path to the DLL.

How do I register a DLL in Windows 10 64-bit? ›

How do I register . DLL files in a Windows 10 64-bit?
  1. Go to the Search window and type cmd, right click on Command Prompt and choose Run as an administrator option.
  2. Type the following command in the command window and hit Enter - regsvr32 <dllname>
May 20, 2019

How do I assign a device to Autopilot profile? ›

In the Microsoft Endpoint Manager Admin Center, choose Devices > Windows > Windows enrollment > Devices (under Windows Autopilot Deployment Program > choose the device > Assign user.

How do I register a device on MDM? ›

Device users can follow this procedure for BYOD devices.
  1. Click Start > Settings > Accounts.
  2. Click Access Work or School.
  3. Click +Connect.
  4. Go to the Alternate actions section and click Join this device to Azure Active Directory.
  5. Enter your enterprise user name and password.


1. How to enroll Windows 10 device in Azure Active directory and Microsoft Intune
(Knowledge TimeLine)
2. Manually Adding a Device to Autopilot
(Mobile Jon)
3. Manually enrolling a Windows PC into Microsoft Endpoint Manager
(David Dalton)
4. Windows Autopilot | How It Works & How to Set It Up
(Microsoft Mechanics)
5. Enroll Windows 10 devices into Microsoft Intune using Windows Autopilot | #studywithpeter
(Peter Kay)
6. Windows Autopilot: Remote Device Setup Made Easy!
(Russell Smith)
Top Articles
Latest Posts
Article information

Author: Stevie Stamm

Last Updated: 04/10/2023

Views: 5655

Rating: 5 / 5 (60 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Stevie Stamm

Birthday: 1996-06-22

Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

Phone: +342332224300

Job: Future Advertising Analyst

Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.