How to Repair Windows 10 Issues (Windows Update, Component Store Corruption, etc.)

Newer versions of Windows have new methods to repair Windows issues/corruption/etc. and these steps could possibly save you from a re-install. Starting in Windows 8, Windows 8.1, Windows 10, Windows 2012 R2 and above include the ability to scan the system for corruption via two different methods. Before running any of the below commands you must open either a command prompt or powershell window with Administrative Privileges. On Windows 10 you hit the Windows key and R, to launch the run window. In here you can type cmd (it will then resolve to command prompt, simply right click on it and select run as Administrator”). After doing this you can execute any of the following below.

  1. “sfc /scannow”

    (scans the system integrity of shared libraries installed and that should be in place, and attempts to make repairs if possible).

  2. “dism /online /cleanup-image /restorehealth”

    DISM is another tool that can be used to add/remove windows features from the command prompt, etc. Once of DISM’s more powerful features is it’s ability to repair a Windows installation and various corrupt files using source media. For example on a Windows 10 install if you are experiencing issues with running “dism /online /cleanup-image /restorehealth” you can copy the install.wim from the Windows 10 ISO you installed with to your hard drive, then run DISM using only that image as source to repair your system.

  3. “DISM /Online /Cleanup-Image /RestoreHealth /source:wim:C:\install.wim:1 /limitaccess”

    Example #3 above works the same as the command in #2, however, instead of using Windows Update as it’s source, it leverages the original install.wim (you copied over from your Windows install media, from the \sources folder) or image that the system was installed with. The “install.wim” is located on the original Windows ISO under the \sources\ folder. On a side note, the “/limitaccess” flag prevents DISM from contacting windows update, and forces it to only use the local install image.

  4. sfc /scannow

    Never hurts to run sfc /scannow again, and reboot after repairing various errors/issues.

  5. chkdsk C: /f

    (run as administrator is also a good tool and thing to do periodically, if you suspect file corruption).

  6. Supplemental Things to Try

    (run as administrator is also a good tool and thing to do periodically, if you suspect file corruption).

  7. 1. Mount the .ISO file by double clicking on it.

    2. Open ‘Windows Powershell’ or ‘Command Prompt’ with Admin privileges (right click -> Run as Administrator)

    3. Let’s check the System Health first, by running these commands:

    3.1 dism /online /cleanup-image /scanhealth

    3.2 dism /online /cleanup-image /checkhealth

    3.3 dism /online /cleanup-image /restorehealth

    4. I’m sure that 3.3 will give you an error stating that it could not perform the task. And now it’s when the mounted ISO comes into play. Let’s specify the file from the ISO so that we can fix it. Run the following command: (Notice that X must be the drive letter on which your system has mounted the ISO)

    4.1 DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess

    5. Now let’s repair any damage in the system files, shall we?

    5.1 sfc /scannow

