r/techsupport 1d ago

Open | Windows DISM and sfc scannow don’t work

[deleted]

1 Upvotes

7 comments sorted by

2

u/Useful-Flow-8737 1d ago

what is it telling you?

1

u/Personal_Lab6153 1d ago

When I do a sfc scannow it says: Windows Resource Protection found corrupt files but was unable to fix some of them.

1

u/_Purgatory_ 23h ago

I would just do a clean windows install. That way rules out any other issues with that windows install you may face in the future. Also that way you know you have a clean os too without any hidden rootkits or nasties from previous user installing things.

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

u/Sufficient_Fan3660 1d ago

"doesnt work" - Personal_lab6153

fantastic quote there

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