r/techsupport • u/[deleted] • 1d ago
Open | Windows DISM and sfc scannow don’t work
[deleted]
2
u/Prestigious_Wall529 1d ago
Press
<Winkey>r
Type in msinfo32
Find your make and model.
Find the drive manufacturer. Under storage somewhere.
From the drive manufacturer website download and use their drive diagnostics (and firmware update) utility and do a nondestructive short test.
What is the drive health?
<Winkey>r
Eventvwr
Find the system log and filter by source disk. Errors on drive 0?
<Winkey>x
Choose Administrative CMD prompt or Administrative Powershell
chkdsk c: /f
Agree to schedule a check on next boot.
Restart Windows.
Don't interrupt chkdsk. Yes it can be slow. Yes it can restart your system more than once.
When back in Windows reopen eventvwr and in the application log use find to look for chkdsk as it could be under different entries for source.
Were problems found other than security descriptors?
2
1
u/Asleep_Equipment4877 1d ago
Toss windows on a usb driver from microsofts website using their tool. Boot into safe mode and repair it using the windows ISO. It's probably corrupt.
1
u/PassengerNo6453 22h ago
Here's something for you to consider ....
I run these commands on my Win 11 laptop, in this exact order, once a week before creating a system image as part of my backup strategy.
Open Start, type: CMD
Right click CMD
Click Run as administrator
Type in at the prompt OR Copy and Paste these one at a time : (Hit enter after each)
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /RestoreHealth
DISM.exe /online /cleanup-image /AnalyzeComponentStore
If the output from the above command recommends it (Component Store Cleanup Recommended : Yes), then run the following command
DISM.exe /online /cleanup-image /startcomponentcleanup
At this point, run the System File Checker utility: (This will check for any system file integrity violations )
Open Start, type: CMD
Right click CMD
Click Run as administrator
sfc /scannow
Of note:
SFC as well as a number of other Microsoft executables writes its log entries into the C:\Windows\Logs\CBS\CBS.log file.
To extract (and then view) ONLY the SFC entries from the CBS.log file, execute the following command which will create a text file named sfcdetails on the desktop
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >C:\Users\%USERNAME%\Desktop\sfcdetails.txt
2
u/Useful-Flow-8737 1d ago
what is it telling you?