Questions tagged [sfc]
The sfc tag has no usage guidance.
74
questions
15
votes
1
answer
6k
views
What is the purpose of the DISM /RestoreHealth parameter and SFC?
What is the purpose of the DISM /RestoreHealth parameter and the SFC /ScanNow parameter?
How do they correlate to one another?
In what order should they be run?
Why does the order sequence matter ...
0
votes
1
answer
4k
views
Does DISM CheckHealth need either internet or Windows ISO to give an accurate result?
Using an elevated command prompt, on a PC without an internet connection or a downloaded Windows 10 ISO, I entered:
Dism /Online /Cleanup-Image /CheckHealth
It takes a few seconds, with the result:
...
3
votes
1
answer
10k
views
sfc /scannow: What does "Duplicate ownership for directory" mean and how do I fix it?
I'm running WIndows 10 version 1709 (OS Build 16299.248). When I run sfc /scannow, it results in:
Windows Resource Protection found corrupt files but was unable to fix
some of them. Details are ...
1
vote
2
answers
74
views
How can I fix issues in Windows 11 without uninstalling programs when SFC and DISM fail
Disclosure: My system does not meet the requirements for Windows 11 and was installed by bypassing requirements.
I have been experiencing numerous problems with my system including failed Windows Apps,...
2
votes
1
answer
18k
views
How to find repaired files by reading CBS.LOG
I ran sfc /scannow
Get the message
Windows Resource Protection found corrupt files and successfully
repaired them. For online repairs, details are included in the CBS log
file located at windir\Logs\...
0
votes
0
answers
188
views
WINLOAD.EFI CORRUPTED - Can't boot into OS normally, or via Safe mode and system restore won't work Windows 11
I can't boot into windows after a serious crash. Each time I boot, I get a critical process died or BSOD reporting different error codes around the BCD configuration file or winload.efi not being able ...
4
votes
2
answers
22k
views
Run sfc /scannow or chkdsk /f first
Is it better to run ChkDsk /f first, then Sfc /ScanNow or is it better to run the other way around, and does it matter which is run first, as I see no guides online saying which is the best option?
2
votes
0
answers
7k
views
How to stop Dism.exe /online /Cleanup-Image /StartComponentCleanup?
I have a Windows Server 2026 that executes Dism.exe /online /Cleanup-Image /StartComponentCleanup now for more than one day.
This task is executed by TiWorker.exe. I read that it is not save to ...
0
votes
1
answer
731
views
Windows has had a BSoD, sfc /scannow not working
yesterday my windows 10 PC went trough a update, after it it worked normally, during the night I was compiling resources for a Linux OS in Virtual Box and after 1 hour or so I had a blue screen of ...
2
votes
1
answer
624
views
Windows 10 1709 Won't Upgrade / DISM Errors
I am trying to install a more current version of Windows 10 but everything I have tried has failed. I don't know if problems with sfc /scannow and DISM are related but the latter is also problematic. ...
1
vote
1
answer
2k
views
Windows Dism.exe /RestoreHealth /LimitAccess, no /Source, Where is the Features on Demand location and should I use it?
Regarding the command Dism.exe /Online /Cleanup-Image /RestoreHealth /LimitAccess
Normally /RestoreHealth is used without /LimitAccess, which makes Dism use Windows Update to compare against the ...
0
votes
1
answer
6k
views
How do I fix this file that SFC flags as corrupted if using a copy straight from a brand-new ISO doesn’t work?
I recently set up a new Windows 10 PC (then v20H2), and whilst customizing it, I replaced the default “new email” sound (C:\Windows\Media\Windows Notify Email.wav) with the Win8.1 version, which I ...
1
vote
1
answer
751
views
How Verify if SFC has found errors
I want to run SFC command in a cmd file. At the ende of the check i would like to verify whether SFC has found errors (that an error message can be displayed) or not. Unfortunately errorlevel seems ...
1
vote
2
answers
5k
views
Error 0x80070780 - The file cannot be accessed by the system. How can I delete this folder?
When I try to delete the folder named C:\Program Files\WindowsApps\FocusHomeInteractiveSA.APlagueTaleInnocence-Window_1.0.5.0_x64__4hny5m903y3g0 I get the error...
The file cannot be accessed by ...
5
votes
2
answers
4k
views
How does sfc repair the dllcache backup directory?
According to System File Checker (sfc) Documentation sfc will follow certain procedures to determine whether a system file is corrupt.
If sfc discovers that a protected file has been overwritten, it
...
0
votes
2
answers
10k
views
Windows - can't run "sfc /scannow", because another maintenance task is in progress
I tried to fix a friends laptop by repairing corrupt system files with sfc /scannow but I always get a message saying something like "there is another maintenance in progress" please try it later. But ...
6
votes
3
answers
16k
views
Windows 10 DISM cannot find files, even with ISO mounted
After running sfc /SCANNOW in my Windows 10 Pro installation, and getting
"Windows Resource Protection found corrupt files but was unable to fix
some of them. Details are included in the CBS.Log
...
0
votes
1
answer
110
views
Having to run Windows 10 System File Checker every few months
My question is should I schedule a sfc /scannow on my latop once every week to prevent the startup issues I'm describing below or does anyone have any other ideas for me.
Every few months on my ...
1
vote
1
answer
161
views
Can't Run SFC Scannow (Windows 10, Dell XPS 8500)
I have been having issues trying to update Windows.
Whenever I access anything related to the Windows update processes that program freezes up. I try to check updates from the settings menu and the ...
10
votes
2
answers
32k
views
How do I analyze the 'CBS.log' file generated by the 'sfc' command to detect corrupt files in Windows 7?
I have some problems with my Windows 7 system so I've ran sfc /scannow. I'm getting this message:
Windows Resource Protection found corrupt files and was unable to fix some of them...
I also ...
0
votes
1
answer
4k
views
Corrupted .NET Framework 4.0 Installation on Windows 10
After a bad Windows Update, sfc /scannow has confirmed that a bunch of .NET Framework 4.0 files are "corrupt". Here is an extract from the logs listing all corrupted files:
C:\WINDOWS\...
1
vote
0
answers
114
views
How is Windows 10 still checking my disks at boot when I have deleted all the chkdsk exe files?
Background
I have a Windows 10 Pro (20H2) computer that will always begin a chkdsk on my E: drive on boot. The E: drive is an 11TB volume created with Window's "Manage Storage Space" tool.
...
1
vote
2
answers
36k
views
Windows 10: sfc and dism cannot repair corruption
There are several posts along this line, but the fixes that answered other questions did not solve my problem.
Windows 10 Pro
Upgraded from W7 Pro, then did a "Reset", as I was having some ...
0
votes
1
answer
464
views
Server 2012 - Unable to install Windows Updates
We are having issues installing windows updates(we use Ivanti to install updates) on Server 2012. SharePoint 2013 is installed on this server. An example is KB4540726 won't install. Manually ...
0
votes
0
answers
39
views
Can I repair Windows 10 v1909 system files with a v2004 ISO?
I have a laptop running Windows 10 v1909 with system file corruption that DISM and SFC are not able to repair. Can I repair it with a v2004 ISO image, without upgrading to the newer version?
1
vote
0
answers
2k
views
What does "offline boot directory" refer to in the /OFFBOOTDIR SFC option?
There are bunch of tutorials/instructions out there how to SFC-scan a Windows (Vista+) installation other than one booted, e.g.
Sfc.exe /ScanNow /OffBootDir=E:\ /OffWindir=D:\Windows /OfflogFile=E:\...
2
votes
0
answers
3k
views
How to execute DISM from Windows 10 PE on Win 10 system with Windows Update / Microsoft as source only?
I've got a corrupt Windows 10 installation (SFC noted Windows Resource Protection found corrupt files but was unable to fix someo of them...) so I tried to run DISM, from a Windows 10 PE USB ...
1
vote
1
answer
120
views
Windows 10 machine issues, instability, unreliable test results
I have two HP Elitebook 8540w machines. With the main machine (machine I use every day) if I run sfc /scannow it returns
Windows Resource Protection found corrupt files but was unable to fix some of ...
0
votes
1
answer
2k
views
DISM fails. Worked once, but SFC was failing. Now DISM fails on restore
I have a really strange problem similar to this, but not the same.
I started with sfc /SCANNOW and got the error:
Windows Resource Protection found corrupt files but was unable to fix some of them. ...
1
vote
1
answer
47k
views
How to run a system file check on an external HD?
I have a hard drive plugged into a dock that has Windows 7 installed on it, I would like to do a SFC on it, because when I do it internally it says some files can't be repaired, what is the command?
2
votes
0
answers
1k
views
Why Does SFC Always Get Stuck On This One File?
When I boot Windows the log shows then instead of the login screen it shows a black screen with a cursor. The same thing happens with safe mode.
When running Startup Repair the SrtTrail.txt says a ...
3
votes
1
answer
853
views
Fixing Windows Update being unable to install updates while sfc and dism are unusable
At some point in the lifetime of my PC Desktop system I got two bluescreens in a row while playing video games. Following that I managed to stop the system from crashing by rewireing all hardware but ...
0
votes
0
answers
348
views
Why Won't Event Viewer, System Information, System Configuration apps launch off the Start menu on my Windows 2016 Server on Azure?
It seems I cannot start Event Viewer, System Information, and System Configuration when I click the Start menu and start typing in their names to search for them; clicking their icons when they appear ...
1
vote
1
answer
71
views
Unable to boot into Windows 8.1 after repeated bsod
I have a 6yr old Lenovo laptop. It suddenly started giving me repeated blue screen on trying to startup, and I wasn't able to boot into Windows at all. I created a Windows 8.1 ISO on USB flash drive ...
0
votes
0
answers
3k
views
"chkdsk /r" to confirm no error OR "chkdsk /f" to avoid heavy loading to HDD?
Recently I got "Reallocation Event Count" (C4) warning in SMART test for my notebook harddisk(HDD). I've cloned the whole HDD sector-by-sector to a brand new one using a external HDD docking.
Then I ...
2
votes
1
answer
22k
views
How do I fix "Windows Resource Protection could not perform the requested operation" on sfc /scannow
I have a problem on my Windows 8.1 PC where it displays a BSoD that says CRITICAL_PROCESS_DIED. I saw a page and it says that I have to run sfc /scannow. I went to the automatic repair and got to the ...
4
votes
2
answers
44k
views
Is there a way to cancel sfc /scannow in windows 7?
After launching the sfc /scannow resource checker from a command prompt or a batch file, is there any way to cancel the process or does the process have to be left to complete?
In Windows XP, sfc /...
0
votes
1
answer
190
views
Updated Windows, now keep getting logged off. Can log in in Safe Mode
So I finally got around to installing the latest update to Windows this morning, and am getting logged out fairly shortly after logging in, depending on what I do. So I'm going to list all the ...
1
vote
1
answer
163
views
SFC does not work neither windows update and system reset return an error
TL;DR:
sfc does not run even in offline mode, Windows update can't install updates, dism reports no error, Windows is unable to do a reset. What can I do fix this problem?
I first noticed the problem ...
0
votes
1
answer
3k
views
SFC /SCANNOW: RPC server is unavailable
Not sure what's happened, but an old machine that we use for accounts has worked for years. There's no real updates for Windows XP anymore, so nothing should have changed. We don't use it for anything ...
14
votes
6
answers
74k
views
Windows 10 DISM error: 0x800f081f
I have been trying to run sfc /scannow in cmd but have been unsuccessful. Therefore, after some research on the Internet, I turned to the following command:
DISM /Online /Cleanup-Image /RestoreHealth ...
0
votes
0
answers
3k
views
SFC - System File Checker stuck at 23 24% - Windows Resource Protection could not perform the requested operation
Running SFC after 2 Power Failures on Desktop Windows 8.1 Pro.
Details here:
Opera error “Can’t open user profile directory, because you lack sufficient privileges.” after Power Loss
Additional ...
1
vote
0
answers
486
views
Windows 8.1 black screen with cursor, no safe mode, sfc not working
I'm trying to repair my computer from booting into a blackscreen through the CMD mode (safe mode isn't working), after seeing that Startup Repair couldn't repair my PC. When I type sfc /scannow, I get ...
0
votes
1
answer
486
views
Repair file detected as corrupted by System File Checker
I ran the sfc /scannow today on the system and it returned the following:
Windows Resource Protection found corrupt files but was unable to fix
some of them. Details are included in the CBS.Log
...
0
votes
1
answer
923
views
What hash type is used by DISM / SFC?
What hash type is represented below?
Example 1: 0h+p0j3/Y9s1ly0mqtU741bzLjqz12mDQGKtVScMeKg=
Example 2: uNryI5MYSV5U5O1NuFPGYexSxm2nLFrRXVqga+nQjw4=
These hashes came from the CBS.log file after ...
49
votes
8
answers
250k
views
How do I repair the corrupted files found by sfc /scannow? "Windows Resource Protection found corrupt files but was unable to fix some of them."
In Windows 7, after running chkdsk C: /F /R and finding out that my hard disk has 24 KB in bad sectors (log is posted below), I decided to run Windows 7's System File Checker utility (sfc /scannow).
...
0
votes
1
answer
3k
views
Windowsupdate failure for specific packages
A computer at work is driving me batty. It running Win7 x64 Enterprise on a Intel Xeon processor). KB3102429 (v2) has been failing for the past few months, several times a day, cluttering up the HDD ...
0
votes
2
answers
1k
views
Windows 8.1 absolutely broken - can't repair, refresh, reset & upgrade
I've recently started to notice problems in Windows 8.1, when I couldn't launch my Visual Studio 2015. Being totally fed up with that, I decided to reinstall windows. (problem with VS was unrepairable ...
0
votes
0
answers
310
views
What is blocking sfc from running if there are no violations?
I have a handful of Win7 Pro x64 machines with the same problem. Something is causing Windows to malfunction in different ways but it seems to be settings or parameters set up rather than corruption.
...
1
vote
4
answers
423
views
Why won't my Windows 7 machine boot?
A couple of months ago, my Win7 PC unexpectedly became unable to boot normally. I'm able to boot into the various Safe Modes, but everything else fails (including what is sometimes called a "clean ...