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

338 answers

Sort by: Newest
  1. Anonymous
    2022-06-03T19:21:00+00:00

    In which parent directory is onecoreuap located? I can't find it on my C drive under Windows, Program Files, Program Files (x86), etc. I also checked for a hidden folders but came up empty. Please specify full path to the file we need to delete. Thanks.

    Was this answer helpful?

    20+ people found this answer helpful.
    0 comments No comments
  2. VARADHARAJAN K 9,721 Reputation points Volunteer Moderator
    2022-06-03T17:49:04+00:00

    Boot windows in to safe mode and delete the following file

    dllmain.cpp

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

    Restart windows.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Anonymous
    2022-06-03T16:18:37+00:00

    Got it in 22621.1

    Don't know if it was there before.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2022-05-11T02:51:08+00:00

    Thank you, I have since updated to 22616.1 as well and the errors persist.

    Was this answer helpful?

    10+ people found this answer helpful.
    0 comments No comments