Windows 10 Upgrade Error

Getting Error 0xC1900101 – 0x40017 while trying to upgrade windows 10/11? Several users report Feature updates to Windows 10 downloads 100% but when the system restarts for apply for the update the Windows 10 logo shows but no spinning icon appears for hours. When if force shut down my laptop and then turn it back on again I get this error message:

We couldn’t install Windows 10.
We’ve set your PC back to the way it was right before you started installing Windows 10.
0xC1900101 – 0x20017
The installation failed in the FIRST_BOOT phase with an error during SYSPREP operation

Couldn’t Update to Windows 10
Sorry, we couldn’t complete the update to Windows 10. We’ve restored your previous version of Windows to this PC.
0xC1900101 – 0x20017

Windows 10 error 0XC1900101 – 0x20017

Typically 0xC1900101” is a device driver related problem, cause of different reasons, including not enough storage space, incompatible driver, security software, connected peripherals, system file corruption and more. Here we have different solutions apply to get rid of this Windows 10 failed to install 0xc1900101 – 0x20017.

Note: Solutions below also applicable to fix similar errors (0xC1900101 – 0x20004, 0xC1900101 – 0x2000c, 0xC1900101 – 0x20017, 0xC1900101 – 0x30018, 0xC1900101 – 0x3000D, 0xC1900101 – 0x4000D, 0xC1900101 – 0x40017).

  • First of all remove all external devices, connected to your PC include removable HDD, printer, scanner, audio jack and more.
  • Temporarily uninstall security software (antivirus) if installed.
  • Also perform Windows 10 clean boot, following the steps from here, and try upgrade Windows 10. This will help to determine if any startup service conflict causing this error.
  • Make sure you have enough storage space to download and install Windows 10 update files from the Microsoft server. Where an upgrade requires minimum 16GB of free space to install the 32-bit version of Windows 10 or 20GB for a 64-bit version.

Reset Windows Update components

If you are having couldn’t install Windows 10 error 0xC1900101-0x20017 while Upgrade To Windows 10. Then Reset Windows update components, ( Which clear update storage folder (SoftwareDistribution folder) cache / Corrupted files ) is the most applicable solution to fix the error. You can either Reset Windows update components using Windows Update Troubleshooting tool and let Windows to do itself for you. Or you can manually reset Windows update components by following the steps.

Windows Update Troubleshooter

  • Press Windows + I to open the settings app,
  • Click Update & security then troubleshoot,
  • On the middle panel, select Windows update and click run the troubleshooter.
  • This will detect problems prevent Windows upgrades, restart Windows update and its related services, and clear the update cache.
  • Restart Windows after complete the troubleshooting process and again check if there is no more error 0xc1900101 0x20017 while upgrading Windows 10.

Run Windows update troubleshooter

Manually Reset the Software Distribution Folder

The Software Distribution folder contains many important update related files. If they become corrupted, users face many problems while Installing updates/upgrades to Windows 10.

Search for the command prompt, right-click and select run as administrator,

now perform the command below to stop Windows update and its related services.

  • net stop wuauserv,
  • net stop bits, 
  • net stop cryptSvc
  • net stop msiserver.

Now type ren C:\Windows\SoftwareDistribution SoftwareDistribution.old command to rename SoftwareDistribution folder.

Again Type ren C:\Windows\System32\catroot2 Catroot2.old command to rename Catroot2 Folder.

Command Reset Software Distribution Folder

Again perform the command below to restart BITS, Cryptographic, MSI Installer, and the Windows Update Services.

  • net start msiserver, 
  • net start cryptSvc, 
  • net start bits
  • net start wuauserv.

That’s all now Restart Windows to take effect the changes, Then after login to Windows and Try upgrading to Windows 10.

Update / Reinstall outdated drivers

  • Press Windows Key + R then type devmgmt.msc and hit Enter to open Device Manager.
  • Here check whether any devices have a yellow exclamation point alongside them.
  • If you find an exclamation point, right-click on the device in question and choose Update Driver Software from the context menu.
  • Otherwise, right-click on such device(s) and select Uninstall.
  • Restart your PC to apply changes and Windows will automatically install the default drivers for the above device.

Repair corrupted system files

Corrupted, missing systems also may cause a different problem, including Windows 10 preventing to upgrade the latest version. Run DISM restore health command with the system file checker utility that probably restores missing files with the correct one and help to get rid of this issue.

  • Search for the command prompt, right-click and select run as administrator,
  • First, run DISM restore health command dism.exe /Online /Cleanup-image /Restorehealth
  • This will  scan, check, and restore the health of a specific Windows target image
  • After 100% complete scanning process Type the Command sfc /scannow to Run The System file checker.
  • This will scan your system for all its important system files, and replace where necessary.
  • Wait until Verification 100 % complete.
  • After this Restart Windows and again Try to install / Upgrade Windows 10.

DISM restore health and sfc utility command

Repair hard drive errors

Also If there are errors / Bad Sectors in the system drive, you may not be able to upgrade to a new version of Windows 10. You can use the chkdsk command line tool, with some extra parameters to check and fix disk drive Errors.

  • Again open Command Prompt as administrator.
  • Type the following command and press Enter:

chkdsk C: /f /r

Command Explained: The Command chkdsk is for Check Hard disk for Errors. /F Fixes errors on the disk and /R Locates bad sectors and recovers readable information.

Run Check disk on Windows 10

  • Press y to confirm to run the check disk utility on next start,
  • Close the command prompt and restart windows.
  • Let run the check disk utility until 100% complete and restart Windows.
  • Again try upgrade Windows 10 1809 hope this time you get success.

Use Windows Media Creation Tool

If After applies all the above solutions still experience 0xC1900101 error while installing or upgrade to Windows 10. Then you can complete the upgrade process using the official Windows 10 media creation Tool.

Did these solutions help to fix Windows 10 upgrade error 0xC1900101-0x20017, We couldn’t install Windows 10 error 0xC1900101-0x20017 etc. Let us know on the comments below. Also, Read

Steve Ballmer
With over 7 years of experience in the IT industry, I have experience in IT support, helpdesk, sysadmin, network admin, and cloud computing. Certified in Microsoft Technologies (MCTS and MCSA) and also Cisco Certified Professional in Routing and Switching.


  1. Re failure code 0xC1900101 – 0x20017 during windows upgrade to 10:
    I found the solution on mine after over 10 attempts and I think everything advised above.
    I have an HP Elite 180t intel i7 produced in 2010
    Motherboard made by Pegatron
    after the tenth failed attempt I opened Bios setup and found the sata controller option was set to Raid. I do not use raid, but I do have multiple sata hdds installed. ***I DID disconnect all but drive 0 (C:) after the first failed attempt, along with ALL peripheral devices such as speakers, cameras, usb multi ports, hubs etc)
    I changed my sata controller option to AHCI. This change was the only alteration made since the previous failure, and I was then able to install windows 10.
    I’m hoping my experience may benefit others.
    Incidentally, I had cloned my original 750gb sata C drive to a new 1tb sata drive using a sabrent hdd cloning dock, keeping my unmodified original drive as a backup incase of catastrophic failure.