Question about using "sfc" command


  1. Posts : 271
    Win 10 64 bit
       #1

    Question about using "sfc" command


    I've noticed several comments about using "sfc". When entering the command prompt, you are in the Windows\system32 directory. Do you run "sfc" from there or do you close that directory and run from the C: prompt?
      My Computer


  2. Posts : 16,325
    W10Prox64
       #2

    milford said:
    I've noticed several comments about using "sfc". When entering the command prompt, you are in the Windows\system32 directory. Do you run "sfc" from there or do you close that directory and run from the C: prompt?
    Yes, an administrative command prompt window will open at C:\WINDOWS\system32> and that's where you need to run it.
      My Computer


  3. Posts : 305
    Windows 10
       #3

    Simric´s advice will work, but I prefer PowerShell.

    Enter Task Manager and select File''Start New Task. Type powershell into the box that appears, and check the box giving you Admin Privileges. You have to wait several seconds for PowerShell to open. When it does, type sfc /scannow into the command line. It will take about an hour and a half to scan your computer for corrupted files.
      My Computer


  4. Posts : 1,579
    Windows 10 Pro
       #4

    sfc can be run from any directory, as long as you're in the admin (elevated privilege) command environment, since c:\windowsystem32 is where sfc.exe resides and that folder is part of the default "path" environment variable. Yeah.... you can run sfc from admin command prompt and it MIGHT take 7 minutes like mine did or run it from powershell and it MIGHT take about 90 minutes like it did for Vince Massi. But, all differing variables which haven't been identified aside, as MS says in the sfc dialog: "This process will take some time."
      My Computer


  5. Posts : 271
    Win 10 64 bit
    Thread Starter
       #5

    Thanks everyone. I'll consider this closed.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:07.
Find Us




Windows 10 Forums