48 replies on How to use SFC to repair missing or corrupt Windows files in CMD

  1. Sheku says:

    Nice one,I wish I had found this little tip back in Feb when I ran into this issue. I might have avoedid two hours of hair pulling and head vs wall.

  2. hihi says:

    hello, i tried to do what you said but it says windows resourse protection could not start the repair service, how can i fix that?

    • hihi says:

      also as of right now i cannot turn on my computer

      • Ciprian Adrian Rusen says:

        You should take it to a repair shop, warranty or something similar. It sounds like you are having some serious hardware problems.

    • Ken Mason says:

      This happens when you point SFC to work on the recovery media, a read-only file system…it is perhaps labeled incorrectly as “C” – when your REAL windows filesystem on hard disk is labeled now as “D” by this boot media. Try changing stuff to match this case and you should see it work.

  3. auntme says:

    I have done all of this and I still can’t boot my computer without using the repair disk. The startup repair says it cannot fix the problem. System restore says an unknown problem prevented system restor from working. When I get into windows with the repair disk, everthing works fine. If I do a re-start it boots fine, but if I shut it down and start from cold start, it won’t boot. Please, can someone help me?

    • john leahr says:

      Try taking out your hard drive if you have a restore disc put it in and restart if it starts working then your hard drive has some problems I did the same and bought a new one at best buy for 60 $ and it has more memory

  4. auntme says:

    I have done all of this and I still can’t boot my computer withour using the repair disk. The startup repair says it cannot fix the problem. System restore says an unknown problem prevented system restor from working. When I get into windows with the repair disk, everthing works fine. If I do a re-start it boots fine, but if I shut it down and start from cold start, it won’t boot. Please, can someone help me?

    • vicent says:

      the only reason why the system is restarting is because of the windows or the system file or the cap missing file is not there, but it since, you have try this option, just use the system factory recovery console to recover it and after you have true with it , go back to the system restore to restore to am earlier point.
      i hope this will solve ur problem

    • Ken Mason says:

      AUNTME; or anyone else this may hopefully help; I dual boot windows / linux. My boot sector is Linux’s GRUB. On windows, I install either adobe creative suite, matlab or solidworks…all of these products have licensing authentication software that write RIGHT OVER MY GRUB boot partition! Yeah, they *assume* only a Windows boot sector may ever be in that area, a small space between windows boot sector and first partition of windows…that’s where it writes to and that’s an area that GRUB needs. If you cannot boot, repair boot sector, then cannot boot again…maybe some software or malware is writing there? easybcd can help manage boot sector. A live linux cd helped me repair GRUB. I made boot-media!

  5. Leonard says:

    It seems to be a hard drive issue. Get a new hard drive, install it as the primary drive and use the original as a secondary drive. Be sure to do a clean install on the new hard drive. All of your files will still be on the other (original) drive and you can transfer the data easily to your new drive.

  6. hrG says:

    can i also use it in window xp

    • Ciprian Adrian Rusen says:

      It should work. I don’t have an XP computer to try it out. You have nothing to lose though. 😉

    • Ozz says:

      Yes hrG It will work with XP provided you have your installation disc , And haven’t upgraded from SP2 to SP3 . When you type sfc /scannow into the CMD it will prompt you to put your Windows disc in the CDROM drive .

  7. Nikunj Lad says:

    my MS office documents seemed to work fine a week ago but suddenly, one fine day when i clicked a saved word document, a window popped up saying “This program is unable to run because of missing or corrupt files. Please contact the manufacturer.” All office files show this error. can it be resolved using sfc/scannow . everything else is working fine except this.

    • Ciprian Adrian Rusen says:

      sfc /scannow is for repairing corrupt Windows files. But it sounds like your Microsoft Office suite is corrupted, not Windows. I recommend the following:

      1. Scan your system drive with Check Disk:

      2. Check if Microsoft Office works after this scan. If it doesn’t, uninstall it and reboot the system.

      3. Then, install Microsoft Office again and see if it works.

  8. Red V says:

    Hello good day,

    I have a serious problem with my windows 7 OS. There was a sudden shutdown in the pc and when i rebooted it, windows does not have any menus, like a graphical issue but its not and there is no fonts/ text. start menu does not appear.

    what should i do?

    • DevinC says:

      I am having the same problem. It also won’t look at the DVD drive, so I had to make a restore disk on a flash drive. That didn’t work, so I am thinking I may need to flush the whole thing.

  9. Sebastian says:

    It says “Windows Resource Protection could not start the repair service” when I try scanning it.

  10. Sebastian says:

    what i did eventually was that i used command prompt to copy everything i needed onto a hard-drive and then i re-installed my computer entirely

  11. Victoria says:

    Ran though all this and got BUPKUS!!!! My command prompt tells me: “Windows Resource Protection could not perform the requested operation.” HELP!!!!!!! :'( Working with Windows Vista Basic.

  12. Innocent says:

    Hi I am using windows 8 and I did perfom the sfc / scannow and it told me tht It found some errors but was unnable to fix them,I then typed sfc /scannow /
    offbootdir=c: /offwindir=c:windows it told me the arguements passed to sfc are invalid.the offline windows directory specified points to the online system

  13. Mackenzie says:

    What showed up was “Windows Resource Protection could not start the repair service.”

  14. lolo bojick says:

    i use the iso on my flash drive to re start my laptop, but when i use the system recovery tool, System Restore, it gives this comment: System Restore did not complete successfully, your computer system files and settings were not changed. Details: System Restore failed to extract the file (D:UsersNameAppDataRoamingIObitIObit UninstallerMain.ine)from the restore point. (0x8000-4005). Same comments exhibited for all of my restore points from oldest to latest.

    • Jes says:

      It is the worst of all time to figure out the door to shit rain begins from the inside door. Allow the blame and thanks before hand. Goals and legendary seats are available on mistakes.
      Advance thanks

  15. roman says:

    i have a Toshiba laptop i been get in conflicts with wifi it says limetd access, i reinstall the drivers and still the same

  16. gian says:

    thanks i wish it fix ! my acer window 7

  17. Jim says:

    I got here because my computer says pthe was a page fault. It was in the fbfmon.sys file during system boot. Been trying a lot of different things when I came across this thread. I am able to backdoor myself into something like safe mode and did the scan now. Tells me there is a correction ready to be made and for me to restart. Well of course I can’t restart. But I backdoor it to like safe mode and the awaiting correction doesn’t get made. So I’m in a loop with my computer. I cannot find the file fbfmon.sys anywhere. Checked e:windowssystem32 but not there. Can anyone help??

  18. David says:

    To anyone on this thread:
    If you get the message, “Windows Resource Protection could not start the repair service.” and you’re in the Startup Repair mode command-line with a cursor of “X:>_” then you should use “D:” instead of “C:” when typing the sfc command. This is because the system reserve partition is C: by default if you’re at a system-level cmd.

    Hope this helps anybody.

  19. Rohith says:

    Need training about command prompt.

  20. Jess says:

    did it with D instead of C and says i have a repair in progress or something that requires the computer to reboot and i have to reboot now. its a cycle

  21. payal says:

    Hello…I tried the same and after SFC /scan now 100% completion I got the msg that windows resource did not find any integrity violations..now next what I need to do??

  22. Ikram says:

    Good instructions but I will try then forward comment, hoping that try will succeed.

  23. Hunter says:

    Im having a problem with my gateway laptop i have system restored it to the factory settings and its on windows 8.1 but it pops up a blue screen and it says trouble shoot problems continue and turn off pc i have tried all the trouble shoot options but i have yet to get anythibg does anyone have any suggestions?

  24. Faraz Adil says:

    m stuck in ur bloody BOSD so plz tell me smart guy how m able to open tht bloody log file huh?? -_-

  25. Bradevans says:

    There is the more freaking command.
    I forgot that name.
    c:DSCCHK/ r
    The command is something like this.

  26. Greg says:

    Well, if you can’t even be allowed to access your own cbs.log files, seems impossible to even get into the files. I am denied access, even as I am the administrator and owner of this computer. So, so much for this nice little access page description from your above info. Can’t even access my own cbs.log files. This computer has given me a (LOT) of file access problems and things seem to have either been turned off (don’t exactly know why) and/or they have been maybe deleted somehow.

  27. Andy says:

    It does not work.

  28. Bret says:

    This did not work. I got the message “Windows Resource Protection could not perform the requested operation”

  29. Monica says:

    Thank you so much I was having horrible issues with my laptop and after I went through and did this it fixed the issues and now running smooth!! I was stressing due to not having the money to take it in to have it fixed now I don’t have to!!!

  30. Nil_P says:

    I think your article saved me from a very bad headache. Total success.

  31. Glenn Rasmussen says:

    what if sfc and dism dont work at all, eg, no pathway can be found or whatever, and no scan is performed

  32. Julie Lopez julopez0119@gmail.com says:

    Thank you for the very helpful recovery guide. It’s by far the best one I’ve found .if you teach id love to take your class!

  33. tazmo8448 says:

    I get an offline online error with this command

    sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows\

    • Codrut Neagu says:

      Hi! Did you run the command before boot? That error message usually triggers when you try running the command after Windows boots. And if Windows does boot, you should read the second section of the tutorial.

Leave a comment