Quickly register an AutoPilot device during OOBE
Published in
Jan 24, 2022
Here is the quick reference on harvesting AutoPilot device ID’s from OOBE using powershell. I created post just so I have a quick reference to copy+paste from whenever I need to do this for testing.
- Shift+F10 to enter command prompt from OOBE
2. Type
Powershell
3. Type
Install-Script -Name Get-WindowsAutoPilotInfoYYSet-ExecutionPolicy bypassGet-WindowsautoPilotInfo.Ps1 -Online
4. Provide credentials for your Azure AD admin account
5. Wait for the registration to complete and say “All devices sync’d”