Stuck on Setting up your device for work

Schumacher, Craig 51 Reputation points
2025-01-10T23:25:55.6566667+00:00

I am having a problem with one of our devices getting stuck and then error-ing out just after signing in. The device had its motherboard replaced and after that it was we would get an error (8018000a) message saying Something went wrong. The device is already enrolled.

Checking Entra I saw that there were 2 entries for that device. One was Entra joined and the other was Intune joined. I delete the Intune joined entry but left the Entra Joined listing. I could not delete the Entra Join device entry. I also saw that there was a duplicate entry in Autopilot, which I also removed. I then did a sync.

After that, I tried logging in again to the machine, but now it is stuck on "Setting up your device for work" After about an hour it again errors out and say contact your administrator.

Has anyone else run into this issue?

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,377 questions
Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,400 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. shahzeb shahid 0 Reputation points
    2025-01-11T15:24:07.1966667+00:00

    It sounds like you're encountering a challenging issue with a device getting stuck on "Setting up your device for work" after a motherboard replacement. Here are some steps to help troubleshoot and resolve the problem:

    Reset This PC: Go to Settings > Update & Security > Recovery and select Reset this PC.

    Registry Cleanup: Open regedit, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Enrollments, and delete old enrollment entries.

    Check Enrollment Status: Run dsregcmd /status in an elevated Command Prompt to verify the device's enrollment status.

    Re-Enroll Device: Go to Settings > Accounts > Access work or school, disconnect the work account, restart the device, and re-enroll it.

    Verify Autopilot Configuration: Ensure there are no duplicate entries in the Microsoft Endpoint Manager admin center.

    If the issue persists, it's advisable to contact Microsoft Support for further assistance.

    For reference, you can also check the Microsoft documentation on troubleshooting device enrollment issues: Microsoft Docs - Troubleshoot device enrollment

    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.