Autopilot.dll WIL error

Anonymous
2022-08-24T15:35:23+00:00

So this issue has been going on for almost a month now,event viewer is showing tons of these errors,i have 3 windows 10 installations and in each the error is there.Even tried to do a clean install on my main pc today to see if it would go away but to no effect.

This is the error:

Autopilot.dll WIL error was reported.

HRESULT: 0x80070491

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

Message: NULL

I searched a bit trough the comunity and found out that there are tons of people having the exact same problem.

Windows for home | Windows 10 | 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

142 answers

Sort by: Most helpful
  1. Anonymous
    2023-06-18T18:04:25+00:00

    Let me add. within about 10 minutes after the second sfc I found 7 apparently identical errors in the system event log.:

    Autopilot.dll WIL error was reported.

    HRESULT: 0x80070491

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

    Message: NULL

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. lmacri 2,505 Reputation points
    2023-05-14T12:37:24+00:00

    FIXED

    It wasn't working, as “Microsoft Account Sign-in Assistant service” did not exist, Then i upgraded from Windows 10 to Windows 11, keeping my files. And voila there it was “Microsoft Account Sign-in Assistant service”, where i changed the properties and there was the happy ending.

    WARNING

    Users who try this workaround and disable their Microsoft Account Sign-in Assistant service may experience serious side effects afterwards.

    The 22-Sept-2022 TheWindowsClub article Autopilot.dll WIL Error Was Reported in Windows 11/10 where this workaround was first suggested warns that " This sign-in assistant utility facilitates users in signing on to several Microsoft apps*...note that if you are using the Outlook Calendar, Phone Link app, etc., then* those apps will not be able to connect to your account."

    The batcmd.com article at Microsoft Account Sign-in Assistant - Windows 10 Service also warns that "If this service is stopped, users will not be able to logon to the computer with their Microsoft account."

    Dell Inspiron 5584 * 64-bit Win 10 Pro v22H2 build 19045.2965 * Firefox v113.0.1 * Microsoft Defender v4.18.2304.8-1.1.20300.3 * Malwarebytes Premium v4.5.28.266-1.0.2005 * Macrium Reflect Free v8.0.7279

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-04-01T21:12:23+00:00

    If you have installed Windows with a local account, a key is stored in the TPM chip.
    If later, you log in with a Microsoft account, for some reason, the TPM key does not reset.

    In order to fix this error, Open Settings -> Update & Security -> Windows Security -> Open Windows Security
    Then go to Device Security and under Security processor, click Security processor details.
    Then click Security processor troubleshooting and click Clear TPM then Clear and restart.

    Once Windows restarts, you will be prompted to reset your PIN. It will ask you to log in and reset the PIN.

    Now no more Autopilot errors.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-03-22T06:56:32+00:00

    ChatGPT gave me a solution that worked for me and I didn't lose any data... Was very simple..

    Remove and Re-install Autopilot..

    1. Open PowerShell as Administrator
    2. Run this line of code:
      Get-AppxPackage Microsoft.WindowsAutopilot | Remove-AppxPackage
    3. Now run this line of code:

    Get-AppxPackage -allusers Microsoft.WindowsAutopilot | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    The end..

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-02-15T17:14:50+00:00

    It should also be noted that the Dell Laptop in the previous post has since died (MB failure). I received a new Razer Blade 18 with Windows 11 Home pre-installed and the TPM enabled and was seeing the same issues as before (app hangs, service hangs, etc).

    NOTE: I did try the "windows 11 reset TPM" feature mentioned previously...this did NOT work.

    I had to disable TPM from the BIOS on the new laptop to resolve those issues.

    This appears unrelated to the underlying HW as the two systems I have that were experiencing these issues are from completely different manufacturers (everything on the mainboard is different on the new laptop). This tells me that this is a 100% Microsoft Windows 10/11 issue.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments