Corrupt CBS.log file found using sfc/scannow

Hi,

I ran sfc /scanner and:

Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios.

Image

Then, I ran dism /online /cleanup-image /checkhealth and:

[==========================100.0%==========================]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more informat
ion on specifying a source location, see Configure a Windows Repair Source.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.logImage

Now what can I do?

Hello,

Thank you for posting your query on Microsoft Community.

The Error 0x800F081F means that a file needed by Windows Update is damaged or missing.

I suggest you to Reset the Windows Components and check if it resolves the issue.

Reset the BITS (Background Intelligent Transfer Services) service, the Windows Update service, and the Cryptographic service which enables the detection, download and installation of the Windows Updates. Follow below steps:

1. Right click on Start button and select Command prompt (Admin).

2. Stop the BITS, Cryptographic, MSI Installer and the Windows Update Services. To do this, type the following commands at a command prompt. Press the "ENTER" key after you type each command.

net stop wuauserv

net stop cryptsvc

net stop bits

net stop msiserver

3. Rename the software distribution folders backup copies. To do this, at a command prompt, type the following commands. Make sure that you press Enter after you type each command.

Ren %systemroot%\SoftwareDistributionSoftwareDistribution.bak

Ren %systemroot%\system32\catroot2 catroot2.bak

4. Now, let’s restart the BITS, Cryptographic, MSI Installer and the Windows Update Services. Typethe following commands in the Command Prompt for this. Press the ENTER key after you type each command.

net start wuauserv

net start cryptsvc

net start bits

net start msiserver

5. Type Exit in the Command Prompt to close it and then restart the computer.

6. Check to see if the issue is resolved. If not, restart the system and try to install the update.

Hope this helps. If the issue remains unresolved, please get back to us and we would be happy to help.

7 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Try running DISM mentioning the source. You need the ISO. Instructions are at:

http://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-10-image

______________________________________________________________________________________________________
Ramesh, Windows Shell MVP 2003-2012.
If this post resolves your issue, pls mark it as an Answer.

2 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Hi,

6. Do you mean restart my PC? And how can I install the update? http://windows.microsoft.com/en-gb/windows-10/getstarted-choose-how-updates-are-installed ? What about my files? My files will be safe?

I will try doing. Thank you for helping me! If I have any problems, I will get back to you.

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

Ren %systemroot%\SoftwareDistributionSoftwareDistribution.bak

when i enter this in command prompt ,it says syntax of the command is incorrect.

62 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated March 14, 2025 Views 31,335 Applies to: