You can use the System File Checker tool to repair damaged system files.
Follow these steps:
Press the Windows + X keys and select Symbol of the System (Administrator) or Windows PowerShell (Administrator), in the window that will open, you must type the commands in their respective order:
• DISM.exe /Online /Cleanup-image /Scanhealth
• DISM.exe /Online /Cleanup-image /Restorehealth
• DISM.exe /online /cleanup-image /startcomponentcleanup
• sfc /scannow
Each of these actions may take a few minutes, so it is important to execute one at a time. At the end, you must restart the PC.
Check this link:
https://support.microsoft.com/en-us/help/929833...
Tried all the steps but error still happens.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Windows\system32> DISM.exe /Online /Cleanup-image /Scanhealth
Deployment Image Servicing and Management tool
Version: 10.0.18362.1
Image Version: 10.0.18362.295
[==========================100.0%==========================] No component store corruption detected.
The operation completed successfully.
PS C:\Windows\system32> DISM.exe /Online /Cleanup-image /Restorehealth
Deployment Image Servicing and Management tool
Version: 10.0.18362.1
Image Version: 10.0.18362.295
[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.
PS C:\Windows\system32> DISM.exe /online /cleanup-image /startcomponentcleanup
Deployment Image Servicing and Management tool
Version: 10.0.18362.1
Image Version: 10.0.18362.295
[===== 10.0% ]
[==========================100.0%==========================]
The operation completed successfully.
PS C:\Windows\system32> sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
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\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag.
PS C:\Windows\system32>
Im thinking on installing an older version of Windows 10 like the 1809 - OS build (17763.720)