Run SFC Command in Windows 10  

Page 27 of 31 FirstFirst ... 172526272829 ... LastLast

  1. Posts : 41,412
    windows 10 professional version 1607 build 14393.969 64 bit
       #260

    Please run this script:
    Tuneup.bat - Click here to go to the BSOD batch repository to download and run this batch file.
      My Computer


  2. mpw
    Posts : 5
    Windows 10 home v21H2
       #261

    I'm sorry this is too complicated. I ran a scf scan. It was good. I just can't find the results. I'll just skip it. Thank you anyway.
      My Computer


  3. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #262

    Hello @mpw,
    Welcome to TenForums.

    mpw said:
    I'm sorry this is too complicated. I ran a scf scan. It was good. I just can't find the results. I'll just skip it. Thank you anyway.

    If you are talking about the SFC results, then type this into a Command Prompt and press Enter . . .

    Code:
    
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > "%UserProfile%\Desktop\SFC_Details.log"

    This will put a SFC_Details.log file on your Desktop, and then you can upload the file by following the below Tutorial . . .

    > How to Upload and Post Screenshots and Files at Ten Forums.

    I hope this helps.
      My Computer


  4. mpw
    Posts : 5
    Windows 10 home v21H2
       #263

    Thank you. I've been doing that all day it seems. Somehow my desktop or something is not where it is supposed to be. I have not moved anything. The desktop is located as in the insert picture in my first post. The command line that works for everyone else does not work for me. This is what I get.

    Microsoft Windows [Version 10.0.19042.804]
    (c) 2020 Microsoft Corporation. All rights reserved.

    C:\Users\mpwid>findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > "%UserProfile%\Desktop\SFC_Details.log"
    The system cannot find the path specified.

    I don't need to up load it to the forum. I am not having a problem. Everything works fine. Just wanted to see it. And then found out I couldn't even if I needed to because the path to the scan result is a mystery.

    Thanks again.
      My Computer


  5. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #264

    Hello @mpw,

    mpw said:
    Somehow my desktop or something is not where it is supposed to be.

    I don't need to up load it to the forum. I am not having a problem. Everything works fine. Just wanted to see it. And then found out I couldn't even if I needed to because the path to the scan result is a mystery.

    If you have a Relocated Desktop, then change the %UserProfile% part of the Command to the actual path of the Relocated Desktop folder.

    I hope this helps.
      My Computer


  6. mpw
    Posts : 5
    Windows 10 home v21H2
       #265

    I have never relocated the desktop path. Where it is now is where it has always been. I tried fitting the actual location into the command line. I can’t seem to do it.
    This is the address - C:\Users\mpwid\OneDrive\Desktop. I have tried to plug this in and I cannot make it work.

    Run SFC Command in Windows 10-screenshot-2021-02-28-172142.jpg
      My Computer


  7. Posts : 16,783
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #266

    mpw said:
    my Desktop is in This PC > Desktop.
    No, it is not.
    - In This PC, there is a shortcut to your Desktop that is made to look like a folder rather than the shortcut that it really is.
    - This is one of MS's tricks to drive us all mad.
    - If you use that shortcut you should then click in a blank area of the File explorer Address bar to see a true path to your Desktop. Don't just look at the Address bar, click in a blank area of it.

    Your Desktop is, by default, in C:\Users\mpwid\Desktop unless you have 'relocated' it [or have allowed OneDrive to do so, as seems to be the case].
    - In File explorer, judging from your earlier comments, you do not have a folder at C:\Users\mpwid\Desktop but you might like to double-check. If it does exist, what does it contain compared to the Desktop you see covering your screen when everything else is minimised/closed?
    - In File explorer, you have a folder at C:\Users\mpwid\OneDrive\Desktop. What does it contain compared to the Desktop you see covering your screen when everything else is minimised/closed?

    Given that the C:\Users\mpwid\OneDrive\Desktop path exists, I cannot see why your attempt to extract SFC results fails unless you are trying to write the results to a non-existent location [as I suspect you are doing]. Please check your syntax. I would expect to see

    Only for command prompt:
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"C:\Users\mpwid\OneDrive\Desktop\sfcdetails.txt"

    or

    Only for PowerShell:
    (sls [SR] $env:windir\Logs\CBS\CBS.log -s).Line >"C:\Users\mpwid\OneDrive\Desktop\sfcdetails.txt"



    Denis
    Last edited by Try3; 03 Mar 2021 at 02:30.
      My Computer


  8. mpw
    Posts : 5
    Windows 10 home v21H2
       #267

    Thank you. Sorry for the late reply. I had my second Moderna vaccine dose and I felt run over by a truck. Getting better now.
    You answered my question. I could not write the command line correctly. When I tried to insert where the desk top was located, I messed it up. Probably missing colon or back slash. I don't know. You understood my question and limited ability and wrote the command for me which is exactly what I needed. It worked perfectly.
    Thanks again.
      My Computer


  9. Posts : 21,421
    19044.1586 - 21H2 Pro x64
       #268

    @Brink
    Hello Shawn ,
    General question on sfc/dism order:

    Would seem to me that if my objective is to get a clean "sfc /scannnow" output as quickly as possibly, that running dism with /checkhealth option first (took less than a second execution time on my PC), then only if /checkhealth found corruption - run dism with /restorehealth option would be the preferred way to go. Then finally run "sfc /scannnow".

    Am I missing something with this reasoning?
      My Computer


  10. Posts : 68,660
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #269

    steve108 said:
    @Brink
    Hello Shawn ,
    General question on sfc/dism order:

    Would seem to me that if my objective is to get a clean "sfc /scannnow" output as quickly as possibly, that running dism with /checkhealth option first (took less than a second execution time on my PC), then only if /checkhealth found corruption - run dism with /restorehealth option would be the preferred way to go. Then finally run "sfc /scannnow".

    Am I missing something with this reasoning?
    Hello Steve,

    You could run them in that order if wanted, but I would skip /checkhealth.

    Usually, you would only need to run the /restorehealth if "sfc /scannow" could not repair due to component store corruption.
    Last edited by Brink; 11 Oct 2021 at 08:54.
      My Computers


 

Tutorial Categories

Run SFC Command in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 12:42.
Find Us




Windows 10 Forums