Main menu


Fix Error 0xC19001-0x40021 While Upgrading to Windows 11

Fix Error 0xC19001-0x40021 While Upgrading to Windows 11Some (Windows) users are unable to upgrade to (Windows 11) no matter which path they take, trying to use the Update Assistant or installing an update (Windows 11) results in the same error code (0xC19001-0x40021) with the installation failing, after investigating this issue, Strictly speaking, we have explored some general scenarios that may be responsible for triggering this error in the middle of upgrading to (Windows 11), in this article we will list the possible causes of this error and ways to fix it.

Reasons why error code 0xC19001-0x40021 occurs during the upgrade

  • PC is not compatible with (Windows 11).
  • General (WU) problem.
  • A bug in (Windows Update).
  • System files are corrupted.
  • The version (Windows 11 Insider) is not compatible with the upgrade.
  • Driver conflict (ASUS Xonar).
  • Interference is caused by a module (DRM).
  • Third-party antivirus software interference.
  • Connect a secondary (SSD) drive.

Methods to fix error 0xC19001-0x40021 1

Check if the device is compatible with Windows 11

Since partitioning is such a big problem in Windows 11 right now, the first thing you need to check is whether or not your system is really capable of (Windows 11), Microsoft surprised a lot of people by making ( TPM 2.0 and Secure Boot) are a requirement for the operating system (Windows 11), along with some other hardware requirements that are easy to meet.

Fix Error 0xC19001-0x40021 While Upgrading to Windows 11

Fortunately, if you are not sure if your computer configuration is compatible with (Windows 11) or not, you can run the (Microsoft) application called (PC Health Check) to see if your computer meets the minimum requirements To run (Windows 11), if you haven't done so yet, follow the instructions below to start this troubleshooting guide by checking if your PC meets the minimum requirements (Windows 11):

  • Open your default browser and download the latest version of the (PC Health Check) app.
  • Once the installer has been successfully downloaded, double-click on it and presses Yes when the User Account Control prompt asks you to grant the required administrator access.
  • On the initial installation screen, follow the onscreen instructions and click Install to install the utility on your computer.
  • After the installation is complete, check the box associated with (Open Windows PC Health Check) and click (Finish) to run it.
  • Once in the PC Health Check app, click on the Check Now button at the top of the screen.
  • Wait for the results to be generated, then click View All Results from the pop-up menu that just appeared.
  • Next, check the results, if the popup says “This computer meets the requirements (Windows 11)” at the top, you are good to go.

After completing this tool and knowing whether or not your computer is compatible with (Windows 11), you can uninstall PC Health Checker via Program and Features, once you have eliminated possible incompatibility between software or hardware from the list of causes, go to The following method is below.

Run the Windows Update troubleshooter

Now that you've made sure that your computer is fully compatible with Windows 11, the next thing you need to do is to make sure that you're not actually dealing with a corrupt Windows Update component that might prevent the upgrade to Windows 11 from happening. Since there are many possible reasons that might hinder Windows Update functionality, the best course of action is to run the Windows Update troubleshooter and see if it detects any issues that might affect the installation of a new pending update that upgrades your operating system to Windows 11), Follow the instructions below to run the Windows Update troubleshooter:

  • Press (Windows + R) to open a (Run) dialog, then type (ms-settings: troubleshoot) into the text box, then press (Enter) to open the Troubleshooting tab in the Settings app.
  • Once you make your way inside the Troubleshooting tab, scroll down to the Getting Started tab, and click (Windows Update) from the list of available options.
  • Then, click the Run the troubleshooter button from the context menu that just appeared.
  • Once you are on the first screen of the Windows Update troubleshooter, wait for the initial scan to complete.
  • If a problem is detected that can be fixed by one of the built-in repair strategies, you will be given the option to click Apply this fix.
  • After successfully applying the recommended fix, restart your computer and try upgrading to (Windows 11) again.

Reset every component of WU

Even if the Windows Update troubleshooter can't find an underlying problem with a component (Windows Update), it doesn't mean there isn't a corruption issue affecting that component, which is why we recommend taking the time to reset each subcomponent for WU and every associated dependency as well as scanning the Catroot 2 and SoftwareDistribution folders to ensure you're not actually dealing with a corruption issue.

To do this, you will need to run a series of commands in a specific order. These commands will ensure that each service in question is stopped first before forcing (WU) to ignore the current folders where the update files are stored. Follow the guide below for step-by-step instructions on how to do this:

  • Open a Run dialog by pressing (Windows + R), once in the Run box, type (cmd) inside the text box, then press (Ctrl + Shift + Enter) to open an elevated Command Prompt.
  • Once prompted through the User Account Control window, click Yes to grant administrator access.
  • Once in the elevated CMD prompt, type the following commands in order and press Enter after each command to effectively reset the entire WU component:

  • net stop wuauserv
  • net stop cryptSvc
  • net stop bits
  • net stop msiserver
  • ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
  • ren C:\Windows\System32\catroot2 catroot2.old 
  • net start wuauserv 
  • net start cryptSvc 
  • net start bits 
  • net start msiserver

After running each command successfully, close the elevated Command Prompt and restart your computer before trying to upgrade to (Windows 11) again.

Run SFC, DISM, and CHKDSK scans

If you have already tried to reset a component (Windows Update) and you are still dealing with the same type of error, you should at least assume that you may be dealing with some kind of system file corruption problem, in this case, you should make use of every utility available at your disposal to try to Replace corrupt files that prevent upgrading to (Windows 11) and cause an error (0xC19001-0x40021).

Our recommendation is to run a System File Checker (SFC) scan, Service Image Deployment, and Management (DISM), and Check Disk (CHDSK), scanning the utility in quick succession to replace corrupted system files with other unused storage sectors.