GuidesError FixesHow To Fix Windows Update Error 0xc1900223?

How To Fix Windows Update Error 0xc1900223?

Learn how to fix the issue by disabling VPN, flushing DNS cache, and more!

Expert Verified By

Windows update error 0xc190023 usually appears when you try to update Windows or your system cannot link with Microsoft Update servers, preventing the computer from downloading and installing any updates. The problem arises from improper connection to the Microsoft update server, corrupt data in SoftwareDistribution or Catroot2 files, glitches in Windows Update components, and inactive Windows Update.

Windows Update Error 0xc1900223
Windows Update Error 0xc1900223 (Image By Tech4Gamers)

It appears on the screen as:

Error Message: There were some problems installing some updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: Feature update to Windows 10, version 1903 – Error 0xc1900223. 

Key Takeaways

  • When you attempt to update Windows, you might encounter the error 0xc1900223. It also appears when your computer loses the connection to Microsoft Update servers.
  • Corrupt system files, glitches in Windows updates, and network problems can result in error 0xc1900223.
  • Running SFC and DISM scans, using the Media Creation Tool, and updating your system manually or through the Microsoft Update Catalog will help you resolve the issue. 

Run Windows Update Troubleshooter

We recommend utilizing the Windows Update Troubleshooter, a built-in tool that we have personally used to tackle various issues. It will identify the problems obstructing your system’s update process and swiftly resolve them.

To launch the Windows Update Troubleshooter, follow the procedure:

  1. Go to “System,” then “Update and Security” in “Settings,” and hit “Troubleshoot.”
  2. Run “Windows Update” troubleshooter under “Other Troubleshooters.”
  3. Now, try updating your PC after a restart.

Replace Hosts File

Every OS connects the domain name to the IP address through the Host file. However, a system cannot connect to a DNS server if the Host file corrupts. As a result, Windows updates will not work. So, we tried replacing the host file on our PC, which proved effective.

Here’s how:

  1. Open “Notepad.”
  2. Now, create a code like the one explained below in the Notepad file, as the “Microsoft TCP/IP” created for Windows. Start every line with #.
    # Copyright (c) 1993-2006 Microsoft Corp.
    #
    # IP addresses to hostnames.
    # Space between IP address and hostname
    # Corresponding hostname.
    #

    For example: 

    # Copyright (c) 1993-2006 Microsoft Corp.
    #
    # 102.54.94.97 rhino.acme.com
    # source server
    # 38.25.63.10 x.acme.com
    # x client host
    # DNS itself handles localhost name resolution.
    # 127.0.0.1 localhost
    # ::1 localhost
  3. Now, save the file on the desktop as “hosts.txt.”
  4. Change the hosts.txt file’s name to hosts (no extension).
  5. Launch “Command Prompt” as administrator.
  6. Type “ipconfig /flushdns” in the box and hit “Enter.”
  7. After the execution of the command, exit Command Prompt.
  8. Copy this path “C:\Windows\System32\drivers\etc.”
  9. Open “File Explorer” and paste the path in the bar at the top of the screen.
  10. Go to the desktop, copy the host file by right-clicking it, and paste it into the folder opened in File Explorer.
  11. Choose “Replace The File.”
  12. Now, close the window and restart your computer.

Flush DNS Cache

The error 0xc1900223 indicates that the system cannot connect with Microsoft’s Update service. Sometimes, this is because of connection problems during a Windows update. Therefore, we cleared the DNS cache to rid the system of older IP addresses and network information. 

Check Windows Update Services

The Windows update needs several services to run, but your computer may cease updating or trigger errors if some services are stopped. Hence, you want to ensure all the below-mentioned services are working fine.

Here’s how you can check if the Windows Update services are active:

  1. Hit “Windows+R,” and you will see the “Run” dialog box.
  2. To check which services are active, type “services.msc” and hit “Enter.”
  3. Right-click on “Windows Update” to open it.
  4. From the context menu, select “Properties.” 
  5. Make sure that either the “Automatic” or “Manual” startup type is selected.
    Windows Update General
    Windows Update General (Image By Tech4Gamers)
  6. For each of the services listed below, verify the “Startup type.”
    Windows Update Service
    Cryptographic Services
    RPC Endpoint Mapper
    DCOM Server Process Launcher
    Background Intelligent Transfer Service
    Windows Installer
    Windows Update Medic Services
 Important: If the services are running, restart them. Go to the service, right-click, and hit “Restart.” 

Refresh Windows Update Components

Resetting Windows Update Components was another way our team solved the Windows update error 0xc1900223. The process addresses corrupt or misconfigured settings related to the Windows update process, thereby eliminating the error. 

Here’s how:

  1. Launch the “Run” dialog box by using “Windows+R” as a shortcut.
  2. When the box appears, type cmd and press “Ctrl+Shift+Enter” on the keyboard to access the “CMD Prompt” as administrator.
  3. Copy and paste the below commands and press “Enter.”
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
WARNING: These commands will stop all the WU services like MSI Installer, BITS and Cryptographic services.

