FacebookTwitterLinkedIn

Fix Windows Update Error 0xc19001e2

7 Ways to Fix Windows Update Error 0xC19001e2

If you’re getting error 0xC19001e2 when trying to update Windows 10, then it may be because a pre-install script failed to execute. Luckily, you can fix this error with relative ease using one or several of our proposed fixes. Continue reading the article to find out more.

What is Windows Update Error 0xC19001e2?

Microsoft frequently releases various updates for Windows 10 and other Microsoft products to improve performance and maintain security. Unfortunately, sometimes updates fail to install and show you error codes such as 0xC19001e2.

Error 0xC19001e2 is also known as error MOSETUP_E_PREINSTALL_SCRIPT_FAILED, and it’s an error code that occurs when a pre-install script fails to execute or returns an error. The pre-install script may not run due to a Windows Update glitch or corrupted system files.

Fix Windows Update Error 0xc19001e2

In the past, many users got error 0xC19001e2 when they attempted to install Feature Updates for Windows 10. Not so long ago, many users got this error when trying to update Windows 10 to version 1903 and later version 1909. So many got messages saying “Feature Update to Windows 10, Version 1903 – Error 0xC19001e2” and "There was a problem running pre-install.cmd scripts.''

In addition, many people also got this error when trying to upgrade to Windows 10 from the previous Windows 7 and Windows 8.1 versions.

Users still experience issues with the Windows Update service and get error 0xC19001e2. Users often get this error when installing Windows 10 Insider Preview updates. Sometimes the update installation can reach 100%, then stall and result in error 0xC19001e2

Windows users recently started getting error 0xC19001e2 when updating Windows 10 from version 2004 to version 20H2 (October 2020 update.) So, many people got a message saying, “Feature Update to Windows 10, Version 20H2 – Error 0xc19001e2.”

How to Fix error 0xC19001e2?

When error code 0xC19001e2 is shown, it’s also accompanied by the “There were problems installing some updates, but we’ll try again later.” However, there’s no guarantee that Windows will be able to update later. Update installation may still fail, and you’ll get error 0xC19001e2 over and over again.

So What can be done about it? Like most Windows Update errors, the good news is that it can be fixed relatively easily, allowing you to use Windows 10 that are up-to-date, smooth, fast, and secure. We gathered the most effective methods for fixing this particular error below. Try them to fix error 0xC19001e2.

Video Guide on How to Fix Windows Update Error 0xc19001e2

Table of Contents:

Solution 1. Run Windows Update Troubleshooter

Right-click Start and click Settings

1. Right-click the Start Menu button and click Settings.

Click Update & Security

2. Go to Update & Security.

Select Troubleshoot

3. Select Troubleshoot in the left pane.

Click Additional troubleshooters

4. Then, click Additional troubleshooters.

Select Windows Update and click Run the troubleshooter

5. Choose Windows Update and then click Run the troubleshooter.

6. The troubleshooter will identify the issues and apply fixes automatically.

[Back to Table of Contents]

Solution 2. Perform Disk Cleanup

1. Hold down Windows+R keys to open Run.

Type in cleanmgr in Run and click OK

2. In the Run dialog box, type in cleanmgr and click OK.

Click Clean up system files

3. Click Clean Up System Files.

Select the locatios of files to be deleted and click OK

4. Mark the checkboxes of the locations you want to be cleaned and click OK.

Click Delete files

5. Click Delete Files.

6. Wait for the unnecessary files to be deleted.

[Back to Table of Contents]

Solution 3. Clear Windows Update Cache Folder

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and hold down Ctrl+Shift+Enter keys to open elevated Command Prompt

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the elevated Command Prompt.

Run the command to clear the SoftwareDistribution folder

3. In the Command Prompt window, type in net stop wuauserv and press the Enter key.

4. Then, type in rd /s /q %systemroot%\SoftwareDistribution and press Enter.

5. Type in net start wuauserv and press Enter.

6. Close the Command Prompt.

[Back to Table of Contents]

Solution 4. Run the Deployment Imaging and Servicing Management (DISM) Scan

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and hold down Ctrl+Shift+Enter keys to open elevated Command Prompt

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the elevated Command Prompt.

Run DISM ScanHealth and RestoreHealth commands

3. In the Command Prompt window, type in DISM /Online /Cleanup-Image /ScanHealth and press the Enter key.

4. Then, type in DISM /Online /Cleanup-Image /RestoreHealth and press Enter.

5. Close the Command Prompt and restart your PC.

[Back to Table of Contents]

Solution 5. Run the System File Checker (SFC) Scan

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and hold down Ctrl+Shift+Enter keys to open elevated Command Prompt

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the elevated Command Prompt.

Run the SFC /ScanNow command

3. In the Command Prompt window, type in SFC /ScanNow and press the Enter key.

4. Then, close the Command Prompt and restart your PC.

[Back to Table of Contents]

Solution 6. Reset Windows Update Components

1. Hold down Windows+R keys to open Run.

Type in CMD in Run and hold down Ctrl+Shift+Enter keys to open elevated Command Prompt

2. In the Run dialog box, type in CMD and hold down Ctrl+Shift+Enter keys to open the elevated Command Prompt.

Stop Windows Update services and rename SoftwareDistribution and CatRoot2 folders

3. In the Command Prompt window, type in the commands below, and press the Enter key after entering each one:

  • net stop wuauserv
  • net stop cryptSvc
  • net stop bits
  • net stop msiserver

4. Then, type in ren C:\Windows\SoftwareDistribution SoftwareDistribution.old and press Enter.

5. Type in ren C:\Windows\System32\catroot2 Catroot2.old and press Enter.

Restart Windows Update services

6. Type in the commands listed below, and press Enter after entering each one:

  • net start wuauserv
  • net start cryptSvc
  • net start bits
  • net start msiserver

7. Close the Command Prompt

[Back to Table of Contents]

Solution 7. Update Windows 10 Using Media Creation Tool

Go to the Media Creation Tool download page

1. Open your web browser and go to the Media Creation Tool download page.

Click Download tool now

2. Click the Download tool now button to get the Media Creation Tool.

3. Once downloaded, run the Media Creation Tool (MediaCreationTool21H1.exe) executable file.

Accept the Media Creation Tool license agreement

4. Accept the license agreement.

Click Upgrade this PC now

5. Select Upgrade this PC now and click Next.

Accpet the Windows 10 license agreement

6. Then, Accept the Windows 10 license agreement.

Click Change what to keep

7. You may keep your personal files and apps, but if you want a clean Windows 10 installation, click the Change what to keep button to customize the installation settings.

Customize the instalaltion settings and click Next

8. Click Next.

Click Install

9. Click Install, and the setup will begin upgrading Windows 10.

[Back to Top]

Click to post a comment

About the author:

Tomas Meskauskas

I am passionate about computer security and technology. I have an experience of 10 years working in various companies related to computer technical issue solving and Internet security. I have been working as an editor for pcrisk.com since 2010. Follow me on Twitter to stay informed about the latest tech news or online security threats. Contact Tomas Meskauskas.

Our guides are free. However, if you want to support us you can send us a donation.

About PCrisk

PCrisk logo

PCrisk is a cyber security portal, informing Internet users about the latest digital threats. Our content is provided by security experts and professional malware researchers. Read more about us.

Malware activity

Global malware activity level today:

Medium threat activity

Increased attack rate of infections detected within the last 24 hours.