Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: SFC /Scannow can't fix corrupt files.

15 May 2015   #11
Tweakit

Windows 7 professional 64 bit
 
 

Ztruker,
Thanks for your reply. While i suspect you are correct, I am confused. I attached the /? response from my Windows 7 machine. The last line shows the very command that i used. i think this means the system is telling me that it is a supported command and in fact it runs and produces a log albeit showing corruption. Am I missing something or is the system incorrectly representing that this DISM feature is supported when in fact it is not?? Why do you think it is not supported? Thanks for your comments.




Attached Images
SFC /Scannow can't fix corrupt files.-dism.png 
My System SpecsSystem Spec
.
16 May 2015   #12
Ztruker

Windows 10 Pro X64
 
 

Interesting, that's not whart I see when I enter dism /? on my Win 7 Pro X64 system with SP1 and all updates:

Code:
Deployment Image Servicing and Management tool
Version: 6.1.7600.16385


DISM.exe [dism_options] {WIM_command} [<WIM_arguments>]
DISM.exe {/Image:<path_to_offline_image> | /Online} [dism_options] 
         {servicing_command} [<servicing_arguments>]

DESCRIPTION:

  DISM enumerates, installs, uninstalls, configures, and updates features
  and packages in Windows images. The commands that are available depend 
  on the image being serviced and whether the image is offline or running.

WIM COMMANDS:

  /Get-MountedWimInfo     - Displays information about mounted WIM images.
  /Get-WimInfo            - Displays information about images in a WIM file.
  /Commit-Wim             - Saves changes to a mounted WIM image.
  /Unmount-Wim            - Unmounts a mounted WIM image.
  /Mount-Wim              - Mounts an image from a WIM file.
  /Remount-Wim            - Recovers an orphaned WIM mount directory.
  /Cleanup-Wim            - Deletes resources associated with mounted WIM
                            images that are corrupt.

IMAGE SPECIFICATIONS:

  /Online                 - Targets the running operating system.
  /Image                  - Specifies the path to the root directory of an
                            offline Windows image.

DISM OPTIONS:

  /English                - Displays command line output in English.
  /Format                 - Specifies the report output format.
  /WinDir                 - Specifies the path to the Windows directory.
  /SysDriveDir            - Specifies the path to the system-loader file named
                            BootMgr.
  /LogPath                - Specifies the logfile path.
  /LogLevel               - Specifies the output level shown in the log (1-4).
  /NoRestart              - Suppresses automatic reboots and reboot prompts.
  /Quiet                  - Suppresses all output except for error messages.
  /ScratchDir             - Specifies the path to a scratch directory.

For more information about these DISM options and their arguments, specify an
option immediately before /?.

  Examples:     
    DISM.exe /Mount-Wim /?
    DISM.exe /ScratchDir /?
    DISM.exe /Image:C:\test\offline /?
    DISM.exe /Online /?
When I try to run it I get this:
Quote:
>Dism /Online /Cleanup-Image /RestoreHealth

Deployment Image Servicing and Management tool
Version 6.1.7600.16385

Image Version 6.1.7601.18489


Error 87

The restorehealth option is not recognized in this context.
For more information, refer to the help.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log1
My System SpecsSystem Spec
16 May 2015   #13
Tweakit

Windows 7 professional 64 bit
 
 

Ztruker,
I was a little hasty in my entry above. What I actually entered from the prompt was:
Dism /online /cleanup-image /?
If you enter that on your win 7 machine I think you will see the screen I posted in Post #11 above.
To run the command for store corruption, you need to run the last line in the screen shot repeated below:
Dism /online /cleanup-image /scanhealth
You entered:
Dism /online /cleanup-image /restoreHealth
That one is not listed in the help query which is why you get the error 87.
So, it continues to look like the command is supported but yet it produces a log file that shows corruption (see DismLog.txt attached in Post #4). This is what Iíd like to get resolved.
Thanks again for any help you might provide.
My System SpecsSystem Spec
.

16 May 2015   #14
PaulSoebekti

Win 7 64 bit
 
 

Tweakit: GokAy in post #6 had the answer spelled out for you.

I experienced the very same problem as you had - on three machines.
I recovered one from a backup image and installed ALL the May 12th updates EXCEPT for KB 3022345.
That solved the negative SFC scans.

Then I just went to the installed windows updates - uninstalled KB 3022345 - restart and all is well.
The last two repairs were quick as I don't have to re-image the hard drive ...

Hope this helps.

Paul
My System SpecsSystem Spec
16 May 2015   #15
Tweakit

Windows 7 professional 64 bit
 
 

Paul,
I am aware of post #6. I mentioned earlier that my SFC scans have been clean since I uninstalled KB3022345 per GoKAyís instruction in post #6. The question I posed in posts #8, #11 and #13 relates to the DISM command, the corruption it flags and itís application to the Windows 7 environment. Have you tried running the command below after you solved the KB3022345 problem?
"Dism /online /cleanup-image /scanhealth"
If so, please let us know what it found. The log file will be found here:
C:\Windows\Logs\CBS\CheckSUR.log
Thanks for your comments.
My System SpecsSystem Spec
Reply

 SFC /Scannow can't fix corrupt files.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
SFC Scannow Corrupt Files
SFC Scannow found corrupt files but can't fix them. Any ideas would be appreciated.
Performance & Maintenance
SFC scannow corrupt files
I've been having issues with some Windows updates for a while but most updates worked. I tried using CHKDSK at startup and it made it through 2/3 phases and after saying the 2nd was complete before hanging. I ran SFC /scannow in cmd and it gives me the message "Windows Resource Protection found...
Performance & Maintenance
SFC /Scannow found corrupt files, is it necessary to fix?
Hello, I have a Windows 7 Starter Netbook with Intel Atom. I decided to do a SFC /Scannow command on it, despite it not experiencing any issues for a test. (Quite the opposite actually, very fast under 30 second startup, best health yet) But, it found corrupt files. I ran SFC /Scannow 4 times...
Performance & Maintenance
BSOD & Scannow Corrupt Files
Hello to everyone, I am new here & looking for help with a computer issue. Any help given is greatly appreciated. I'll start from the beginning. For awhile now but only occasionally I am getting BSOD crashes & then the computer restarts. So today I decided to do some detective work & try to find...
BSOD Help and Support
SFC SCANNOW help. corrupt files unable to get fix
hi all, i am running windows 7 professional 64 bit. i tried running sfc/scannow and windows resource protection found corrupt files but was unable to fix. the cbs.log file is attached. can i get some suggestions what to do next.?
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 05:56.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App