[SOLVED] Server 2019 - SFC found corrupt files - DISM restorehealth: 0x800f0954

Please run the following commands from an elevated command prompt .....

Code:
net stop wuauserv
net stop bits
rename %systemroot%\SoftwareDistribution SoftwareDistribution.old
net start wuauserv
net start bits

.... and when completed, please try updating your computer, and report back what happens.
 
Can you please post your latest CBS.log
Can you please ...

  • Open a search and type Powershell
  • Click on the Powershell icon to open a Powershell window.
  • At the prompt type ... Get-WindowsUpdateLog ... and then hit return.
  • Windows will collect details of your updates and when finished create a logfile ... WindowsUpdate.log ... on your Desktop.
  • Please post me that log as well.
 
Download FRST64 to your Desktop.

  • Download the attached fixlist.txt and save it to the same location as FRST (must be in same folder or it won't process).
  • NOTICE: This script was written specifically for this user. Running it on another machine may cause damage to your operating system
  • Start and run FRST
  • Now press the Fix button once and wait.
  • FRST will process fixlist.txt
  • When finished, it will produce a log fixlog.txt in the same folder/directory as FRST64.exe
  • Please post me the log
 

Attachments

  • Open the Start menu and type gpedit.msc and press enter.
  • Navigate to: Computer Configuration > Policies > Windows Settings > Security Settings > System Services.
  • If the service Delivery Optimization is set to disabled change it to Not Configured / startup Not Defined.
 
Going to have to consult again on this, will get back to you ASAP, but probably won't be today.
 
Please check ....

Computer Configuration > Administrative Templates > Windows Components > Delivery Optimization

... because the problem you appear to have is that your Delivery Optimization (DoSvC) service is being prevented from starting ...

SERVICE_NAME: DoSvc
TYPE : 30 WIN32
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1066 (0x42a)
SERVICE_EXIT_CODE : 2147942405 (0x80070005)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

... and the most likely reason for that is that you have a policy in place that is responsible.


If there's nothing there, then we're going to have to try something else to discover why, but I'll wait till I hear back from you on this before giving you any further instructions.
 
All options are "not configured"
Bottom screendump blurred just to filter out already shown options in top screen dump

delivery-opti-1.pngdelivery-opti-2.png
 
OK, then let's try the following, to see whether we can find out what's responsible.

  • Download and run Process Monitor
    • Leave this running while you perform the next steps.
      • Open Services.msc
      • Scroll down to Delivery Optimisation and double click on it to open its Properties window
      • Under Service status: click on Start
  • Stop Process Monitor as soon as it fails.
    • You can simply do this by clicking the "Square" icon on the toolbar (third one from the left) or by hitting Ctrl+E
  • Select the File menu ... Save ... and save the file to your Desktop.
    • The name will be LogFile.PML.
  • Zip the file, and upload to a file sharing service.
  • Provide the link to LogFile.PML
  • Examples of services to upload to are WeTransfer and TransferKit and SendFileOnline
 
Gonna take me a while to go through the log, and will likely need to consult, so may be some time before I get back to you.
 
Please can you run the following elevated command ....


SC sdshow DoSvc > "%userprofile%\desktop\DoSvc.txt"

.... and post me the file DoSvc.txt created on your Desktop.
 
  • Download the attachment SFCFix.zip and save it on your desktop.
  • Save any work you have open, and close all programs.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
1p8eDnI.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt
  • Open the file, then copy and paste its content in your next reply.
 

Attachments

Here is the content:

SFCFix version 3.0.2.1 by niemiro.
Start time: 2024-05-03 12:40:33.511
Microsoft Windows Server 10 Build 17763 - amd64
Using .txt script file at C:\Users\Administrator\Desktop\SFCFixScript.txt [0]




FileScan::
[0: 2] C:\Windows\WinSxS\amd64_microsoft-windows-deliveryoptimization_31bf3856ad364e35_10.0.17763.1697_none_17cf181298e5b907\dosvc.dll
Expected: UNKNOWN Found: 9WAQz78NNrLXoCXS4312n7+AKhpU40Imt7x5xlV/Iig=
Expected: 10.0.17763.1697
Successfully traced component amd64_microsoft-windows-deliveryoptimization_31bf3856ad364e35_10.0.17763.1697_none_17cf181298e5b907.
Package_5725_for_KB5019966~31bf3856ad364e35~amd64~~10.0.1.9.5019966-10462_neutral2

[C:\Windows\System32\dosvc.dll]


[1: 1] C:\Windows\WinSxS\amd64_microsoft-windows-deliveryoptimization_31bf3856ad364e35_10.0.17763.1697_none_17cf181298e5b907\f\dosvc.dll
File is untraceable.
Found: aylzpvJGb7lrWzeWBdOPEjIO3Xblu39mNzDDyECGqIg=
Version number not available.
Trace not available.



[2: 1] C:\Windows\WinSxS\amd64_microsoft-windows-deliveryoptimization_31bf3856ad364e35_10.0.17763.1697_none_17cf181298e5b907\r\dosvc.dll
File is untraceable.
Found: hkRdJUwnoE8KX6w1F0H9LHYHcKKG/N2mRgmAOXsaUKo=
Version number not available.
Trace not available.
FileScan:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 4 datablocks.
Finish time: 2024-05-03 12:40:38.683
Script hash: dwW+0+e/7XZeJ1V/uf3hUw8jiU4vl4K08DmHbWAFWXg=
----------------------EOF-----------------------
 
Just to let you know that I'm still working on your problem.

What we've established so far, is that your Delivery Optimisation Service (DoSvc) is not starting, and this appears to be an access issue.

However, so far when I've checked the various permissions related to that service, they appear to be identical to those on my WS2019 VM.

So at the moment I'm re-checking all that we've done so far, to see whether I've missed anything that may be pertinent. May take me some time, and no guarantee that I'll find anything, but I will get back to you, just don't know quite when that will be at this point.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top