All About Microsoft Windows And Technology !!!

Windows 11 KB5040442 failed to install? 5 quick solutions to apply

If your device doesn't have enough free space, the update might fail. Ensure you have adequate disk space before attempting the installation.

Microsoft released Windows 11 KB5040442 (OS Build 22631.3880) with a bunch of fixes for the ActiveX, WiFi not connecting, Unexpected device shutdown issues, and performance improvements. Regular updates help protect your computer from vulnerabilities and ensure that your system stays current, secure, and capable of running the latest software. However, sometimes you may encounter Windows 11 KB5040442 failed to install error, Windows update won’t download or stuck for hours, preventing you from installing the update.

Many users have reported similar issues on various forums and websites. 

Cumulative update for Windows 11 for x64 based system (KB5040442) failed to install. Error code 0x800f0900 and 0x80070005

Windows 11 update failed to install

Various factors can cause Windows 11 KB5040442 to fail to install on your device. Some of the most common ones are:

  • Network problems that interrupt the download or installation of the update.
  • Third-party antivirus or firewall software that blocks or interferes with the update process.
  • Low disk space that does not allow the update to download or extract fully.
  • Corrupted or missing system files that prevent the update from installing correctly
  • Incompatible or outdated drivers that conflict with the update.

If you encounter the error message “Windows 11 KB5040442 failed to install” when trying to update your operating system, you can try some of the following solutions to fix it:

  • First of all, Check and make sure you have a working internet connection to download updated files from the Microsoft server.
  • If you are using a VPN, disconnect from it and again check for Windows updates
  • Again storage is important, to download and store the updated files before installing for you. So make sure the system drive has free space to download updated files.

Restart your computer and try to install the update again

Sometimes, a simple restart can solve many update issues. It can clear any temporary glitches or cache that may prevent the update from installing correctly. To restart your computer, follow these steps:

  1. Go to Start > Power > Restart.
  2. Wait for your device to reboot and then sign in.
  3. Go to Settings  > Windows Update > Check for updates and try to install the update again.

Windows 11 KB5037771 Download

Install updates on clean boot state

Performing a clean boot starts the operating system using a minimal set of drivers and startup apps. And disable unnecessary startup services as well. That probably helps if any third-party software or service conflict prevents Windows update download on your system.

  • Press Windows + R, type msconfig, and ok
  • This will open the system configuration window,
  • Here move to the Services tab, Select Hide all Microsoft services > Disable all
  • Then Go to the Startup tab, and Open Task Manager
  • Here Disable all the unnecessary services running there.
  • Restart your computer and check for updates.

Use Windows Update Troubleshooter

Microsoft team is well aware of Windows update failure, And they have designed Windows Update Troubleshooter. And more interestingly this is an inbuilt tool that automatically detects and fixes problems that prevent Windows update download and installation. Let’s run the troubleshooter to detect the Windows update issues for Windows 11 automatically.

  • Press the Windows key + X and select settings,
  • Go to the System tab then Scroll down and click on Troubleshoot
  • let’s click on the other troubleshooters option to display all available troubleshooters list,
  • And finally, click the Run option for the Windows Update troubleshooter.
  • The Windows 11 Update troubleshooter tool will then open and automatically detect issues.
  • After getting the all-clear to proceed, restart your PC and again check for updates,
  • Check if this time successfully installed the latest Windows updates.
windows 11 update troubleshooter

Reset Windows updates components

Resetting Windows update components is another possible solution that you can try to fix the Windows 11 KB5040442 failed to install error. This can help you clear any corrupted or damaged files or settings that may affect the update process.

  • Open Command Prompt as an administrator by typing cmd in the search box and then right-clicking on Command Prompt and selecting Run as administrator
  • Then execute the command net stop wuauserv to stop the Windows update service.
  • Next type net stop bits to stop the background intelligent transfer service.

Open file explorer using windows key + E, then navigate,  C:\Windows\SoftwareDistribution\Download

  • Here Delete everything inside the download folder, but do not delete the folder itself.
  • To do so, press CTRL + A to select everything and then press Delete to remove the files.
Delete windows update cache
  • Again open the command prompt
  • Execute command net start wuauserv to start the Windows update service
  • And net start bits to restart the services that you previously stopped.
  • That’s all, restart windows and check for updates.

Uninstall any third-party antivirus or firewall software

Some antivirus or firewall software may block or interfere with the update process. They may prevent the update from downloading, installing, or running properly. To avoid this, you can temporarily uninstall any such software from your device before installing the update

  1. Go to Settings > Apps > Installed apps and find the program you want to uninstall.
  2. Click on it and then click on Uninstall.
  3. Follow the instructions on the screen and let the program uninstall.
  4. Restart your device if the program asks you to do so.
  5. After installing the update, you can reinstall your antivirus or firewall software if you wish.

Free up some disk space

Low disk space can prevent the update from downloading or extracting fully. It can also affect the performance and stability of your device. To free up some disk space, you can delete any temporary files, uninstall any unused programs, or use Disk Cleanup.

Go to Settings > System > Storage > Temporary files and select what you want to delete. You can delete files such as delivery optimization files, Windows update cleanup files, thumbnails, recycle bins, downloads, and more. Click on Remove files and wait for the process to complete.

Go to Settings > Apps > Apps & features and find the programs you want to uninstall. You can sort them by size, name, or installation date. You can also use the search box to find a specific program. Click on the program and then click on Uninstall. Follow the instructions on the screen and let the program uninstall.

Go to Start > Windows Administrative Tools > Disk Cleanup. Select the drive where Windows is installed (usually C:) and click on OK. Check the boxes of the items you want to delete and click on OK. You can delete items such as temporary internet files, system error memory dump files, previous Windows installations, and more. Click on Delete Files and wait for the process to finish.

Run DISM and Sfc utility

If Windows system files are corrupted or get missing you may face different problems including Windows update failure. We recommend that once run the DISM restore health command and SFC utility before checking for the latest Windows updates.

These are tools that can scan and repair any corrupted or missing system files that may prevent the update from installing correctly. They can also restore the health of your system image, which is a snapshot of your device’s configuration and settings.

  • Open a command prompt as administrator,
  • First, run the DISM restore health command: DISM /Online /Cleanup-Image /RestoreHealth
  • After 100% complete the scanning process run the command sfc /scannow
  • This will detect and restore missing system files with the correct ones.
  • Wait until 100% complete the scanning process and restart windows.
  • Let’s again check for Windows updates
Run system file checker

Download and install the update manually

If the automatic update method does not work, you can try to download and install the update manually from the Microsoft Update Catalog website. This is a website that contains all the updates that Microsoft releases for Windows devices. To download and install the update manually, follow these steps:

  1. Go to and find the update that matches your device’s architecture (x64, or ARM64).
  2. Click on Download and then click on the link that appears.
  3. Save the file to your device and then run it as an administrator.
  4. Follow the instructions on the screen and let the update install.
  5. Restart your device if the update asks you to do so.

Note: If you face update installation stuck while checking the Windows 10 feature update, We recommend using the official media creation tool to update Windows 11 version 23H2 smoothly.

If you are looking for Latest Windows 11 ISO you can get it from here.

Did you find this post helpful, these solutions help to fix Windows update download and installation problems. Let us know in the comments below, also read

You might also like
Leave a comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More