Repair Corrupt Windows Image – Error 0x800f0906

Few days back, we posted about the repairing of corrupted Windows Image using Deployment Imaging and Servicing Management (DISM) component repair tool. Today, when I was trying the method of our posted article on a computer, I received an error and thus was unable to completely repair a Windows Image.

Error 0x800f0906

Win error 0x800f0906  Repair Corrupt Windows Image   Error 0x800f0906

Here are the details of complete scenario which I faced after running the Windows Component tool:

DISM /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 6.2.9200.16384

Image Version: 6.2.9200.16384

[==========================100.0%==========================]

Error: 0x800f0906

The source files could not be downloaded.
Use the “source” option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

Repair Corrupt Windows Image

After doing some research about this error, I found that the following solution may work in this situation. The fix to the error goes like this:

1. Open administrative Command Prompt.

2. Copy the following code and right click paste it into Command Prompt:

net stop wuauserv

cd %systemroot%\SoftwareDistribution

ren Download Download.old

net start wuauserv

net stop bits

net start bits

net stop cryptsvc

cd %systemroot%\system32

ren catroot2 catroot2old

net start cryptsvc

Fix Error 0x800f0906 DISM Repair Corrupt Windows Image   Error 0x800f0906

3. That’s it! Close the Command Prompt. Reboot and try to run the DISM /Online /Cleanup-Image /RestoreHealth again and this time you won’t receive the error code.

Please follow the steps and if the issue persists, revert back and we will be glad to help you!

Posted by on , in Category Windows with Tags
An Electrical Engineer by profession, Kapil is a Microsoft MVP in Windows - Consumer and a Microsoft Content Creator. He recommends that you create a system restore point first before tweaking the registry.
  • Nikolaus_1

    Did what you have suggested and error 6801 popped up. Any other ideas?

  • Mike Maisenbacher

    I was happy to find this information. I have been trying to correct my windows 8 image for almost three weeks and have been unsuccessful. This Information is exactly what I have and been looking for. I performed your steps and I still get the same error message. “The source files could not be downloaded. use source option to specify the location of the files that are required to restore the feature….”

    So, I still get the same error 0x800F0906. I’m to the point that i’m going to restore my system, but i do not want to go down that road. I don’t know what files or directories it needs and where to get them from. I don’t know how to tell it the information even if i did know.

    My scf/scannow runs successfully and seems to be doing good and that is where i started from. it has been a long journey. Please give me a path to take to restore my windows 8. Your comments would be greatly appreciate. Thank you for your time in advance. MM

  • http://www.kapilarya.com/ Kapil Arya

    ^^ You can restore your Windows 8 installation using the ways mentioned here:

    http://www.thewindowsclub.com/repair-windows-8

    http://www.thewindowsclub.com/automatic-repair-on-windows-8

  • vardges

    after running DISM /Online /Cleanup-Image /RestoreHealth it always gets stuck at 20%, what to do ?

  • Ryan11433

    if you were using windows 2012 you need to gather the source from c:windowswinsxs to a folder even maybe to another drive for safe keeping (just in case if you need it) and the command to include that is “Dism /Online /Cleanup-Image /RestoreHealth /Source:(path to source) /LimitAccess” I have spent two to three weeks to figure this out as I was having outages going on with my connections before I got my cable modem replaced yesterday and to recover the missing files as it won’t get the files from windows update because it does not have it? That is why you need to include /LimitAccess

  • http://www.kapilarya.com/ Kapil Arya

    ^^ Thanks for inputs, would be helpful for others :)

  • Sackmeister

    I was having huge issues installing Windows 8.1 update, this resolved my issues. Thanks!!!!!

  • http://www.kapilarya.com/ Kapil Arya

    ^^ Glad we could help :)

  • http://thetop5best.wordpress.com Lester John Antiller

    Same result. Error Code 0x800f0906

  • mtelesha

    Same issue as before. Thanks for the post though. This is one of the many reasons why I perfer Linux :) I would be able to see exactly what was happening. I feel blind even reading the log files.

  • tombster

    Great suggestion. After saving the winsxs folder from a win8.1 64bit system that ran dism okay to my portable HD I used it as the source to run “Dism /Online /Cleanup-Image /RestoreHealth /Source:(path to source) /LimitAccess” on my problem PC (also a
    win8.1 64bit system). The seven bad files were replaced and now I can run “Dism /Online /Cleanup-Image /RestoreHealth” without getting the Error 0x800f0906. Thanks Ryan11433.

  • seth

    Thank you to all who have helped, but i’m still having a problem! I tried so many different methods and finally this WinSxs. I grabbed it from my win 8.1 laptop and used dism /online /cleanup-image /restorehealth /source:H:WinSxs /limitaccess. I figured out of 79,147 files in that folder one of them had to do the trick, I was wrong. Now it’s giving me the error code 0x800f081f with “The source file could not be found use the /source option” Which I clearly already used. My computer was turned off (working fine) and turned back on and I’ve been in the Explorer Death Loop ever since. I’m off to see how to fix this error code but any help will be greatly appreciated. Background Info: My sfc /scannow comes up perfectly clean. Both my dism (blah) /checkhealth and /scanhealth both return the same information which is “The component store is repairable. The operation completed succesfully.” I also performed the /analyzecomponentstore and it returns “Windows Explorer Reported Size of Component Store 8.72GB/Actual Size of Component Store 8.37GB” It does NOT recommend a Component Store cleanup at this time. “0 Reclaimable Packages” – I ran this once before and it did recommend I clean it up because there was a much larger discrepancy; so I did. WELL NEVERMIND. GOOD NEWS IT LITERALLY JUST STOPPED FLASHING ON MY DESKTOP!! I THINK IT’S FIXED!! Maybe a delayed reaction for some reason. Thanks for all the help!

  • seth

    Now it’s moving faster than ever. I should do all of that every month. This thing is better than brand new.

  • BigJim

    I have tried replicating these steps and I am to the point of restoring my system from an earlier image. Microsoft needs to do a lot of work on the clarity of instructions for using DISM and troubleshooting problems with it.

  • Tingster

    Greatly appreciated! Followed every steps here religiously: pasted the code, rebooted (already sensed a difference after this as Group Client Policy Service Error message did not pop up), then ran DISM /Online /Cleanup-Image /RestoreHealth again. Voila! Everything is back to good! Thanks again.

  • Bunari Kallash

    i cant not even believe that did work omg i’m been trying to install this for one month and nothing work that a triad on the other website told but this did work thanks soooooo much <3<3<3

  • http://www.kapilarya.com/ Kapil Arya

    ^^ Glad it helped :)

  • Recent Comments