Software to scan for file integrity after corrupted file system?


  1. Posts : 76
    win 10
       #1

    Software to scan for file integrity after corrupted file system?


    On a couple of occasions, I've noticed that I've had to run the chkdsk command to fix a corrupted file system which it repairs, but this sometimes results in files which themselves have been corrupted, but isn't necessarily flagged as such.

    I'm aware of programs to check image files and PDFs, but are there programs to check everything which includes, but not limited to, files extensions such as text, excel, docs, exes etc?

    A quick google mostly returns SFC - checking the file system for windows which is not what I'm looking for.

    It would be good to run a scan to check for files' integrity and replace as soon as possible.

    It would have been good as part of chkdsk's log file (if there's such as thing) to report on which files are potentially corrupted and / or lost as part of its repair process. Maybe there is, but I'm not aware of it?

    Any pointers will be appreciated.
      My Computer


  2. Posts : 9,780
    Mac OS Catalina
       #2

    There is no one fit for all. Stuff like non-windows programs, documents and the such, there really is no way other than opening them to see if there are issues or not. That is why you keep backups and off-system Cloud copies of important stuff. I keep at least two off-system copies of documents.
      My Computer


  3. Posts : 43,285
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #3

    Hi, one thing I've found helpful- and which pointed me to a disk begining to fail was the CRC check run by Macrium Reflect when creating a disk image. When that suddenly failed I found that there were a very few bad sectors on the disk- quite marginal- such that formatting the disk led it seeming good.
      My Computers


  4. Posts : 18,034
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #4

    Hello @TenneR,

    TenneR said:
    It would have been good as part of chkdsk's log file (if there's such as thing) to report on which files are potentially corrupted and / or lost as part of its repair process. Maybe there is, but I'm not aware of it?
    Copy & Paste the following commands into a CMD Prompt and press Enter after EACH.

    Code:
    
    PowerShell "Get-WinEvent -ProviderName 'chkdsk' | Select-Object -First 1 | Format-List TimeCreated, Message"
    Code:
    
    PowerShell "Get-WinEvent -FilterHashTable @{LogName='Application'} | ?{$_.ProviderName -Match 'wininit'} | Select-Object -First 1 | Format-List TimeCreated, Message"

    I hope this helps.
      My Computer


  5. Posts : 76
    win 10
    Thread Starter
       #5

    Thanks @bro67

    Hi @dalchina - thanks & yes, I've also come across this when I've tried imaging in MR, but I suppose running the chkdsk command with the /f or /r would also highlight dodgy file system?

    Hi @Paul Black - thanks for your suggestion. Will these commands run chkdsk on all drives or can I specify? Also, is it possible to run the chkdsk command without fixing anything but merely highlighting issues and possible corruption, as I'd prefer to backup / image before chkdsk repairs. My experience is that although it fixes the file system, it may actually corrupt files in the process.
      My Computer


  6. Posts : 1,797
    Windows 10 Pro
       #6

    Long story short (very short) after a partition recovery I am left with a bunch of corrupted MS Word and PDF files. I only know about a bad file when I attempt to open it or preview it. Is there any way (PowerShell, utility, etc) to sweep through my folders and ID all such files.

    Curiously no Excel or PPT files have been corrupted (so far as I know ...)
      My Computers


  7. Posts : 43,285
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    pdf scanner/checker: I found this (albeit from 2014):
    Validate/verify PDF files integrity - Super User

    You can protect yourself with proper backups of course... and disk images.
      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 14:37.
Find Us




Windows 10 Forums