Many persistent errors in Event Viewer after Windows 11 build 22598.ni_release.220408-1503: "Autopilot.dll wil error was reported"

Anonymous
2022-04-28T20:22:08+00:00

I used to be part of the the Windows 11 Insider Beta channel. After updating to build 22598.ni_release.220408-1503 I began to see the same error in Event Viewer extremely frequently:

The errors are all the same and read as follows:

Autopilot.dll WIL error was reported.

HRESULT: 0x80070491

File: onecoreuap\admin\moderndeployment\autopilot\dll\dllmain.cpp, line 128

Message: NULL

I have never used any program called Autopilot or Modern Deployment. After seeing this problem I immediately left the insider program and am now queued for enrollment. However no new Windows update has happened and these errors persist. How do I prevent these errors?

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

338 answers

Sort by: Most helpful
  1. Anonymous
    2022-07-30T00:28:24+00:00

    Is this error related to vpn? I noticed it often pop up when windows trying connect to vpn😅

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-07-31T17:11:23+00:00

    dllmain.cpp does not exist in Windows 11.

    0 comments No comments
  3. Anonymous
    2022-07-31T19:48:20+00:00

    Boot windows in to safe mode and delete the following file

    dllmain.cpp

    from *onecoreuap\admin\moderndeployment\autopilot\dll* folder

    Restart windows.

    No such path exists on my Win 11 system, Autopilot error is extremely persistent, please provide specific instructions to terminate error, or admit not possible.

    7 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-08-01T11:10:41+00:00

    I have same problem with windows 10 (KB5015807) but no any crashes what so ever. ![](https://learn-attachment.microsoft.com/api/attachments/2b984e15-662d-4342-ba30-aba959cef715?platform=QnA

    2 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2022-08-01T17:23:05+00:00

    I also have the same problem on Win 11 Home 22000.832, in my case the laptop touchpad becomes completely unresponsive every time autopilot crashes

    4 people found this answer helpful.
    0 comments No comments