When trying to install a cumulative or feature update, some Windows users are confronted with update error 0x800f0904 that suddenly and automatically rolls back the process. What is annoying about this error is that it mostly does not give a fine explanation, and users will be left guessing if the problem is hardware, system, or network related.
In the majority of instances, error 0x800f0904 is caused by issues encountered during the preparation or installation stage of the updates. It might be caused if essential system files are missing or corrupted, or if the earlier updates were not installed successfully and the system remained in a partially updated state. In most cases, this error would appear while installing optional features or language packs, especially on previously tailored or trimmed systems using administrative tools or cleanup software.
And yet another possible suspect is a conflict among the Windows Update components. These processes can hang, get out of sync, or be incorrectly configured, with the outcome being failed updates when otherwise the rest of the system looks normal. Low disk space or disk base integrity issues can also be factors, especially if temporary install files can't be created or handled effectively.
To avoid Windows update failure 0x800f0904, one must remove file corruption, system configuration issues, or storage-related barriers. Instructions in detail regarding these and other remedies will be provided in the following steps. For recurring or hard-to-diagnose issues, the FortectMac Washing Machine X9 repair tool can also help detect and remedy what is preventing the update from completing successfully.
Fix 1. Run the Windows Update troubleshooter
This built-in tool automatically scans for common problems that prevent updates from installing successfully.
- Type Troubleshoot into the Windows search bar and press Enter.
- Next, on the right side of the window, select Additional troubleshooters/Other troubleshooters.
- Scroll down to locate the Windows update option and click on it.
- Click on Run the troubleshooter/Run and allow the process to complete.
Fix 2. Perform a system file check
Corrupted system files can interfere with the update process – you can address this by running certain commands in an elevated Command Prompt.
- Type cmd in Windows search.
- Right-click on Command Prompt and select Run as administrator.
- When User Account Control window shows up, click Yes.
- Paste the following command into the new window:
sfc /scannow - Press Enter and wait till the scan is executed.
- As soon as the scan finishes, Windows will report whether integrity violations were found and if they could be fixed. Regardless of the outcome, use these commands next, pressing Enter after each:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth - (Note: if you get an error executing this last command, add /Source:C:\RepairSource\Windows /LimitAccess to it and try again).
- Close down the Command Prompt and restart your system.
Fix 3. Free up disk space
Lack of storage can cause update errors if temporary files cannot be created.
- Type Disk Cleanup in Windows search and hit Enter.
- If your Windows is installed on drive C, pick it from the list (it should be by default) and press OK.
- Click Clean up system files.
- Select your main disk again and click OK.
- Here, select the largest portions of the data used – these typically include Temporary Internet Files, Windows Update, Temporary Files, Recycle Bin, Delivery Optimization Files, and others.
- Click OK – the process should be finished shortly.
Fix 4. Reset Windows Update components
Resetting update components clears outdated cache and fixes stuck services.
- Open Command Prompt as administrator.
- Stop the Windows Update-related services by running the following commands one at a time, pressing Enter after each one:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver - Rename the SoftwareDistribution and Catroot2 folders by running the following commands:
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old
Note: If your Windows installation is not on the C drive, replace “C” with the appropriate drive letter. - Restart the Windows Update-related services by running the following commands:
net start wuauserv
net start cryptSvc
net start bits
net start msiserver - Restart your computer.
Fix 5. Enable the Windows Modules Installer
This service helps install updates and features. If disabled, it may trigger error 0x800f0904.
- Type in Services in Windows search and hit Enter.
- Find Windows Modules Installer.
- If it is already running, right-click and pick Restart.
- If the service is not running, double-click it, and select Automatic under the Startup type from the drop-down menu.
- Click Start, Apply, and OK.
- Repeat this process for Windows Update Service, Background Intelligent Transfer Service (BITS), and Cryptographic services.
Fix 6. Install update manually from Microsoft Update Catalog
If automatic updates fail, you can manually download the update package.
- Type in Updates in Windows search and press Enter.
- Select View update history.
- Find the update that failed with the 0x800f0904 error and copy its KB number.
- Open your browser and go to Microsoft Update Catalog.
- Within the search bar, type in the KB number and click Search.
- Find the correct version of the update for your operating system (to check this, right-click on Start and pick System. Under Device specifications and check the System type) and click Download.
- Use on-screen guidelines to finish the installation process and restart your system.
Fix 7. Perform a Clean Boot before updating
Clean boot disables third-party services that may interfere with system processes.
- Type msconfig in Windows Search and press Enter to open the System Configuration window.
- Click on the Services tab and check the Hide all Microsoft Services box.
- Click Disable all to disable non-Microsoft services, then click the Startup tab.
- Open the Task Manager, disable all startup items, and close the Task Manager.
- Go to the Boot tab and mark the Safe boot option.
- Click OK on the System Configuration window and restart your computer.
- Try installing the update again.
Fix 8. Use Media Creation Tool
- Visit the official Microsoft website and download Windows 10 installation media (Windows 11 version).
- Double-click the installer, select Yes when UAC shows up, and agree to the terms.
- Launch the installer.
- Agree to the terms and click Next.
- Select Upgrade this PC now and click Next.
- Windows will start downloading the needed files.
- Agree to terms once again and click Next.
- Before installing, make sure that you are happy with your choices (otherwise, you can click Change what to keep option).
- Finally, click Install to begin the upgrade process.
The above is the detailed content of How to fix Windows update error 0x800f0904?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

When the Windows Security Center is blank or the function is missing, you can follow the following steps to check: 1. Confirm whether the system version supports full functions, some functions of the Home Edition are limited, and the Professional Edition and above are more complete; 2. Restart the SecurityHealthService service to ensure that its startup type is set to automatic; 3. Check and uninstall third-party security software that may conflict; 4. Run the sfc/scannow and DISM commands to repair system files; 5. Try to reset or reinstall the Windows Security Center application, and contact Microsoft support if necessary.

The computer is stuck in the "Undo Changes made to the computer" interface, which is a common problem after the Windows update fails. It is usually caused by the stuck rollback process and cannot enter the system normally. 1. First of all, you should wait patiently for a long enough time, especially after restarting, it may take more than 30 minutes to complete the rollback, and observe the hard disk light to determine whether it is still running. 2. If there is no progress for a long time, you can force shut down and enter the recovery environment (WinRE) multiple times, and try to start repair or system restore. 3. After entering safe mode, you can uninstall the most recent update records through the control panel. 4. Use the command prompt to execute the bootrec command in the recovery environment to repair the boot file, or run sfc/scannow to check the system file. 5. The last method is to use the "Reset this computer" function

Encountering something went wrong 657rx can be frustrating when you log in to Microsoft Teams or Outlook. In this article on MiniTool, we will explore how to fix the Outlook/Microsoft Teams error 657rx so you can get your workflow back on track.Quick

When encountering the "RPCserverisunavailable" problem, first confirm whether it is a local service exception or a network configuration problem. 1. Check and start the RPC service to ensure that its startup type is automatic. If it cannot be started, check the event log; 2. Check the network connection and firewall settings, test the firewall to turn off the firewall, check DNS resolution and network connectivity; 3. Run the sfc/scannow and DISM commands to repair the system files; 4. Check the group policy and domain controller status in the domain environment, and contact the IT department to assist in the processing. Gradually check it in sequence to locate and solve the problem.

When encountering the "SYSTEM_SERVICE_EXCEPTION" blue screen error, you do not need to reinstall the system or replace the hardware immediately. You can follow the following steps to check: 1. Update or roll back hardware drivers such as graphics cards, especially recently updated drivers; 2. Uninstall third-party antivirus software or system tools, and use WindowsDefender or well-known brand products to replace them; 3. Run sfc/scannow and DISM commands as administrator to repair system files; 4. Check memory problems, restore the default frequency and re-plug and unplug the memory stick, and use Windows memory diagnostic tools to detect. In most cases, the driver and software problems can be solved first.

When you encounter the "DefaultGatewayisNotAvailable" prompt, it means that the computer cannot connect to the router or does not obtain the network address correctly. 1. First, restart the router and computer, wait for the router to fully start before trying to connect; 2. Check whether the IP address is set to automatically obtain, enter the network attribute to ensure that "Automatically obtain IP address" and "Automatically obtain DNS server address" are selected; 3. Run ipconfig/release and ipconfig/renew through the command prompt to release and re-acquire the IP address, and execute the netsh command to reset the network components if necessary; 4. Check the wireless network card driver, update or reinstall the driver to ensure that it works normally.

Windows 11 KB5062660 is now rolling out as an optional update for Windows 11 24H2 with a few new features, including Recall AI in Europe. This patch is available via Windows Update, but Microsoft has also posted direct download l

When the boot prompt is "Windows could not start because of the following fileismissing" 1. You can run bootrec/fixmb, bootrec/fixboot, bootrec/rebuildbcd through the Windows installation media; 2. Check the hard disk connection or use CrystalDiskInfo to detect the health status of the hard disk; 3. If there is a dual system, you can use the bootrec command to rebuild the boot or manually add the boot items; 4. Use PE environment to kill viruses and combine DISM and SFC tools to repair the system files, and the system can be restored in most cases.
