Sfc /offlogfile

Page 1 of 2 12 LastLast

  1. Posts : 108
    Windows 10
       #1

    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!
      My Computer


  2. Posts : 34,893
    Win 10 Pro (1903) (2nd PC is 21H2)
       #2

    Hi, just wondering where you got the offlogfile parameter from...

    Sfc /offlogfile-1.jpg
      My Computers


  3. Posts : 668
    Win 10 pro
       #3

    You should wonder why you don't have it instead (no rudeness indended, re reading it sounded rude )
    Sfc /offlogfile-scannow.png
      My Computer


  4. Posts : 668
    Win 10 pro
       #4

    Swifty said:
    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!
    I dont think the /scannow flag is compatible with the /offlogfile one...
      My Computer


  5. Posts : 650
    10 preview 64bit
       #5

    Doesn't that appear only when your in Recovery mode, ie outside of windows.


    Roy
      My Computer


  6. Posts : 668
    Win 10 pro
       #6

    Well i'm not in recovery mode, the version is 6.0 for both, this is either strange or sloppy.

    Roy.
      My Computer


  7. Posts : 5,174
    Windows 11 Home
       #7

    roy111 said:
    You should wonder why you don't have it instead
    By any chance, do you have 1809? English version for comparison.
    Attached Thumbnails Attached Thumbnails Sfc /offlogfile-capture_11072018_150306.jpg  
      My Computer


  8. Posts : 668
    Win 10 pro
       #8

    I have 18.03 win 10 pro, so it seem it has been added in 18.03
      My Computer


  9. Posts : 34,893
    Win 10 Pro (1903) (2nd PC is 21H2)
       #9

    roy111 said:
    You should wonder why you don't have it instead (no rudeness indended, re reading it sounded rude )
    Sfc /offlogfile-scannow.png
    I believe I asked a perfectly polite question.... I hope so! I then hoped the answer might inform me.
    Gazing at my own navel wondering why I didn't have it did not suggest a useful outcome.

    Apparently it seems (from the above) it's an addition since build 1709.
      My Computers


  10. Posts : 56,050
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #10

    FWIW.... I'm still on 1803 awaiting the second coming from Redmond, and it's on here.

    Sfc /offlogfile-2018-11-07_10h40_42.png
      My Computers


 

  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 13:02.
Find Us




Windows 10 Forums