Home

Autopilot and Replaced motherboard

%3CLINGO-SUB%20id%3D%22lingo-sub-312984%22%20slang%3D%22en-US%22%3EAutopilot%20and%20Replaced%20motherboard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-312984%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20a%20device%20got%20it's%20motherboard%20replaced%2C%20the%20hardware%20hash%20is%20changed.%20So%20when%20this%20device%20is%20wiped%20autopilot%20doesn't%20work%20because%20of%20the%20change%20hardware%20hash.%20So%20you%20have%20to%20create%20a%20new%20autopilot%20csv%20and%20reregister%20the%20device.%20The%20question%20i%20have%20is%3A%20Is%20it%20possible%20to%20unregister%20a%20already%20enrolled%20device%20that%20got%20the%20motherboard%20replace%2C%20and%20reregister%20the%20device%20with%20the%20new%20hardware%20hash%20without%20factory%20resetting%20the%20device.%20So%20the%20user%20doesn't%20have%20to%20start%20all%20over%20with%20enrolling%20the%20device.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-312984%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAutopilot%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332430%22%20slang%3D%22en-US%22%3ERe%3A%20Autopilot%20and%20Replaced%20motherboard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332430%22%20slang%3D%22en-US%22%3E%3CP%3E%3A)%3C%2Fimg%3E%20don't%20get%20me%20wrong%20I%20do%20the%20same%20as%20Shuchi%20and%20J%C3%B6rgen%2C%20delete%20and%20start%20over%20again%2C%20but%20what%20Ronald%20asked%20was%2C%20if%20it%20is%20possible.%20My%20answer%20was%20regarding%20this%2C%20yes%20I%20think%20so%20but%20I%20didn't%20tested%20this%20out%20in%20production%20and%20can't%20tell%20about%20reliability.%20My%20way%20is%20to%20cleanup%20and%20start%20over%20again.%20But%20if%20Roland%20wants%20to%20try%20I%20think%20it%20is%20possible.%20Recommendation%20from%20my%20side%20is%20also%20the%20cleanup%20as%20this%20is%20the%20way%20I%20use%20in%20production%20also%20and%20this%20is%20working%20solid.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332418%22%20slang%3D%22en-US%22%3ERe%3A%20Autopilot%20and%20Replaced%20motherboard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332418%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EI%20am%20seeing%20the%20same%20that%20Shuchi%20wrote.%20delete%20it%20and%20start%20over%2C%20that%20works%20best.%3C%2FP%3E%0A%3CP%3ERegards%2C%3CBR%20%2F%3EJ%C3%B6rgen%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332294%22%20slang%3D%22en-US%22%3ERe%3A%20Autopilot%20and%20Replaced%20motherboard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332294%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20my%20testing%2C%20it%20is%20best%20to%20upload%20the%20new%20HH%23%20and%20reset%20the%20device.%26nbsp%3B%20Remove%20the%20previous%20device%20entry%20by%20un-enrolling%20from%20Company%20Portal%2C%20delete%20from%20Intune%20and%20Azure%20AD.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20don't%20do%20above%2C%20there%20are%20follow-on%20issues%20with%20device%20compliance%2C%20getting%20policies%20(depending%20on%20what%20policies%20you%20have%20set).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EShuchi.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-332187%22%20slang%3D%22en-US%22%3ERe%3A%20Autopilot%20and%20Replaced%20motherboard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-332187%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Roland%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ethat%20should%20be%20possible%2C%20can%20you%20try%20this%3F%20Go%20and%20find%20the%20device%20by%20taking%20the%20serial%20number%20and%20delete%20it%20from%20Autopilot.%20After%20this%20go%20to%20the%20device%20and%20grab%20the%20hash%20again%20and%20upload%20it%20to%20the%20portal.%20If%20you%20already%20have%20the%20convert%20all%20assigned%20devices%20to%20Autopilot%20devices%20switch%20on%20on%20the%20Autopilot%20profile%2C%20this%20might%20also%20work%20(I%20didn't%20tested%20the%20convert%20for%20a%20replaced%20motherboard%20scenario).%20In%20theory%2C%20the%20switch%20will%20take%20care%20of%20gathering%20the%20hardware%20hash%20fully%20automatically%20after%20the%20change%20of%20the%20motherboard%20and%20you%20don't%20have%20to%20use%20the%20script.%20You%20can%20verify%20this%20by%20looking%20up%20the%20new%20serial%20number%20after%20replacement%20of%20the%20motherboard.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20didn't%20tested%20this%20scenario%20myself%20but%20I%20think%20it%20should%20work.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3CBR%20%2F%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-736909%22%20slang%3D%22en-US%22%3ERe%3A%20Autopilot%20and%20Replaced%20motherboard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-736909%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F174439%22%20target%3D%22_blank%22%3E%40Oliver%20Kieselbach%3C%2FA%3E%26nbsp%3BI%20was%20unable%20to%20delete%20the%20hardware%20id%20from%20autopilot%20because%20it%20said%20that%20it%20needed%20to%20be%20deleted%20from%20associated%20intune%20devices%20first%20and%20when%20I%20tried%20to%20upload%20a%20the%20new%20hardware%20id%20it%20errored%20because%20it%20already%20had%20a%20match%20to%20that%20service%20tag.%20If%20I%20delete%20the%20device%20wont%20it%20uninstall%20all%20the%20apps%2C%20etc%3F%20So%20I%20dont%20think%20there%20is%20a%20way%20to%20do%20an%20in%20place%20update%20of%20the%20hardware%20id%20if%20the%20motherboard%20gets%20replaced%3F%20I%20have%202%20that%20I%20need%20to%20do%20but%20dont%20want%20to%20wipe%20the%20devices%20if%20I%20dont%20have%20to.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-741918%22%20slang%3D%22en-US%22%3ERe%3A%20Autopilot%20and%20Replaced%20motherboard%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-741918%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F370720%22%20target%3D%22_blank%22%3E%40dj562006%3C%2FA%3E%2C%20there%20is%20a%20correlation%20between%20the%20objects%20now%2C%20Autopilot%20with%20Azure%20AD%20device%20and%20Intune%20device%20records.%20If%20you%20need%20to%20replace%20the%20hardware%20I%20think%20a%20wipe%20is%20the%20way%20to%20be%20100%25%20sure%20that%20it%20works....%20obviously.%20What%20you%20could%20test%20out%20is%20to%20change%20the%20motherboard%20and%20turn%20on%20the%20Autopilot%20checkbox%20%22convert%20all%20targeted%20autopilot%20device%22.%20Maybe%20you%20will%20change%20the%20board%20and%20the%20switch%20will%20pick%20up%20the%20new%20hardware%20id%2Fproperties.%20Never%20really%20tested%20this.%20Would%20be%20interesting%20to%20know%20if%20this%20works.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Ebest%2C%3C%2FP%3E%0A%3CP%3EOliver%3C%2FP%3E%3C%2FLINGO-BODY%3E
Ronald Meer
Contributor

