Error code 0x800705b4 during device preparation for Entra/Intune

TRS_8256 35 Reputation points
2024-08-06T07:36:56.66+00:00

I am trying to set up a Windows 11 Pro PC via Intune/Entra. My procedure was as follows:

Start the PC with a generic Microsoft account. Perform all updates.

Then, do a clean install using the cloud installation.

After the installation, add the PC to Intune/Entra via Autopilot using CMD with the following commands:

Powershell.exe -Executionpolicy Bypass

Install-Script -name get-WindowsAutopilotinfo -Force

Set-Executionpolicy -scope Process -Executionpolicy

Remotesigned Get-Windowsautopilotinfo -online In the following pop-up I logged in via Admin account and thus added the device. Then followed the installation steps and logged in with the user who will use the device. Now, at the first step "Device preparation" and the sub-step "Secure your hardware," I get the error code "0x800705b4". Whatever I do, complete new installs, rolling back updates, etc., I immediately return to the screen where the device is being set up for work or school. I don't log in here. TPM2.0 is enabled and I have already set up more than 10 similar devices in exactly the same way. Also tried sfc /scannow via CMD. How can I restore the device so that it does not immediately come back into Intune/Entra or can I resolve the error code?

Microsoft Security | Windows Autopilot
Microsoft Security | Intune | Enrollment
Microsoft Security | Intune | Other
Microsoft Security | Microsoft Entra | Other
{count} votes

Accepted answer
  1. Navya 20,180 Reputation points Microsoft External Staff Moderator
    2024-08-07T01:04:23.0766667+00:00

    Hi @TRS_8256

    Thank you for posting this in Microsoft Q&A.

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue:

    Error code 0x800705b4 during device preparation for Entra/Intune

    Solution:

    Issue resolved by @TRS_8256

    Remove the device completely from Intune and Autopilot and restart it.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information. Thank you again for your time and patience throughout this issue.

    Thanks,

    Navya.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


1 additional answer

Sort by: Most helpful
  1. TRS_8256 35 Reputation points
    2024-08-06T11:07:55.25+00:00

    Solved, remove the device from intune and autopilot completely and restart.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.