Cannot update Windows with error code 0x80040154

立宇 陈 0 Reputation points
2025-12-14T10:07:40.4733333+00:00

I tried any method showed on the whole internet.

  1. sfc scannow--just show cannot repair
  2. dsim restore health--0x80040154
  3. some bat script that stop windows update server and delete cache--some failure
  4. register all dll in c/windows/---all done

but it still shows 0x80040154 when i tried to update my windows

I even tried, generate a whole new image of windows installer, using uumdump, try to update from that installer, but it shows something wrong.....

is there any new method to restore my windows update ability

thanks for everyone who want to help me either the problem is solved or not

Windows for home | Windows 11 | Windows update
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-14T10:07:51.8966667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To resolve the Windows Update error code 0x80040154, you can try the following steps:

    1. Use DISM to Repair Windows Update Corruptions:
      • Open an elevated command prompt (Run as administrator).
      • Execute the command:
             DISM.exe /Online /Cleanup-image /Restorehealth
        
      • Ensure your computer is connected to the internet so DISM can fetch necessary files from Microsoft Update servers.
    2. Run SFC Scan: After running DISM, run the System File Checker to repair any corrupted system files:
      • Execute the command:
             sfc /scannow
        
    3. Check CBS.log: If the SFC scan indicates it cannot repair some files, check the CBS.log file located at %windir%\Logs\CBS\CBS.log for details on the corrupted files.
    4. Extract Missing Files: If you identify missing or corrupted files from the CBS.log, you may need to extract the necessary .msu or .cab files and copy them to a specific folder (e.g., C:\temp\Source). Use the PowerShell script provided in the Microsoft documentation to assist with this.
    5. Use the Correct Source for DISM: If DISM fails to restore health, you can specify a source for the repair files:
      • Use the command:
             DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\temp\Source\ /LimitAccess
        
    6. Check for Updates Again: After completing these steps, attempt to run Windows Update again to see if the issue is resolved.

    If these steps do not resolve the issue, consider checking for any third-party software that might be interfering with the update process or performing a clean boot to eliminate software conflicts.


    References:

    0 comments No comments

  2. DaveM121 814.7K Reputation points Independent Advisor
    2025-12-14T10:40:36.47+00:00

    1

    Click your Start Button, type winver and hit Enter

    Please provide a screenshot of the resulting dialog.

    2

    Open the Settings App

    Go to Windows Updates

    Please provide a screenshot of that window


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.