1: Run chkdsk on your boot drive to ensure there is no filesystem corruption. Reboot when it is finished.
Copy to Clipboard
Chkdsk c: /f After starting a chkdsk on the C: drive, Windows will reboot and run the scan. It will then reboot back into windows. To check the results, run this powershell command, or open Event Viewer, Application Log, and look for the Source to be Wininit. Copy to Clipboard
Get-EventLog -LogName Application -Source wininit | select -First 1 -ExpandProperty Message
2: Run System File Checker: Copy to Clipboard
sfc /scannow 3: Check for issues: Copy to Clipboard
DISM /Online /Cleanup-Image /CheckHealth 4: Check more thoroughly for issues: Copy to Clipboard
DISM /Online /Cleanup-Image /ScanHealth 5: Repair Windows image: Copy to Clipboard
DISM /Online /Cleanup-Image /RestoreHealth 6: Restart your computer and test. This is the end of the steps for general fixes, the commands below are specialized and you probably don't need to run them, stop here unless you know exactly what you are doing. The below options are only if you are booting from a USB recovery environment If you are performing this recovery while not booted into the running Windows, use this syntax. This assumes C: is the Windows drive to be repaired, and E: is the Windows Install USB drive. Copy to Clipboard
sfc /SCANNOW /OFFBOOTDIR=C:\ /OFFWINDIR=C:\windows
DISM /Image:C:\ /cleanup-image /CheckHealth /source:e:\sources\install.wim /scratchdir:c:\windows\temp
DISM /Image:C:\ /cleanup-image /ScanHealth /source:e:\sources\install.wim /scratchdir:c:\windows\temp
DISM /Image:C:\ /cleanup-image /RestoreHealth/source:e:\sources\install.wim /scratchdir:c:\windows\temp
If Windows is not booting after a failed windows update, then you can try to remove the update. Run this from Recovery image or while booted from a Windows USB drive. Copy to Clipboard
dism /image:C:\ /cleanup-image /revertpendingactions
| |
Search Keywords: Offline, Repair, Fix, Mend, freeze, crash, frozen, bug, glitch, sfc /scannow, dism cleanup |