Manual Registration of a Windows Device in Windows Autopilot

Modified on Thu, 20 Jul 2023 at 03:05 PM

This guide will walk you through the steps to manually register a Windows device in Windows Autopilot using PowerShell:

  1. Open an administrative PowerShell session. If you're on a new PC going through the Out Of Box Experience (OOBE), press SHIFT+F10 to open an administrative command prompt. From here, type PowerShell and press enter to initiate a PowerShell session.
  2. Ensure the device has an internet connection. If you're using a laptop, you can continue with the OOBE setup until you're connected to Wi-Fi. After establishing the connection, stop and revert to your PowerShell session to follow the rest of the steps.
  3. Use the command Install-Script Get-WindowsAutoPilotInfo and answer 'Y' to all the confirmations.
  4. Next, set the execution policy to unrestricted to avoid errors when using the script. Enter the command Set-Executionpolicy Unrestricted.
  5. Now, you can run the get-windowsautopilotinfo script. If you run the script without any parameters, the hardware hash will display as output. Use the following command: Get-WindowsAutoPilotInfo.ps1.
  6. To register the device directly, add the parameter -Online. This parameter instructs the script to register the device directly with the online Autopilot deployment service. During this step, you will be prompted for user authentication. Provide credentials for a user who is authorized to add devices to Autopilot. Use the command: Get-WindowsAutoPilotInfo.ps1 -Online.

Note: Always ensure you are running these commands with appropriate administrative permissions to avoid potential issues.

Quelle: Manually register new or existing devices with Autopilot - SMBtotheCloud 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article