Windows 10: Sfc /offlogfile

Discus and support Sfc /offlogfile in Windows 10 Support to solve the problem; If I execute the command: sfc ... then I get the help, including the parameter /OFFLOGFILE If I execute the command: sfc /scannow... Discussion in 'Windows 10 Support' started by Swifty, Nov 7, 2018.

  1. Swifty Win User

    Sfc /offlogfile


    If I execute the command: sfc
    ... then I get the help, including the parameter /OFFLOGFILE

    If I execute the command: sfc /scannow /offlogfile=E:\temp\scannnow.txt
    ... then the help is displayed, but no error message. What's going on?

    I'm trying to run sfc /verifyonly and to direct the output to a file.
    So I tried: sfc /verifyonly > E:\temp\verifyonly.txt
    ... and of course that worked.
    But the text in the file is curious. Every character is taking 2 bytes, the first being x'00'

    It's simple enough to write a script to get around these minor issues; I'm just curious why I should have to!

    :)
     
    Swifty, Nov 7, 2018
    #1
  2. Slartybart Win User

    HELP with SFC after DVD upgrade to 10 please


    Messing around with the component store is tricky.

    After you restore I suggest using Windows to correct the issue
    Do NOT run SFC until we're sure - that just puts you in a loop or worse

    1. Programs and Features: Uninstall Avast

    2. Run the Avast cleaner

    3. Programs and Features: Make a note of what C++ redists are installed
      Uninstall all C++ redists (both x86 and x64 versions)
      Restart the machine
      Re-install the C++ redists (both x86 and x64 versions) from the MS link I gave you above that were installed
    4. Cleanup the image
      See: DISM - Repair Windows 10 Image - Windows 10 Forums

      Use step 6. To Use DISM /RestoreHealth /Source:wim Command if you downloaded the ISO from Techbench

      Use step 7. To Use DISM /RestoreHealth /Source:esd Command if you used the Media Creation Tool
      Report back if DISM reported any errors - I'll need to look at the CBS log
    That's enough for now - those steps should clean up your machine. Remember, the only thing SFC reported was the reference to AVAST C runtime. Reinstalling MS C runtime should make them the SxS winners.

    After you complete those steps, I'll ask you to look at a few other things before proceeding.
    Do NOT run SFC until asked ... you might have to divert from the path to fix something else
     
    Slartybart, Nov 7, 2018
    #2
  3. Vinod Archak Win User
    Cannot vertically scroll after upgrading to Windows 10

    Hi,

    I suggest that you run the SFC scan and check. Follow the steps:

    • Press Windows + X
    • Click Command Prompt (Admin)
    • Type sfc /scannow
    • Press Enter
     
    Vinod Archak, Nov 7, 2018
    #3
  4. Sahil Bali Win User

    Sfc /offlogfile

    Corrupted files still there after sfc/scannow

    Hello,

    Thank you for your interest in Windows 10. I would like to ask you:

    • What issues are you facing on the computer, for which you ran the SFC scan?
    I would suggest you to try the following steps to repair these files:

    a) Open command prompt by pressing Windows key + X and selecting “Command Prompt (Admin)”.

    b) In command prompt, type the following commands and press Enter after each command.

    DISM.exe /Online /Cleanup-image /Scanhealth

    DISM.exe /Online /Cleanup-image /Restorehealth

    c) Close the command prompt after this step.

    Now, restart the computer and check. Please post back your results for further assistance.

    Thank you
     
    Sahil Bali, Nov 7, 2018
    #4
Thema:

Sfc /offlogfile

Loading...
  1. Sfc /offlogfile - Similar Threads - Sfc offlogfile

  2. SFC /Scanow and DISM /restore...

    in Windows 10 Performance & Maintenance
    SFC /Scanow and DISM /restore...: Hello PC is running with different flaws lately. Sometime it won't wake up from the sleep mode or will froze while I'm using it. SFC /Scannow will foun error and can't repair them. To repair them, I'm using DISM /Online/Cleanup-Image/RestoreHealth When finished, it is...
  3. dism and sfc /scannow not workingt

    in Windows 10 Installation and Upgrade
    dism and sfc /scannow not workingt: Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. PS C:\WINDOWS\system32> Dism /Online /Cleanup-Image /RestoreHealth Deployment Image Servicing and Management tool Version: 10.0.17134.1 Image Version: 10.0.17134.345 [==...
  4. SFC and DISM not working

    in Windows 10 BSOD Crashes and Debugging
    SFC and DISM not working: So I have a windows home edition and when I run a command on cmd on admin. the scan is stuck like this[ATTACH] It is like this for both the commands. There's nothing afterwards Please give me a fix...
  5. Sfc /offlogfile

    in Windows 10 Performance & Maintenance
    Sfc /offlogfile: If I execute the command: sfc ... then I get the help, including the parameter /OFFLOGFILE If I execute the command: sfc /scannow /offlogfile=E:\temp\scannnow.txt ... then the help is displayed, but no error message. What's going on? I'm trying to run sfc /verifyonly and to...
  6. sfc/scannow does not exist

    in Windows 10 BSOD Crashes and Debugging
    sfc/scannow does not exist: sfc/scannow will not work says does not exsist https://answers.microsoft.com/en-us/windows/forum/all/sfcscannow-does-not-exist/a6682673-efa3-4868-8177-b0b04d49e9cc
  7. Windows button doesn't work - sfc /scannow & dism /online /cleanup-image /restorehealth...

    in Windows 10 Network and Sharing
    Windows button doesn't work - sfc /scannow & dism /online /cleanup-image /restorehealth...: Dear Microsoft community, Last weekend was when I first experienced the Windows button not working on my Lenovo Legion y520, this seemed like a small issue to fix. The first thing I read was running a scan through sfc /scannow - it stopped at 4% and got error 87...
  8. sfc /scannow Failed. ren software software.001 failed due to it being in use.

    in Windows 10 BSOD Crashes and Debugging
    sfc /scannow Failed. ren software software.001 failed due to it being in use.: I've tried everything to fix this issue. Seemingly started after replacing my graphics card, it's stopping me from doing system restores or anything of the sort. Finally in my CBS note i found the point where it failed: 2018-10-31 03:16:17, Info CSI...
  9. Sfc /scannow found corrupted files but could not fix them

    in Windows 10 Installation and Upgrade
    Sfc /scannow found corrupted files but could not fix them: Hey guys I tried the sfc /scannow and it found corrupted files but could not repair them also my situation is Whenever I try to turn my laptop on normally it blue screens and says "Critical service failed" and sometime is mentions something about trail.txt or something like...
  10. Photos not working properly along with sfc scan

    in Windows 10 BSOD Crashes and Debugging
    Photos not working properly along with sfc scan: Hi Recently I've been getting this problem where my photos app doesn't work properly. By that, I mean that when I launch it the window opens but at the top-right corner of the window the three buttons are not there. They are all whited it. When I open it, after several...