Forum Discussion
martin_macf
Apr 30, 2021Copper Contributor
Windows Autopilot Error Code 0x800705b4 Preparing device for mobile management
We are implementing a number of Windows Autopilot via Lenovo Thinkbook 15-ITL. These are being deployed to authorised users whether they are at home connected to their home broadband or in the office...
i_ARQ
May 14, 2021Copper Contributor
I also run the "faster" v2 method but it doesn't really allow me to customize things on the image because it bypasses installing the ccm client and I can't install other apps I want on the base.
But I think I may have found the registry key that might be causing the issue.
When it was at the autopilot "Preparing device for mobile management autopilot" step.. it tends to sit there untill the timeout reaches the limit and it gives that error. I opened a command prompt with Shift +F10 to view the registry and check for keys left by the ccm client.
I deleted some keys and forced a restart during autopilot.. and when it rebooted it finally got passed that step without any errors.
I now added a step in my sccm image to delete the keys at the end of the deployment. Hopefully that resolves the issue when it boots into autopilot.
keep you posted.
derekuoft
May 14, 2021Copper Contributor
That sounds great, please keep me posted.
- i_ARQMay 17, 2021Copper Contributor
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?