45 Responses to “How to Repair Windows 10 Issues (Windows Update, Component Store Corruption, etc.)”
  1. Gerald 6 February 2015 at 7:26 am #

    These commands doesn’t seems to work on Windows 10 (9926)

    scf /scannow stop after 2%, reporting “Windows Resource Protection could not perform the requested operation”

    dism commands always report “The sources files could not be found”, even when giving the wim file on the dvd.

  2. Max 26 February 2015 at 10:00 am #

    DISM /Online /Cleanup-Image /RestoreHealth /source:wim:C:\install.wim:1 worked for me. sfc /scannow does not work

  3. Steve Thresher 23 April 2015 at 2:15 am #

    Build 10061. sfc / scannow fixed my missing start menu and windows not activated problems.

  4. adel 2 May 2015 at 7:47 am #

    These commands

    doesn’t seems to work on Windows 10
    (10041)

    scf /scannow stop after 110%, reporting “Windows Resource Protection could not perform the requested operation”

    how can I solve this problem?

  5. Matt 13 May 2015 at 2:26 am #

    Build 10074, both the sfc and dism commands worked for me. Make sure that you’re running cmd in admin mode. The correct syntax for the dism command is:

    Dism.exe /Online /Cleanup-image /RestoreHealth

    Unsure if this is case sensitive. If you’re having trouble try increasing the font size in cmd.

  6. aadk 5 June 2015 at 7:37 am #

    Nothing happens here.

  7. Marcius 13 June 2015 at 10:35 am #

    I can’t run control panel/uninstall program – is not workin, a few other comands not workin too after troyans attack (windows deffender was turn off when I install GTA V from not checked source). Can I repair my Windows 10 and how I can fix this problems? Thanx, from someone badass user…

  8. squirrel 29 July 2015 at 9:02 pm #

    I can’t even get windows 10 to open command prompt as an admiinstrator, and to get command prompt at all I have to open it through run. The start button’s right click options primarily don’t work, and the search bar is even less responsive. I highly regret “upgrading.”

  9. osX 1 August 2015 at 10:13 am #

    Hit the Windows Key + R together and a the “Run Command” box should appear, type “taskmgr”, hit Enter
    In Task Manager (taskmgr.exe), click New Task, type in cmd, check off the box below the box where you typed “cmd” [Run with Administrative Privileges].

  10. bill cook 1 August 2015 at 11:28 am #

    Right-click the start button. Select Command Prompt (Admin).

  11. saurabh srivastav 1 August 2015 at 1:25 pm #

    when i try to open my computer and control panel,on both occasions the windows closes by itself also making the cursor in a freezed state. Microsoft please help…

  12. David Hastings 3 August 2015 at 4:07 am #

    My laptop after loading windows 10 comes up with “Critical Error start menu and Cortana aren’t wrking. We’ll try to fix them next time you sign up.”
    I have tried re-signing in but it does not fix it.
    What do I do next?

  13. I Hall 3 August 2015 at 5:26 pm #

    Thank you osX. That worked perfectly!

  14. FS 6 August 2015 at 7:39 am #

    Try running the ISO file of Win 10 but cancel at actual install. It worked for me

  15. diyami 8 August 2015 at 2:27 am #

    sfc /scannow
    dism /online /cleanup-image /scanhealth
    theses worked for me on Windows 10

  16. Denny 8 August 2015 at 3:55 pm #

    Windows start button does not work when you left click to get to apps.

  17. USHA 13 August 2015 at 10:18 am #

    The start button is not working neither is the search bar.Can’t get window 10′-command prompt as an administrator.very disappointed. PLS DO SOMETHING

  18. JLSprinkle 14 August 2015 at 9:40 am #

    All of the commands ran for me with no problems in windows 10 – I am unable to make any entries in ask me anything box and can not get Cortana to listen when I click on the mic

  19. Sheryl 15 August 2015 at 8:39 pm #

    Touch screen isn’t working since Windows 10 download. Is there a fix for this?

  20. Bonzadog 16 August 2015 at 11:01 am #

    I have the problem that which I left ckick the start icon , I immediately get a message that there is an error and I need to re-signin.
    I tried sfc /scannow which ran and told me some error were corrected.
    However the problem still remains….
    Any help on this?

  21. fahad 16 August 2015 at 12:02 pm #

    error87

  22. mtek 17 August 2015 at 2:58 am #

    any help when getting error 48 error loading dlls in windows 10, sfc scannow. This only happens since updating to windows 10 from windows 7. All suggestions haven’t proven to provide a resolutions any help much appreciated.

  23. Dhana 19 August 2015 at 3:29 am #

    Run command not responding. Is there another route to fixing start menu and desk top option problems.

  24. Awesome 22 August 2015 at 3:28 pm #

    run cmd as admin and try those lines…

  25. Peter 23 August 2015 at 4:31 am #

    in windows 10, just right-click the windows button on the taskbar then choose “Command Prompt (Admin)”

  26. tubal 23 August 2015 at 11:31 am #

    i hve prtoblem in dwm.exe
    in windows 10 please heelp

  27. Frank 29 August 2015 at 12:21 pm #

    Windows 10 worked fine up to this point. Now the start menu is missing. scf/scannow did nothing and both Dism’s did not work.
    My desk top from windows 7 is ok and the short cuts still work. How can I fix windows 10?

  28. Lionel 4 September 2015 at 1:45 am #

    My start menu and notification area quit working. I have tried numerous remedies and none worked. Not even none of the above. Any suggestions

  29. bklynjames 8 September 2015 at 10:28 am #

    Just wipe windows 10, its a nightmare. Ive tried all the fixes listed above and still cant use the task bar.

  30. Dorjee 18 September 2015 at 9:55 pm #

    “These commands doesn’t seems to work on Windows 10 (9926)

    scf /scannow stop after 2%, reporting “Windows Resource Protection could not perform the requested operation”

    dism commands always report “The sources files could not be found”, even when giving the wim file on the dvd.

    by Gerald
    on 06. Feb, 2015”

    The way he has the command code written you need to put that “install.wim” file in the root level of c drive.

    Open the c drive and move the file there. Then it will see it.

    It’s also best to copy and paste the commands to make sure a mistake in rewriting it isn’t made or a space missed or too many spaces and such.

    It read for me fine….

    Trying the fix now hope it works. I’ve tried just about everything. this is one of my last three options left.

    1) this method.
    2) Do the recovery with remove everything.
    3) Do a clean install since I have upgraded to 10 my computer should be registered now allowing me to do a clean install.

    I’m sure MS will eventually work this all out I’ve seen a lot of things fixed. this is the only problem I’ve run into so far.

    Restore is important will report back with which worked for me if it fixes.

    If all methods don’t work can anyone recommend a good alternative restore software till MS fixes this issue.

    I always create a restore point before installing new software.

  31. Dorjee 18 September 2015 at 10:54 pm #

    Method here didn’t solve my issue unfortunately.

    Hope it works for more people.

    If i find a solution I’ll come back with it

  32. Bonnie 19 October 2015 at 11:36 am #

    don’t forget you have to leave a space before each / …. then it will let you copy it in… just doing mine now.. but the restore health one is taking forever ! 🙂

  33. Bonnie 19 October 2015 at 11:38 am #

    you can still run CMD and then run as an administrator also.. I never knew about the windows +x thingy… 🙂 does it usually take a long time to run the Restore Health query ? its been at 20 percent now for a half hour 😛
    Thanks

  34. argee 25 October 2015 at 6:48 am #

    Hi! I’m having a problem in adjusting the brightness after upgrading to Win !0 (I dunno if win 10 is the problem or office 365 home).
    Anyways, I ran sfc /scannow as administrator and I got back the following: windows resource protection found corrupt files but was unable to fix some of them. Details are included in the CBS.log windir\logs\cbs\cbs.log. Note that logging is currently not supported in offline servicing scenaios.
    So what should I do now?

  35. argee 25 October 2015 at 6:51 am #

    Hi! I’m having a problem in adjusting the brightness after upgrading to Win !0 (I dunno if win 10 is the problem or office 365 home).
    Anyways, I ran sfc /scannow as administrator and I got back the following: windows resource protection found corrupt files but was unable to fix some of them. Details are included in the CBS.log windir\logs\cbs\cbs.log. Note that logging is currently not supported in offline servicing scenaios.
    So what should I do now? Thanks

  36. Andy 28 October 2015 at 8:14 am #

    Hitting Windows key +R does not work.Please help! I’m stuck in automatic repair loop.None of the options work! Restarting on start up just goes back to repairing but nothing work. Thanks in advance!

  37. John K 4 November 2015 at 8:47 pm #

    After I tried to uninstall software for and old Brother MFC. Windows got into a knot and froze up before completing the start-up. I could not even open the Control Panel of Shut Down so I had to manually turn the PC off.

    After doing this 2 or 3 times it actually booted. It seems to have reverted to a previous restore point by itself.

  38. Richard 9 November 2015 at 9:07 pm #

    The following Windows 10 command works fine for me.

    dism.exe /online /cleanup-image /restorehealth /source:wim

    I get the following answer.
    The restore operation completed successfully. The operation completed successfully.

  39. Barry 15 November 2015 at 7:22 pm #

    DISM RestoreHealth does not work here on Windows 10 (which failed to install update kb3105210). Using the source as D drive (my DVD) – source files not found. Double clicking on the iso on my C drive (HardDisc) opens up K drive (!!!). Using K drive as the source, still not found. The good news is that Windows seems to have stopped telling me that update kb3105210 is available. I think that update is just for IE and Edge. I use Firefox

  40. Abhinav Kumar 16 November 2015 at 1:17 pm #

    hi sir I am having problem in file explorer. when I open This PC and entered in any drive it show loading and all the file become white.

  41. Paul Reeves 30 November 2015 at 11:37 pm #

    After installing an update on windows 10 my computer said it had an error and needed to restart. After the auto restart windows 10 will not boot. I get a message “Bad_Pool_Header” and it restarts again. Over and over and over…. Microsoft has made my $600 computer useless except as a boat anchor. Any fix they offered requires your computer to boot…mine does not thanks to their updates this morning. Never had a copy of windows from 98 to 10 that did not crash at least once. And the help from micro is not worth the time to call and ask. Now if I can find that number for Apple I’ll be all set. Micro soft has taken the last dollar from me. I have had enough.

  42. ahmad 2 December 2015 at 7:59 am #

    i am installing a game but it can not open
    i want a solation

  43. C.P.J. Bahnerth 5 December 2015 at 12:50 am #

    The monitor display is corrupted in the sense that it shows only part of the YouTube picture.

  44. Peter Nowell 13 December 2015 at 6:30 am #

    Do you use a .WIM disc to o this step?

    DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess

  45. Proud Daughter 17 June 2016 at 10:45 am #

    Thanks, worked like a charm for a client’s computer who had a 0xc000021a error. Ran sfc/scannow as admin and after 45 minutes or so, declared it found errors and repaired them (win 10 would no longer boot) and after a res-start, all is well once again.

Leave a Reply