Fix Error 0x80070032 during Autopilot Reset of Windows Device
In this post, I will show you how to resolve the error 0x80070032 that occurs during the Autopilot reset of remote Windows device. The error code 0x80070032 appears when performing the Autopilot reset of remote Windows computer from the Intune portal.
An Autopilot reset basically resets the Windows device and returns it to a business-ready state. This allows the next user to sign in and start working quickly. Existing devices can be repurposed to Autopilot. Repurposing existing devices to Autopilot enables usage of Autopilot-specific features on the device. Read the following post to learn how to perform Windows Autopilot Reset.
To get started with Windows Autopilot deployment, here is the Windows Autopilot Setup guide. This step-by-step guide covers the steps to set up and configure Windows Autopilot in Microsoft Intune from scratch. Also see how to fix Autopilot Profile Status Shows Not Assigned.
Fix Error 0x80070032 during Autopilot Reset
The autopilot reset error 0x80070032 translates to ERROR_NOT_SUPPORTED and occurs when the Windows Recovery Environment (WinRE) is disabled on the remote device. Enabling the WinRE by running the command reagentc.exe /enable resolves the autopilot error code 0x80070032.
Typically, the Autopilot reset works without any issues but in my other tenant, on a specific device, the autopilot reset was failing. The Windows device was online, and I could manually synch the Intune policies on this remote computer. When I initiated the reset, I could see Autopilot Reset Pending message in the Intune console for a long time.
After a few minutes, the status changed to Autopilot Reset Failed. The only way to troubleshoot this issue is to review the Autopilot error logs. Windows Autopilot issues can often be resolved with the help of the MDM Diagnostics Tool. You can look through the MDM logs gathered from the desktop to assist in diagnosing enrollment or device management issues with Windows devices managed by an MDM server.
In the error logs, I noticed the error code 0x80070032 and that’s when I figured out why the autopilot reset was failing on this specific device. In case you are getting errors while running MDM diagnostics tool, refer to the guide Fix MDM Logs Collection Error 0x800700a1.
I logged in to the remote computer on which the Autopilot reset was failing. I noticed that WinRE was disabled. Windows Autopilot Reset requires that the Windows Recovery Environment (WinRE) is correctly configured and enabled on the device. If it isn’t configured and enabled, an error such as Error code: ERROR_NOT_SUPPORTED (0x80070032) will be reported.
To check the status of Windows Recovery Environment (WinRE), launch the command prompt as administrator. Run the command reagentc.exe /info. In the output check the Windows RE Status and I noticed that it was disabled. There could be many reasons why the WinRE was disabled but remember that WinRE should be enabled for autopilot reset to work.
To enable the Windows Recovery Environment (WinRE), run the command reagentc.exe /enable. You can verify the WinRE status by running the reagentc.exe /info to confirm if the status now shows Enabled.
After performing the above steps, go to the Intune admin center and select the device and run the remote device action Autopilot Reset, and now you will notice that error 0x80070032 is resolved and the device reset is successful.