sfc /scannow

Discussion in 'Windows 10' started by Pasta88, Apr 28, 2021.

  1. Pasta88

    Pasta88 MDL Expert

    Jun 17, 2009
    1,332
    44
    60
    When I run sfc /scannow, is it ok to use the computer during that time or is it best to run it stand alone plz?
     
  2. pisthai

    pisthai Imperfect Human

    Jul 29, 2009
    7,221
    2,273
    240
    I would not run any processes or anything while running SFC/scannow! The same applies for chkdsk (diskDrive): /f /r!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,396
    1,322
    120
    #3 kaljukass, Apr 28, 2021
    Last edited: Apr 28, 2021
    If You run sfc.exe /scannow, please close/exit/shutdown all processes and applications, what not needed and do not use at this time anything.
    Remove/delete cbs.log if exist (location in folder %windir%\logs\cbs\)
    Run cmd.exe as administrator and then sfc.exe /scannow
    if scan ends and there are some problems what was fixed or not fixed, run the following script or only command to copy cbs.log on desktop and open it automatically.
    Code:
    @echo off
    findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >%userprofile%\Desktop\sfcdetails.txt
    Start notepad "%userprofile%\Desktop\sfcdetails.txt"
    exit
    PS! sfc /scannow can repair/fix something only than, if in Your computer exists current version shadow copy and it is still OK, ie not damaged. If it has been also damaged, sfc /scannow cannot do anything.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...