Fix: Autopilot.dll WIL Error Was Reported in Windows Event Viewer

Read here what is causing the “Autopilot.dll WIL error was reported” in the Windows Event Viewer and what you can about it.

Many users have reported getting the “Autopilot.dll WIL error was reported” often a dozen times per day in Windows Event Viewer. In this article, we will see what can cause it and what we can do about it.

This error happens when the Microsoft Sign-in Assistant requests a file path (onecoreuap\admin\moderndeployment\autopilot\dll\dllmain.cpp) that does not exist in Windows. This is why you see “Message: NULL” when you get this error.

So far, Microsoft didn’t release an update to fix this issue, and since this is a coding error, there is nothing we can do right now to fix this issue completely. However, there is a workaround: turning off Microsoft Sign-in Assistant.

(To learn what to do if the Windows Event Log is taking up too much space in Task Manager, read my article on high disk usage by how to fix Windows Event Log high disk usage)

Next, I will show you how to turn off Microsoft Sign-in Assistant and tell you the pros and cons of this workaround.

Disable Microsoft Sign-in Assistant to Fix “Autopilot.dll Wil Error Was Reported”

Disabling the Microsoft Sign-In Assistant will stop this error message from appearing altogether. The reason this is a workaround, and not a fix, is because there are also drawbacks to it.

Microsoft Sign-in Assistant may be necessary to run a few Windows services like the Outlook calendar widget, Office 365, or the Xbox Game Pass. So, turning it off can affect some features of your PC.

You can always turn it back on if you want, so it might be worth trying. To turn it off and get rid of the error message, follow the steps below:

  1. Enter Services on Windows Search and click on Run as Administrator:
  2. Right-click on the Microsoft Account Sign-in Assistant and click on Properties:
  3. In the General tab, click on the Stop button under Service status:
  4. Now change the Startup type to Disabled:
  5. Press Apply and then OK to apply the changes.
  6. Restart your PC.

If you need to turn it on again, turn your settings back to what it was before and restart your PC.

Besides this workaround, you can also try to turn off Microsoft Edge.

Disable Microsoft Edge on Windows Startup to Fix the Autopilot.dll Error

Some users reported that Microsoft Edge seems to trigger this error, so it is worth trying to use another browser. Besides that, disable Microsoft Edge at startup to make sure it is not running in the background by following the steps below:

  1. Press CTRL + SHIFT + ESC to open the Task Manager and navigate to the Startup tab.
  2. On the Startup tab, right-click on Microsoft Edge and click on Disable:

If this doesn’t work, the only thing you can do is wait for a Microsoft official fix. As of 19th August 2022, Microsoft still didn’t release an update dealing with this issue.

If you are reading this article later, try to update Windows as explained below.

Check for Windows Updates

As explained before, this is an error that the user cannot fix. The official Microsoft fix will come through a Windows update. If you are reading this article later, try to update Windows.

  1. Enter Check for updates on Windows Search and click on Open:
  2. Then on Windows update, click on the Check for update button:


The file path onecoreuap\admin\moderndeployment\autopilot\dll\dllmain.cpp does not exist in your version of Windows, so you will continually get the “Autopilot.dll WIL error was reported” error till Windows provide a definite fix.

This error message does not affect your PC; you can safely ignore it.

As a workaround, try to disable the Microsoft Sign-in Assistant service by pressing Win + R and entering services.msc on the Run dialog. On Windows services, search for Microsoft Account Sign-in Assistant, open it and click on the Stop button and change the Startup type to disabled.

Besides that, the best thing you can do is wait for a Windows update to fix this.

If you see a very high power usage in task manager, I’ve written an article about why it happens and when it is something you should keep your eyes on.

Laerthe Côrtes

Laerthe Côrtes

My first desktop computer, back in the 1990s, opened a whole new world for me; since then I am a heavy PC user (who will never get used to smartphones.) I worked for five years in the PC software industry, and my favorite version of Windows is still Windows 95.

About Us

No matter who you are, if a seasoned computer user or someone who can’t do much more than browse the internet, my mission is the same – to help you find a solution to the problem plaguing your PC, or, at the very least, to give you a direction of what to do next.

Legal Information

Some of our posts contain affiliate links to help keep this website running. This means I recommend products and services I personally use and I may receive a commission if you purchase them.

Must-Have Software List

You might also like