Forum Discussion
Windows Autopilot Error Code 0x800705b4 Preparing device for mobile management
derekuoft
When I open a command prompt (SHIFT + F10) during autopilot, I found that deleting the following reg keys seemed to help the device get past that error (needed to initiate a restart after deleting the keys though)
HKLM\software\microsoft\DeviceManageabilityCSP
HKLM\software\microsoft\ccmsetup
Maybe these leftover SCCM reg keys are being flagged by Autopilot and it generates the error we see?
Just wondering what version of OS you are using when you image your devices? I'm using 20H2. I know there were issues with 1903 and 1909 that required you to add extra steps to the task sequence. Might need extra steps to remove these reg keys, but I haven't found a way to do that successfully yet.
Another forum said this script https://github.com/robertomoir/remove-sccm cleanly removes all traces of the SCCM client, which resets the MDM authority. Maybe Autopilot has issues with the SCCM remnants and still sees it as an MDM authority for that device?