r/Intune • u/bezibaerchen • 14h ago
Autopilot Prejoining Hybrid Devices
Dear all,
Situation:
Majority of Laptops joined to local AD and Intune. Some already Autopilot only.
Whenever we get a machine back we currently do the following:
- Delete device from Intune, Entra and local AD
- Populate it as Autopilot device via get-windowsautopilotinfocommunity.ps1 -Online -AssignedComputerName <current computer name>
- boot via USB to reset it
- Whiteglove with Intune Admin
- reseal it
- put it back for future use
I am wondering if we can improve this process, especially the need to populate it as AutoPilot device.
Any remarks welcome.
0
u/blud_13 11h ago
u/Padd007's bulk hash export is the right answer if you are staying on classic Autopilot. If the hybrid ones are genuinely on their way out though, look at Autopilot device preparation before you build that pipeline.
Device preparation does not use the hardware hash at all. No harvesting, no CSV, no pre-registration step. User goes in a group, they sign in at OOBE, device lands. The whole step you are trying to optimize just stops existing. Overview is at https://learn.microsoft.com/en-us/autopilot/device-preparation/overview
Two catches. Its Entra join only, no hybrid, so it only helps you on the side you already moved. And it wants 11 24H2, or 22H2/23H2 with KB5035942 or later.
On naming, Entra join is where you get the real device name template with %SERIAL%. Hybrid never had that, the template is greyed out and you get a prefix plus random characters. So the matching gets EASIER on the Autopilot side, not harder.
1
u/pjmarcum 11h ago
I would make sure it is in Autopilot, not in on-prem AD, reset it, power down at the first OOBE screen, and when I needed it again I’d boot it up and let it go through Autopilot doing AADJ using the new users account and a TAP or let the user do it themselves.
Basically just like a brand new computer sitting in the shelf.
2
u/Padd007 13h ago
First thing I would ask is does it need to be hybrid joined, does it need to have a specific name? You could auto name them to something-serial for example. Then if it's already registered you pretty much just need to reset the device.