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-11-17T19:52:08+00:00

    Like Migz-DH, I did a clean install and the error no longer occurred I used the same computer name, signed in with my Microsoft account, and installed the apps that were installed when I went from 21H2 to 22H2. I did that to see if I could spot what might have triggered the error.

    Due to my limited knowledge I did not find anything.

    0 comments No comments
  2. Anonymous
    2022-11-20T18:06:55+00:00

    *onecoreuap\admin\moderndeployment\autopilot\dll* this is not a path on my PC. I did have the dllmain.cpp file installed as part of Power Toys. I uninstalled Power Toys and the file, dllmain.cp is no longer on my PC but the error still occurs by the 100's in event viewer.

    0 comments No comments
  3. Anonymous
    2022-11-22T09:21:58+00:00

    some body has desassenbled the program ? what is hapening for this mysterious line 128 ?

    0 comments No comments
  4. Anonymous
    2022-12-03T19:48:55+00:00

    At first, I updated from 21H2 to 22H2 via Windows Update. Along with this problem, that introduced several others to my system. So, I went to Settings > System > Recover > Reset This PC and had it download a copy from the cloud and keep my files. Some of the other issues went away, but this one continues. I'm on a local account. Has anyone tried converting over to a Microsoft Account login and then switching back to local to see if that clears it up?

    Some of the posts here say with a full re-install (saving nothing), the problem goes away. But, I really have no desire to do yet another re-install of this OS.

    0 comments No comments
  5. Anonymous
    2022-12-03T21:40:05+00:00

    I had same problem on a Lenovo laptop that updated to windows 11. The culprit was the Lenovo software, it didn't like windows 11. Removed Lenovo software and the laptop came back like new! Hope this helps you!

    Cheers!

    0 comments No comments