Endpoint Manager - Import a Device into Autopilot
Follow these instructions when working with a device that’s been “Scorched”.
This page is being updated to match Windows 11
Hybrid AD is no longer supported by Microsoft Endpoint Manager and will no longer be used
Before following these instructions anything related to the device should be deleted including:
On Prem AD Device Records
Azure AD Device Records
Microsoft Endpoint Manager Device Record
AutoPilot Device Record
Wipe Device to Vanilla Windows 10
Using a USB drive with a bootable Windows 10 install you should wipe the device. Several tips that may help with this are:
Delete the partitions of the device until there’s one large partition. Windows 10 will partition and allocate necessary space to partitions itself.
You should avoid anything that would put a monolithic image on the device; the device must be at the blue Out of Box Experience screen to move forward.
Import the Device into AutoPilot
The device should be at the first blue screen for the out of box experience (aka Chose your region screen).
After you have network activity do the following:
Press the combination of keys Shift-FN-F10
This should open a command prompt window
Type in powershell and press enter
Type the following commands pressing enter between commands
$serial = Get-WmiObject Win32_bios | Select -Expand serialnumber; Rename-Computer SSD-$serial; $env:Path += ";C:\Program Files\WindowsPowerShell\Scripts" Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned Install-Script -Name Get-WindowsAutoPilotInfo Get-WindowsAutoPilotInfo -online
Answer “Yes” to all the questions that are asked during the PowerShell commands
You will need to authenticate to Azure twice. You will use your USERNAME@ssdmo.org and SSDPassword to do this.
You will see “Waiting for 1 of 1 to be imported and eventually 0 of 1 after the import is complete. This process may take a few minutes.
You can type in the command “shutdown /s" after this is all done to shut the computer down.
When it starts up next you can press the Windows key 5 times and chose Autopilot Preprovisioning. Following the prompts will white glove the system.
Enable the device in Azure AD (May not need to do this step anymore August - 2024)
Navigate to Azure Active Directory
Select "Azure Active Directory" on the left panel.
Select “Devices”
Type the Serial Number of the device you just imported.
Note that your device will have a red “No” for Enabled
Click on the device record
Click “Enabled” which will ask you to confirm the choice
Scroll down and confirm the group “AutopilotComputers” is present on the device record.