Fix: Windows 10 upgrade error 0xc0000017

By: Ivan Jenic
6 minute read

For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download this PC Repair Tool with Patended Technologies
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).

While it’s an obvious step for the majority of users to upgrade to the latest OS version available, some of them are still not keen to do so. Reasons? Well, many of them are quite satisfied with what Windows 7 has to offer. Others are aware of Windows 10’s downsides, which are the deal breaker in some cases.

But, let’s say you finally decided to upgrade to Windows 10. And, suddenly, as the blast from the sky, an error occurs. For example, the error with the code 0xc0000017. This is a usual error that many users run into while upgrading to Windows 10. For that purpose, we enlisted some solutions that should help you resolve the issue at hand.

If you’ve had a hard time with the upgrading, make sure to check the steps below. But before you do, make sure your computer is compatible with the latest major update for Windows 10, because some users have already reported some incompatibility problems with older hardware. 

How to resolve the Windows 10 upgrade error 0xc0000017

Table of contents:

  1. Run DISM
  2. Delete the Boot Configuration bad memory
  3. Run the Update troubleshooter
  4. Run the SFC scan
  5. Reset Windows Update components
  6. Make sure the Windows Update service is running
  7. Make sure the BITS service is running
  8. Change DNS settings
  9. Perform a clean installation

Fix – Upgrade error 0xc0000017 in Windows 10

Solution 1 – Run DISM

The first thing you can do is to run the Deployment Image Servicing and Management tool. Namely, this advanced troubleshooting tool is basically a built-in command in the elevated command prompt. With it, you can scan and repair corrupted or incomplete system files. In addition, you can use DISM in various scenarios and various ways, including the usage of the installation media as a source.

We’ll walk you through both standard and the procedure that utilizes the installation media below:

  • Standard way
  1. Right-click Start and open Command Prompt (Admin).
  2. Paste the following command and press Enter:
      • DISM /Online /Cleanup-Image /RestoreHealth
  3. Wait until the scan is finished.
  4. Restart your computer and try updating again.
  • With the Windows installation media
  1. Insert your Windows installation media.
  2. Right-click the Start menu and, from the menu, choose the Command Prompt (Admin).
  3. In the command line, type the following commands and press Enter after each:
    • dism /online /cleanup-image /scanhealth
    • dism /online /cleanup-image /restorehealth
  4. Now, type the following command and press Enter:
    • DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess
  5. Make sure to change an X value with the letter of the mounted drive with Windows 10 installation.
  6. After the procedure is finished, restart your computer.

Solution 2 – Delete the Boot Configuration bad memory

However, there’s a probability that an unusual culprit is behind this. Namely, a bad memory list that can be deleted is preventing you from upgrading. Luckily, Boot Configuration Data can be cleared of those bad sectors so you can easily get back in the saddle. Follow the instructions below to clear bad memory sectors and resolve the issue:

  1. Right-click the Start menu and run Command Prompt (Admin).
  2. In the command line, type the following commands and press Enter after each:
    • bcdedit /enum all

      Mouse Information Technology Computer Mouse

    • bcdedit /deletevalue {badmemory} badmemorylist
  3. Restart your PC and give upgrading another try.

If this solution fell short, you’ll have (in our opinion) only one solution to turn to. And that’s a clean install with an external installation media.

Solution 3 – Run the Update troubleshooter

Fortunately, Windows 10 comes with various troubleshooters that can fix common problems on your PC with ease. There’s even a special Windows Update troubleshooter that you can use, and in order to run it, you need to do the following:

  1. Go to Settings.
  2. Head over to Updates & Security Troubleshoot. 
  3. Select Windows Update, and go to Run the Troubleshooter. 
  4. Follow further on-screen instructions and let the process finish.
  5. Restart your computer.

Solution 4 – Run the SFC scan