After turning off all the services, rename the “SoftwareDistribution” and “Catroot2” folders with Windows update files.

Here’s how:

  1. Copy and paste the following commands in “Command Prompt” one by one and hit “Enter” after each one:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 Catroot2.old
  2. Start the services again, which you turned off previously after deleting the two folders. After pasting the commands below into CMD, press “Enter” after each one:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver

Run SFC And DISM

We also ran the System File Checker (SFC) and Deployment Image Servicing Management (DISM) to fix and recover the missing or corrupted files that may hinder the Windows update process.

Here’s how:

  1. Using Windows search, look for “Command Prompt” and select “Run As Administrator.”
  2. Now, type “sfc/scannow” and hit “Enter.”
  3. Next, execute the commands individually:
    DISM /Online /Cleanup-Image /Checkhealth
    DISM /Online /Cleanup-Image /Scanhealth
    DISM /Online /Cleanup-Image /Restorehealth 

Use Media Creation Tool

You can install the latest Windows updates using Microsoft’s Media Creation Tool. It is an easy-to-use program that we used to install the latest version of the OS through a USB flash drive while all our data, apps, and files remained safe. 

Download Windows 10 latest update with the Windows Media Creation Tool; here’s how:

  1. Go to Microsoft’s website.
  2. Search for Microsoft’s Windows 10 or 11 Media Creation Tool, and click the download button.
  3. Access the program as an administrator and log in to it.
  4. Comply with the installation instructions after opening the file you downloaded.
  5. A prompt will appear on the screen asking you for a PC upgrade or the Creation of installation media. Hit “Upgrade This PC Now.”
  6. Whether you wish to keep all your data or delete everything entirely, you can choose your desired option during installation. Choose and then hit “Install.”

Manual Update Using Microsoft Update Catalog

If you’re facing issues in the Windows Update update process, you can do it manually. We went to Microsoft’s Update Catalog site and downloaded the latest update available. Once the file was downloaded, we launched it on the system to begin installing the newer version of Windows 10.

Microsoft Update Catalog
Microsoft Update Catalog (Image By Tech4Gamers)

Disabling Pi-Hole

Unexpectedly, Pi-Hole or any other network-wide adblocker might also cause the Windows update error 0xc1900223 to appear. When starting the update, we temporarily disabled Pi-Hole, and the Windows updated successfully.

Here are the complete steps:

  1. Go to “Command Prompt” by typing “cmd” in the Windows search bar and always choose “Run As Administrator” because you will need administrator rights to perform this task.
  2. You will see a cmd box, type “pihole,” and hit Enter to launch the Pi-Hole tool.
  3. When the tool is launched, type “pihole disable” and hit “Enter” to make it inactive.
  4. Check to see if the error has been fixed by installing the update right away.
  5. Run this command: “pihole enable” in the cmd box if the update is successful.

Reset Windows

Resetting the Windows can be your way out of the error if nothing else seems to work. We went with a soft reset to prevent our files from getting deleted. However, you might have to do a hard reset if that doesn’t fix the error.

WARNING: Make sure to create a backup of your important files before you decide to remove everything from your PC.

Common Questions Answered

What Does Error 0xc1900223 Mean?

The error occurs if the PC cannot connect to the Microsoft Update servers. It may happen if you have manually or with a specialized program blocked Microsoft server addresses that could have also modified the Windows hosts file.

What Causes The Error 0xc1900223 To Appear?

Network problems, outdated DNS cache data, connection issues with the Microsoft update server, damaged system files, corrupted data in the catroot2, and SoftwareDistribution or the Windows update service are inactive.

How To Fix The Error 0xc1900223?

You can eliminate this error by resetting Windows, disabling Pi-Hole, refreshing Windows components, and replacing or renaming the host’s file and Software Distribution folder.

Was our article helpful? 👨‍💻

Thank you! Please share your positive feedback. 🔋

How could we improve this post? Please Help us. 😔

Related articles

PSU Voltage Ripple [Explained]

A PSU voltage ripple is the unwanted fluctuation in the DC voltage output of a power supply unit which means the output has an AC component.

PSU Rails Guide: Single Rail vs Multiple Rail

PSU rails are the pathways within the power supply that carries the specific voltages. The most common PSU rails are +12V, +5V, and +3.3V.

What Is A Modular PSU? [Pros & Cons]

A modular PSU is a PC power supply unit where some or all power cables are detachable, reducing the clutter.

What Is Cybenetics Certification In Power Supplies?

Cybenetics certification is a new set of standards for evaluating the efficiency of an AC-DC PSU while also considering noise levels.

Power Supply 80+ Certification [Explained]

80+ certification is a voluntary standard for PSUs, indicating their efficiency in converting AC power to DC power.

Similar Guides