Skip to content

Fix Error Code 0x80040154 in Windows 11

June 28, 2022

Recently, many people who have tried to update Windows 11 on their computers have come across a rather annoying problem. Its about error code 0x80040154 which prevents updates from installing correctly.

In many of the cases reported by those affected, this usually happens when system update components stop working or when third-party applications prevent updates from completing due to some interference.

Whatever the reason, within this post we are going to show you what you can do to resolve the error code 0x80040154.

Index of contents

  1. How to fix error code 0x80040154 in Windows 11?
    1. Use Windows Update Troubleshooter
    2. Reset Windows Update components
    3. Install the update manually
    4. Perform a clean boot

How to fix error code 0x80040154 in Windows 11?

In case you didn’t know, many Windows updates are an essential part of your operating system. The reason for this is that such updates contain necessary and important security patches along with stability and bug fixes to improve your overall experience.

In addition to this, new functions are usually added through updates, for this reason, updating your operating system is necessary, especially if you update windows 11

As we have been telling you, this problem is caused by third party software that run in the background of your system. To help you better understand this situation, we are going to discuss the different methods that you can apply to fix this error code.

Use Windows Update Troubleshooter

One of the first things you can try to fix error code 0x80040154 is to run your operating system’s update troubleshooter. For your information, one of the particularities of Windows is that it has a wide variety of integrated tools that allow you to solve the different problems that may arise.

It is precisely one of these solvers that is designed to search for any fault present in Windows updates.

Therefore, you can try running the update troubleshooter to see if it can detect and resolve the issue. You just have to make sure you follow each of the recommendations that we will give you right now to achieve it:

  • First of all, open the Settings app Windows pressing the Windows key + I on your keyboard.

  • Then, in the System tab, scroll down and click on the option Solve problems provided.

  • Now, on the Troubleshoot screen, you have to click on the option Other troubleshooters.

  • There, you will see a list of the different troubleshooters that are available to you.
  • Search Windows Update and click the button Run.

  • Wait for the troubleshooter to finish, and then see if the issue is resolved.

Reset Windows Update components

There are many services that Windows uses when downloading and installing operating system updates on your computer. For this reason, if any of these components responsible for updating your system do not work as expected, the updates will not be installed. The result of this is the error code 0x80040154.

In this scenario, it is best to reset the update components of your system. Generally speaking, this allows services to be restarted, and so if one of them isn’t working as it should, it should do so now. For you to successfully reset these update components, simply follow each of these steps:

  • To get started, open the start menu and search cmd. Right-click on the displayed result and from the drop-down menu choose the option Execute as an administrator.

  • This allows the so-called command prompt to be started as an administrator.
  • Once you’ve done that, enter the following commands one by one:

net stop bits

net stop wuauserv

net stop appidsvc

net stop cryptsvc

  • This allows each of the Windows Update services to stop.
  • After that, you will need to delete all the files qmgr * .dat created by the BITS service. Now, you have to enter this command inside the command prompt window:

Del “%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*”

  • Write Y and then press Enter in the next message.

  • Once you’ve done that, we’ll rename some folders where downloaded updates are stored. Do this by entering the following commands one by one:

Ren C:\Windows\SoftwareDistribution SoftwareDistribution.old Ren C:\Windows\System32\catroot2 Catroot2.old

  • Once you do the above, you just have to start each of the services again. To achieve this, you must make sure to enter these commands one by one:

net start wuauserv

net start cryptSvc

net start bits

net start mserver

  • Once the services are backed up, try updating your system again to see if the problem persists.

Install the update manually

Another option that can work for you is installing the update that is causing the failure manually. Although this is not actually a repair method, it is an alternative that can eliminate the error successfully.

In case you did not know, microsoft It has a web portal from where you can download each of the updates released so far. With such a robust update catalog, you’ll be able to download any update that’s giving you trouble and then manually install it. To achieve this, just take note of the following recommendations:

  • First, go to the Microsoft Update Catalog website by clicking here

  • There, search for the update via the provided search bar. You can search for the update by supplying the value of KB.
  • After that, download the update for your respective system by clicking the button Discharge provided.
  • Once the update has been downloaded, run the file to install the update on your system.

Perform a clean boot

As we have been mentioning to you, one of the causes that can trigger this error code is interference from third-party applications that tend to run in the background. This may include the third party security program you have installed on your system or anything in general. The really complicated thing is to find the application that is giving rise to this error.

So, to make sure that the problem is caused by a third-party app, you can perform a clean boot. A clean boot basically starts Windows with only the required services running in the background, which means all third-party applications are disabled.

You can try updating your system on a clean boot to see if it works. Follow the steps that we describe below:

  • First of all, you need to open the Run dialog box by pressing the Windows key + R on your keyboard.
  • Inside the Run dialog, you have to type the command msconfig and then press Enter key.
  • This will open the System Configuration window. There, switch to the tab Services.
  • In the Services tab, check the checkbox Hide all Microsoft services provided.
  • Follow that by clicking the option disable all and then press the button Apply.
  • After doing that, switch to the tab Start and click the option Open Task Manager.
  • In the Task Manager option, select the applications one by one and then click the button Deactivate provided.
  • When you manage to do this, go ahead and reboot your system.
  • After your PC boots up, try running the updates again to see if the issue persists.