How to fix Windows update error 0xC1900130

Windows update screen on a PC, where error 0xC1900130 can appear during a feature update

Quick answer: Error 0xC1900130 usually appears when a Windows feature update or version upgrade fails because the connection to the update server dropped during setup, or because a VPN, proxy or security app interfered. Restart the PC, use a stable wired or home connection, pause any VPN and third-party antivirus, then try again. If it still fails, reset the Windows Update components, or upgrade with the Installation Assistant or installation media instead of Windows Update.

Applies to: Windows 11 and Windows 10, mostly when installing a new version (for example 24H2 or 25H2) or an Insider Preview build. It often shows as Install error – 0xc1900130 in Windows Update.

Windows update screen on a PC, where error 0xC1900130 can appear during a feature update

What error 0xC1900130 means

Codes that start with 0xC1900 come from Windows Setup, the part of Windows that installs a new version on top of the old one. Microsoft doesn’t publish a detailed description of 0xC1900130 for home users, but it’s widely reported when the network connection between the PC and the update server is interrupted while setup is downloading or checking files. Other common triggers are:

  • VPNs, proxies and firewalls that block or slow the connection to Microsoft’s update servers.
  • Third-party antivirus that locks setup files while the upgrade runs.
  • A damaged update cache in the SoftwareDistribution folder from an earlier failed attempt.
  • Corrupted system files that setup can’t verify.

If you see a different code next to it, such as 0x80240034 (download failed) or 0xC1900101 (driver problem), the fix for that code matters more. See error 0x80240034 or error 0xC1900101 – 0x20017.

Quick checks first

  1. Restart the PC, then go back to Windows Update and select Retry.
  2. Use a stable connection. If you’re on Wi-Fi far from the router, a mobile hotspot or public network, move closer, plug in a cable or switch networks.
  3. Make sure the connection isn’t set as metered: open Settings > Network & internet, select your connection and check Metered connection.
  4. Check the date and time are set automatically, under Settings > Time & language > Date & time.
  5. Free up space. A feature update needs a lot of room on drive C:, so aim for at least 20 GB free.

Fix 1: Turn off VPN, proxy and third-party antivirus

Disconnect any VPN app and close it. Then check Settings > Network & internet > Proxy and turn off Use a proxy server unless your workplace needs it. If you use a third-party antivirus or firewall, pause it or uninstall it for the upgrade; Microsoft Defender takes over automatically and you can reinstall the other app afterwards. Then run Windows Update again.

Fix 2: Reset the Windows Update components

Computer desk with two monitors, used to reset the Windows Update components

Run the built-in troubleshooter first. In Windows 11, open Settings > System > Troubleshoot > Other troubleshooters and select Run next to Windows Update. In Windows 10, it’s under Settings > Update & Security > Troubleshoot > Additional troubleshooters.

If that doesn’t help, clear the update cache by hand. Open Command Prompt as administrator and run these commands one at a time:

net stop wuauserv
net stop bits
net stop cryptsvc
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start cryptsvc
net start bits
net start wuauserv

Restart the PC and check for updates again. Windows creates fresh folders and downloads the update from scratch, so the first check can take a while. If a service won’t stop or start, see what to do when the Windows Update service is missing.

Fix 3: Repair system files

In an admin Command Prompt, run DISM first, then SFC:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

DISM can take 10 to 20 minutes and may look stuck at a percentage for a while; let it finish. Restart afterwards and try the upgrade again.

Fix 4: Upgrade with Microsoft’s own tools

Person using a laptop to upgrade Windows with the Installation Assistant

If Windows Update keeps failing, skip it. Download the Windows 11 Installation Assistant from Microsoft’s Windows 11 download page and run it, or create installation media and run setup.exe from inside Windows, choosing to keep your files and apps. These tools download the whole upgrade in one go, which avoids many of the connection problems behind 0xC1900130. For the Windows 10 tools, see how to create Windows 10 installation media.

Back up important files before any version upgrade. It rarely goes wrong, but a backup costs little.

Find the real cause with SetupDiag

If the upgrade keeps failing, Microsoft’s free SetupDiag tool reads the Windows Setup logs and reports the rule that matched the failure. Download it from Microsoft Learn, run it as administrator after a failed upgrade, and open the SetupDiagResults.log file it creates in the same folder. The setup logs themselves are in C:\$Windows.~BT\Sources\Panther if you want to read setupact.log and setuperr.log directly.

Official sources:

Frequently asked questions

Will error 0xC1900130 delete my files?

No. When setup fails, Windows rolls back to the version you had before, with your files and apps in place.

Can I just ignore the update?

For a while, yes. Your current version keeps getting security updates until it reaches its end of service date, so check that date before putting the upgrade off for long.

Why does it only fail on one network?

Some networks, such as school, work or hotel Wi-Fi, filter or slow large downloads. Try the upgrade at home or over a cable to rule that out.

How we write our guides: read our editorial policy.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *