Run System File Checker in Safe Mode, Boot Time or Offline on Windows 10/8/7

In this post we will see how to run System File Checker in Safe Mode, Offline or at Boot Time in Windows 10/8.1. This is useful if SFC will not run or start.

One of the useful tool Microsoft introduced on Windows, is the ability to run system file checker to check the stability of core system files. We have discussed about the System File Checker earlier. One of the most effective ways to run this tool or SFC is to run in Safe Mode or at boot-time. This may be an option you may want to consider, if you find that your system file checker run does not complete successfully. At boot time, system files won’t be connected to any other Windows services so it could be easier for the to complete its run successfully and replace the files.

Run System File Checker in Safe Mode

Simply boot in Safe Mode, open an elevated command prompt, type sfc/scannow and hit Enter. System File Checker will run in Safe Mode too.

Run System File Checker at boot

On Windows XP we have a command called sfc /scanboot. It scans all protected system files every time the computer is booted. Running sfc /scanonce would run it once only at the next reboot. Unfortunately, these commands have been removed on later versions of Windows. So in order to run this command, we have to go to Windows RE and run it from here. We can also call it Run Offline System File Checker.

Run Offline System File Checker

To execute this run, do the following:

Insert the Windows installation disc or USB flash drive, or a system repair disc, and then shut down your computer. Then restart your Computer When prompted, press any key, and then follow the instructions that appear.

On the Install Windows page, or on the System Recovery Options page, choose your language and other preferences, and then click Next.


Click Repair your computer.

Select the Windows installation you want to repair, and then click next.


On the System Recovery Options menu


Click on Command prompt, then type in the following command and hit Enter:

sfc /scannow /offbootdir=d:\ /offwindir=d:\windows  

Refer the second image above. I have used D, since the Windows drive is D.

Once it has completed the repair, type Exit and then reboot the system. In case the command does work or if the Windows failed to repair, then you need to run a Repair Windows 7 or Refresh Windows 8 to fix those corrupted files.

I hope you found this article helpful. In the case of any issues please feel free to drop a message in our commands section.

This post will show you how to how to Run sfc /scannow System File Checker on External Drives.

Posted by on , in Category Windows with Tags
Shyam aka “Captain Jack” is a Microsoft MVP alumnus and a Windows Enthusiast with an interest in Advanced Windows troubleshooting. Suggestions made and opinions expressed by him here are his personal one's and not of his current employers. He blogs at


  1. TheBigOldDog

    Great tips. Was wondering if it could be done in Win 7

  2. George Melendez Correa


    Thanks for the tip and, yes, the sfc/scannow did the trick and my PC is okay now…..

  3. Frustrated

    And what about when the offline method from the DVD
    sfc /scannow /offbootdir=d: /offwindir=d:windows
    reports Windows Resource Protection could not start the repair service.

  4. mise

    Great tip! Did the trick for me! I like this COMMANDS section also.

  5. Sam W

    What is the comand that make a computer turn into tablet mode and how do you get there? I think I am stuck in tablet mode I I do not know how to get out. I have lost my start menu, my task bar and my desktop. I have a Lenovo T400 and I have windows 10. Of course bear in mind, I have no access to a start menu, task bar , desktop or much of any thing but a browser window.

  6. Scott Winterringer

    Please define Drive lettering and its relation for less tech savy users. define “offbootdir” and “offwindir” (this repair mechanism seems good, but how it works to repair the problem from the disc sucks as well as any documentation. [I have a issue with a vmdk disc 2, and windows is incapable of making a simple file repair because the repair tools are in that 2GB block… the disc repair tool is further unable to do anythign useful without accessing the os’s repair tools it seems..]

  7. Cha Anc

    Very useful * thanks *

Leave a Reply

Your email address will not be published. Required fields are marked *

2 + 3 =