Home > Article > Operation and Maintenance > How to Repair Corrupted cbs.log File in Win10
Repair the damaged cbs.log file in Win10: First open the command prompt as an administrator; then in the command line, type [sfc /scannow] and press Enter; finally type the relevant commands and enter each Press the Enter key after the command.
#The operating environment of this article: Windows 10 system, Dell G3 computer.
How to repair damaged cbs.log file in Win10:
Solution 1: Scan for malware and run SFC again
System File Checker will be a tool that will register corruption of system files and provide you with some insights. However, it will not handle some of them individually as they may require additional operations.
On the other hand, when the cbs.log file is corrupted, we strongly recommend you scan it for malware. This could be a false positive or the result of a system infection with malware.
Here's how to run a deep offline scan using Windows Defender:
--Open Windows Defender from the taskbar notification area.
--Select virus and threat protection.
--Select scan options.
--Select Windows Defender offline scan.
--Save everything you are doing as this mode will restart your PC.
--Click Scan Now.
Then, open a command prompt as an administrator and run sfc /scannow
again to confirm that the error has been resolved. If not, go to other steps.
Solution Two: Run DISM
If your PC is malware-free but still encountering the same error, we recommend You run DISM alongside the System File Checker utility. Deployment image servicing and management tools should make it easy to repair any system damage.
Here's how to run DISM along the SFC from an elevated command prompt:
Open the command prompt as administrator.
In the command line, type sfc /scannow
and press Enter.
When finished, type the following commands and press Enter after each command:
dism / online / cleanup-image / checkhealth dism / online / cleanup-image / restorehealth
Restart your computer when everything is over.
The above is the detailed content of How to Repair Corrupted cbs.log File in Win10. For more information, please follow other related articles on the PHP Chinese website!