When a device got it's motherboard replaced, the hardware hash is changed. So when this device is wiped autopilot doesn't work because of the change hardware hash. So you have to create a new autopilot csv and reregister the device. The question i have is: Is it possible to unregister a already enrolled device that got the motherboard replace, and reregister the device with the new hardware hash without factory resetting the device. So the user doesn't have to start all over with enrolling the device.

6 Replies

Hi Roland,

 

that should be possible, can you try this? Go and find the device by taking the serial number and delete it from Autopilot. After this go to the device and grab the hash again and upload it to the portal. If you already have the convert all assigned devices to Autopilot devices switch on on the Autopilot profile, this might also work (I didn't tested the convert for a replaced motherboard scenario). In theory, the switch will take care of gathering the hardware hash fully automatically after the change of the motherboard and you don't have to use the script. You can verify this by looking up the new serial number after replacement of the motherboard. 

 

I didn't tested this scenario myself but I think it should work.

 

best,
Oliver

In my testing, it is best to upload the new HH# and reset the device.  Remove the previous device entry by un-enrolling from Company Portal, delete from Intune and Azure AD.  

 

If you don't do above, there are follow-on issues with device compliance, getting policies (depending on what policies you have set). 

 

Regards,

Shuchi.

Hi,

I am seeing the same that Shuchi wrote. delete it and start over, that works best.

Regards,
Jörgen

:) don't get me wrong I do the same as Shuchi and Jörgen, delete and start over again, but what Ronald asked was, if it is possible. My answer was regarding this, yes I think so but I didn't tested this out in production and can't tell about reliability. My way is to cleanup and start over again. But if Roland wants to try I think it is possible. Recommendation from my side is also the cleanup as this is the way I use in production also and this is working solid.

 

best,

Oliver

@Oliver Kieselbach I was unable to delete the hardware id from autopilot because it said that it needed to be deleted from associated intune devices first and when I tried to upload a the new hardware id it errored because it already had a match to that service tag. If I delete the device wont it uninstall all the apps, etc? So I dont think there is a way to do an in place update of the hardware id if the motherboard gets replaced? I have 2 that I need to do but dont want to wipe the devices if I dont have to. 

Hi @dj562006, there is a correlation between the objects now, Autopilot with Azure AD device and Intune device records. If you need to replace the hardware I think a wipe is the way to be 100% sure that it works.... obviously. What you could test out is to change the motherboard and turn on the Autopilot checkbox "convert all targeted autopilot device". Maybe you will change the board and the switch will pick up the new hardware id/properties. Never really tested this. Would be interesting to know if this works.

 

best,

Oliver

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies