Share via

Error 0x80040154 on Windows Update since may 16.

Anonymous
2023-06-13T17:18:23+00:00

Hello everybody, My PC runs Windows 10 home 22H2, x64, build 19045.2788. Around May 16, I noticed that the automatic updates were no longer running. Every attempt results in 0x800040154, an error I can't correct.
Who can please help me?

Windows for home | Windows 10 | Windows update

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

2 answers

Sort by: Most helpful
  1. Anonymous
    2023-06-13T17:24:00+00:00

    Hello Thierry le Marchand,
    I am jack.

    Error 0x80040154 on Windows Update typically indicates a problem with a registered DLL file or a corrupted Windows Update component. Here are a few steps you can take to try and resolve the issue:

    1. Run the Windows Update troubleshooter: Windows 10 has a built-in troubleshooter that can help identify and fix common update-related problems. To access it, go to "Settings" > "Update & Security" > "Troubleshoot." Run the "Windows Update" troubleshooter and follow the on-screen instructions to see if it can resolve the issue.
    2. Restart the Windows Update services: Open the Run dialog (Windows key + R), type in "services.msc," and press Enter. In the Services window, locate the following services: "Background Intelligent Transfer Service (BITS)," "Cryptographic Services," "Windows Update," and "Windows Installer." Right-click on each service, select "Restart," and confirm any prompts that appear. After restarting all the services, try running Windows Update again.
    3. Reset Windows Update components: You can try resetting the Windows Update components to their default state. Microsoft provides a tool called "Windows Update Troubleshooter" that can automate this process. You can download it from the official Microsoft support website and run it on your system.
    4. Manually reset Windows Update components: If the automatic troubleshooter doesn't resolve the issue, you can try manually resetting the Windows Update components. Microsoft provides a guide with detailed instructions on how to do this. You can follow the steps outlined in the article titled "How do I reset Windows Update components?"
    5. Check for third-party software conflicts: Sometimes, third-party antivirus or security software can interfere with Windows Update. Temporarily disable any such software you have installed and then try running Windows Update again. If the error doesn't occur, it's possible that the security software was causing the issue. In that case, you may need to configure it properly or consider using a different security solution.

    If none of these steps resolve the issue, you might consider reaching out to Microsoft support or visiting the Microsoft Community forums for further assistance. They may be able to provide more specific guidance based on your system configuration and the error code you're encountering.

    Regards,

    5 people found this answer helpful.
    0 comments No comments
  2. David-M 110.2K Reputation points Independent Advisor
    2023-06-13T17:52:47+00:00

    Hi. I'm David, and I'm happy to help you.

    I suggest doing the following:

    Run the Windows Update Troubleshooter.

    https://support.microsoft.com/en-us/windows/win...

    If it persists, rename the software distribution folders as instructed below:

    1. Open Start and type cmd, right-click on "Command Prompt", and select "Run as administrator".
    2. Run the following commands at the Command Prompt one at a time:

    net stop bits

    net stop wuauserv

    net stop cryptsvc

    ren %systemroot%\softwaredistribution softwaredistribution.bak

    ren %systemroot%\system32\catroot2 catroot2.bak

    net start bits

    net start wuauserv

    net start cryptsvc

    1. After all these commands are completed, close the Command Prompt window, restart your computer, and then try to update Windows.

    If it persists, use the system file checker to repair possible corrupted or missing system files.

    1. Open Start and type cmd, right-click on "Command Prompt", and select "Run as administrator".
    2. Run the following commands at the Command Prompt one at a time:

    dism.exe /online /cleanup-image /scanhealth

    dism.exe /online /cleanup-image /restorehealth

    dism.exe /online /cleanup-image /startcomponentcleanup

    sfc /scannow

    Note: Pay attention to the results of the commands to make sure that the procedure was completed successfully or if there was a problem. If you have any problems, let me know the error that was shown.

    1. Then restart your PC and see if you can update.

    Feel free to ask back any questions.

    4 people found this answer helpful.
    0 comments No comments