ACTIVE MALWARE WINDOWS TESTED: WINDOWS 10, WINDOWS 11

How to fix
Windows update error 0xc1900131
on Windows

Resolve the Windows update error 0xc1900131 quickly and effectively. Follow our expert-tested solutions for Windows 10 and 11, fixed in minutes.

How to fix Windows update error 0xc1900131?
Quick Summary
Error severity
Medium
Est. time
10 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to fix Windows update error 0xc1900131?

  • Corrupted or incomplete installation files
  • Conflicts between the installer and the system's configuration
  • Storage problems causing data misreads
  • Tampered or altered files triggering security checks
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

Hello, I have been having some issues with installing the Windows version 23H2. The update downloads fine, but then it results in the installation failure with an error code 0xc1900131.

Importance of Windows Updates and error 0xc1900131

The updates for Windows are essential in order to keep your OS stable, secure, and well-performing. Microsoft periodically publishes these updates to introduce new improvements, patches that fix detected vulnerabilities, and add new features.

Large updates, such as 23H2 or 24H2, simply refer to major version upgrades that also include changes at the graphical level and optimizations of the system. Each update is assigned a unique Knowledge Base number, which enables tracking of its specifics. However, not all updates proceed smoothly, and some may encounter issues like the Windows update error 0xc1900131, which prevents successful installation.

Why the 0xc1900131 error occurs

The 0xc1900131 error mostly arises during major version upgrades, when the installer fails to verify the integrity of a particular file or package. Common causes include corrupted or incomplete installation files, conflicts between the installer and the system's configuration, or storage problems causing data misreads.

It can also occur if the file has been tampered with or altered, triggering security checks to block the installation. The 0xc1900131 error interrupts the upgrade process, leaving the system unable to complete the installation. For instance, some users have reported encountering this issue while upgrading to the 23H2 or 24H2.

Fixing the 0xc1900131 error

While there are several potential fixes for error 0xc1900131, they typically involve addressing the root causes such as clearing disk space, updating drivers, or repairing system files. Advanced methods may include resetting Windows Update components or performing an in-place upgrade.

Detailed instructions for resolving the issue will be provided below. For a convenient and automated solution, you can consider using [d1] repair, which can detect and fix underlying Windows issues, streamlining the update process and restoring system functionality.

How to fix windows update error 0xc1900131
How to fix windows update error 0xc1900131

Fix 1. Run Windows update troubleshooter

Windows update troubleshooter is a useful tool that can help you find potential issues related to the update process and fix them automatically. To run it, follow these steps:

  • Type Troubleshoot in Windows search and press Enter.
  • Select Additional troubleshooters/Other troubleshooters.
  • Find Windows Update from the list.
  • Click it and select Run the troubleshooter/Run.
  • Restart your computer when the update process is finished.

How to fix windows update error 0xc1900131 run troubleshooter
How to fix windows update error 0xc1900131 run troubleshooter

Fix 2. Perform a Disk Cleanup

Disk Cleanup is really useful when the reason for the 0xc1900131 error is the bugged cache that could be preventing the new updates from being installed on your PC. Disk Cleanup performs an excellent job at removing these files and also frees up some space.

  • 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 FilesRecycle Bin, Delivery Optimization Files, and others.
  • Click OK - the process should be finished shortly.

How to fix windows update error 0xc1900131 disk cleanup
How to fix windows update error 0xc1900131 disk cleanup

Fix 3. Scan for malware

Malware can intercept certain system files and damage them in the process. Therefore, you should make sure that it's not malware that's causing problems with Windows updates. You can use Microsoft Safety Scanner or employ deep scan with Microsoft Defender:

  • Type Windows Security in the Windows search bar and hit Enter.
  • Select Virus & threat protection.
  • Pick Scan options.
  • Choose Microsoft Defender Offline scan and click Scan now.
  • Your computer will immediately restart to begin a deep scan.

How to fix windows update error 0xc1900131 run troubleshooter
How to fix windows update error 0xc1900131 run troubleshooter

Fix 4. Perform Check Disk

