Wednesday, September 13, 2023

Autopilot - Manually register devices with automatic upload

 

This can be very useful for everyone that have a test lab where you want to register your virtual machine in Intune.

Here's the quick step on how to register your machine from the OOBE:
  1. When you get to OOBE, press "Shift + F10" to open a command-prompt:
  2. Now, all you need to do is run this commands:
  3. PowerShell.exe -ExecutionPolicy Bypass
    Install-Script -name Get-WindowsAutopilotInfo -Force
    Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
    Get-WindowsAutopilotInfo -Online

  4. After running the commands, you'll be prompt for valid credentials for adding the device to Intune.

And...you're done! The device information (hardware hash, etc.) gets registered and if you boot up your device again, you'll enter the autopilot process.

No comments:

Post a Comment