If you keep getting update error 0xc0000017 on your PC, the issue might be your installation. Your Windows installation might be damaged or corrupted, and that can lead to this error. However, you can fix the problem simply by performing an SFC scan. To do that, just follow these steps:

  1. Right-click on the Start Menu button, and open Command Prompt (Admin).
  2. Enter the following line and press Enter: sfc/scannow
  3. Wait until the process is done (it may take a while).
  4. If the solution is found, it will automatically be applied.
  5. Now, close the Command Prompt and restart your computer.

Solution 5 – Reset Windows Update components

If none of the troubleshooting tools managed to resolve the problem, let’s try with resetting crucial update components. Here’s what you need to do:

  1. Start Command Prompt as administrator.
  2. When Command Prompt starts, run the following commands:
  • net stop wuauserv
  • net stop cryptSvc
  • net stop msiserver
  • ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
  • ren C:\Windows\System32\catroot2 Catroot2.old
  • net start wuauserv
  • net start cryptSvc
  • net start msiserver

Solution 6 – Make sure the Windows Update service is running

The most crucial service for receiving updates in Windows 10 is the Windows Update service. If this service is not running properly, well, you won’t be able to get any updates. So, make sure it runs by doing the following:

  1. Go to Search, type services.msc, and open Services.
  2. Find the Windows Update service. Right-click and open Properties.
  3. On the General tab, find Startup type and choose Automatic.
  4. If the service is not running, right-click and choose Start.
  5. Confirm selection and close window.

Solution 7 – Make sure the BITS service is running

Background Intelligent Transfer Service (BITS) is another essential service for receiving Windows updates. So, you might want to check that one as well:

  1. Press Windows key + R. In search line type services.mscand press Enter.
  2. Look for Background Intelligent Transfer Service (BITS) and double-click it to open its properties.
  3. If the service isn’t running, click the Start button.
  4. Choose Recovery tab and make sure that First failure and Second failure are set to Restart service.
  5. Confirm selection and check for updates.

Solution 8 – Change DNS settings

If none of the previous workarounds resolve the problem, we’ll try and change the DNS settings. Here’s how to do that:

  1. Go to Windows Search, type control panel, and open Control Panel.
  2. Go to Network and Sharing Center, and click on Change adapter settings from the left pane.
  3. Choose the network you’re currently using, right-click it, and choose Properties.
  4. Scroll down to Internet protocol version 4 (TCP/IPv4), and choose Properties.
  5. Now, choose Use the following DNS Server addresses
  6. Enter the following values:  DNS Server – 8.8.8.8 and Alternate DNS Server – 8.8.4.4
  7. Save changes, and restart your computer

Solution 9 – Perform a clean installation

At the end, if you’re still unable to resolve the issue at hand and Windows 10 just refuses to comply, you should take a different approach. Namely, if you’re unable to upgrade your OS through the built-in procedure, it’s time to turn to an old school method. Just download the Media Creation Tool, create a bootable installation media and install the system from a scratch. That should be enough to relieve you of the problems.

If you’re unsure how to do it, you can find the detailed explanation in this article. Just don’t forget to backup your data before the procedure starts.

That should be enough to get you out of problems. In case you have anything to add or some questions to ask, feel free to do so in the comments section below.

Editor’s Note: This post was originally published in May 2017 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.

RELATED STORIES YOU NEED TO CHECK OUT:

Next up

2018 List: Best free Android emulators for Windows 10/8.1/7

By: Ivan Jenic
7 minute read

What Android emulator is the best for my Windows PC? Bluestacks MeMu Nox Remix OS Player Droid4X AMIDuOS Windroy Genymotion Xamarin Android Player Andy We’re […]

Continue Reading

New Windows 10 security flaw gives system privileges to hackers

By: Daniel Segun
2 minute read

Recently, a security researcher @SandboxEscaper disclosed in a tweet which has been deleted (the account also has been removed), that the task scheduler is vulnerable […]

Continue Reading

Microsoft devices could support Ultrafast wireless charging in the future

By: Daniel Segun
2 minute read

Microsoft may be developing a new wireless charging system called “Ultrafast’” for its devices, if a newly discovered patent gets approved for mass production. This […]

Continue Reading

Discussions