Ensure that your hard drive/solid state drive does not have any corrupted sectors with the Check Disk command.

  • Type cmd in Windows search.
  • Right-click on Command Prompt and select Run as administrator.
  • When User Account Control shows up, click Yes.
  • In the new window, type in the following command and press Enter after:
    chkdsk c: /f
    (Note: use chkdsk c: /f /r /x command if you are using SSD as your primary partition)
  • If you receive an error, type in Y, close down Command Prompt and restart your device.
  • Wait until the scan is finished - you can find the results in the Event Viewer.

Fix 5. Reset Windows update components

Working Windows update components can be detrimental to a successful installation of updates.

  • Open Command Prompt as administrator.
  • User Account Control window will show up - click Yes when prompted.
  • Stop the BITS, Windows Update, and Cryptographic services by typing the following commands, and pressing Enter after each:
    • net stop bits
    • net stop wuauserv
    • net stop appidsvc
    • net stop cryptsvc
  • To rename the SoftwareDistribution and Catroot2 folders (where Windows stores update files), type the following commands:
    • ren %systemroot%\SoftwareDistribution SoftwareDistribution.old
    • ren %systemroot%\system32\catroot2 catroot2.old
    • regsvr32.exe /s atl.dll
    • regsvr32.exe /s urlmon.dll
    • regsvr32.exe /s mshtml.dll
    • netsh winsock reset
    • netsh winsock reset proxy
  • Restart the services stopped earlier by typing the following commands:
    • net start bits
    • net start wuauserv
    • net start appidsvc
    • net start cryptsvc
  • Close the Command Prompt and restart your computer, then try updating Windows again.

How to fix windows update error 0xc1900131 reset windows update components
How to fix windows update error 0xc1900131 reset windows update components

Fix 6. Repair corrupted system files

To fix system file corruption, you can always run SFC and DISM tools in the elevated Command Prompt.

  • Open Command Prompt as administrator.
  • In the Command Prompt window, copy and paste the following command and press Enter:
    sfc /scannow
  • Wait for the scan to complete - this might take a while, depending on your system configuration and disk size.
  • Once the SFC scan is finished, run the following set of DISM commands, pressing Enter after each one:
    DISM /Online /Cleanup-Image /CheckHealth
    DISM /Online /Cleanup-Image /ScanHealth
    DISM /Online /Cleanup-Image /RestoreHealth
  • After completing the DISM commands, restart your computer.

How to fix windows update error 0xc1900131 sfc and dism
How to fix windows update error 0xc1900131 sfc and dism

Fix 7. Use Media Creation Tool

Media Creation Tool is a great 

  • Visit the official Microsoft website and download Windows 10 installation media (Windows 11 version).
  • Double-click the installer and select Yes when UAC shows up.
  • Agree to terms.
  • Select Upgrade this PC now and select Next.
  • Windows will now download all the necessary files – it might take a while.
  • 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).
  • Click Install to begin the upgrade process.

How to fix windows update error 0xc1900131 use media creation tool
How to fix windows update error 0xc1900131 use media creation tool

Bottom line

To fix the Windows update error 0xc1900131, you can run the Windows update troubleshooter, clear disk space, update drivers, or repair system files. Advanced methods include resetting Windows Update components or performing an in-place upgrade. If none of these solutions work, consider using a repair tool to detect and fix underlying Windows issues.

Frequently asked questions

The error 0xc1900131 typically occurs due to corrupted system files, issues with the Windows Update components, or insufficient disk space on your device.

You can troubleshoot this error by running the Windows Update Troubleshooter, checking your disk space, and ensuring that your system files are intact using the System File Checker tool.

While some third-party tools may help resolve the error, it is recommended to first attempt built-in Windows troubleshooting methods to avoid potential security risks.

Did this fix work for you?
Alice Woods

Written & verified by

Security Analyst
Virus removal Rootkit detection System integrity verification Firewall configuration Antivirus tools testing

Alice Woods is a security analyst who covers antivirus software, virus removal procedures, and post-infection system verification. She tests security tools hands-on before recommending them and writes removal guides backed by direct malware analysis rather than theoretical instructions. Alice's background in security operations gives her guides an edge in accuracy — she understands how infections behave at a system level, which lets her identify the full scope of what needs to be cleaned. Her writing is trusted by both home users and IT professionals handling compromised machines.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →