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

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


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

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


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

  • Kapil Arya

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

  • 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

  • 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!!!!!

  • Kapil Arya

    ^^ Glad we could help :)

  • 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

  • Kapil Arya

    ^^ Glad it helped :)

  • scoreguy

    You are terrific! I just spent 3 weeks trying to solve a Windows Update problem with KB 2962409 and this error. Your instructions solved it in less than a minute of my time. Thank you.

  • Jus

    I did the above but after i did ren Download Download.old its said either the file is duplicated or not there so what do i do now?

  • Carole Frerichs Farber

    I orginially found this after determinin my dism file was corupt..after i couldnt get My windows 8.1 64 bit store app to open I did what you said restarted and redid the command prompt and it still isnt working .this is what i get

    Microsoft Windows [Version 6.3.9600]

    (c) 2013 Microsoft Corporation. All rights reserved.

    C:WINDOWSsystem32>DISM /Online /Cleanup-Image /RestoreHealth

    Deployment Image Servicing and Management tool

    Version: 6.3.9600.17031

    Image Version: 6.3.9600.17031

    Error: 87

    The cleanup-image option is unknown.

    For more information, refer to the help by running DISM.exe /?.

    The DISM log file can be found at C:WINDOWSLogsDISMdism.log


    i have tried to run the DISMdism.log and it cant open it or I dont know how to open it
    this is a dell inspiron 15 3000 series ..Help please if you can ..or do i just need to do a system restore,,,, i will need to do a complete back up first.this is a new computer for me and havent done it yet..thanks for any more info you can give me

  • Kapil Arya

    ^^ You can take a backup on USB or DVD and do a System Restore, see if that helps.

  • aorghzkd

    I thought so too at first, just wait longer. It will progress.

  • Daniel

    This didn’t do anything. How do you revert it back?

  • techymalaga

    hey first happy new year.. and second last your knowledge are awesome it did fix it thank you so much…I did not a system restore but it did fix it…

  • techymalaga

    it was just my common sense and took a chance error 87 win 8 thanks

  • techymalaga

    my got stock before the last one so I took the battery off no way to re-started it then restore again and it did work great

  • techymalaga

    so you are saying its ok to go 8.1?

  • techymalaga

    meaning original state? or before corrupted?
    system restore point

  • gschlact

    SOLVED: Windows Update hangs

    There are multiple threads about corruption or corrupted files that prevent the auto windows update files from downloading and completing installation. I tried it all DISM commands, SFC, the Troubleshooting tool (UPdate reset), etc.

    THIS was the only thing that worked. I was ready to do a reinstall of windows 8/8.1. This link will let you do a download to USB or FLash, and do a totally non-destructive repair of your 8.1 windows install. This Link gets your the media for reinstalling / re- booting from usb or flash drive to repair your intallation. Maintains and Keeps all your files AND installed applications.
    You must choose the right version for your PC.

    THIS Link has all the Directions to let you proceed. Includes temporary Key Codes for Windows to allow it to proceed. (these will let it install, but will not activate (which would use your key-code that you can use a tool to find).

    Best of luck.

    gschlact (as of January 2015)

  • Recent Comments