[SOLVED] Unable to install latest Cumulative Update or Restore Health

JMG

Member
Joined
Aug 14, 2024
Posts
11
I am no longer able to install the latest Cumulative update on Windows Server 2019. When trying to RestoreHealth from command line get the error below. Tried to restore using downloaded ISO or Windows directory from another known good server with same results. Appreciate help with this issue.

DWLD: Download failed with 0xd0000034 [HRESULT = 0xd0000034 - NTSTATUS Error]
 

Attachments

Attached is the DISM log as well. Let me know if anything else is needed.
 

Attachments

Hi and welcome to Sysnative,

Step 1. Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

SFCFix version 3.0.2.1 by niemiro.
Start time: 2024-08-18 11:33:57.427
Microsoft Windows Server 10 Build 17763 - amd64
Using .zip script file at C:\Users\xxxx\Desktop\SFCFix (2).zip [0]




PowerCopy::
Successfully took permissions for file or folder C:\Windows\WinSxS

Successfully created directory tree \\?\C:\Windows\WinSxS\x86_microsoft-windows-c..ervices-certocm-dll_31bf3856ad364e35_10.0.17763.5328_none_fb95483a221d6b3d\r.

Successfully copied file C:\Users\xxxx\AppData\Local\niemiro\Archive\WinSxS\x86_microsoft-windows-c..ervices-certocm-dll_31bf3856ad364e35_10.0.17763.5328_none_fb95483a221d6b3d\r\certocm.dll to C:\Windows\WinSxS\x86_microsoft-windows-c..ervices-certocm-dll_31bf3856ad364e35_10.0.17763.5328_none_fb95483a221d6b3d\r\certocm.dll.

Successfully restored ownership for C:\Windows\WinSxS
Successfully restored permissions on C:\Windows\WinSxS
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2024-08-18 11:35:02.041
Script hash: Wc82hCh8at7K4YQ4DhG4xldZErGIxF4ePj0xh3Crtu4=
----------------------EOF-----------------------
 

Attachments

I should have mentioned that after running the fix, Restore Health still came back with the same error. I did attach the CBS logs in the previous post.
 
Hi,

Yes, here's the next fix.

Step 1.
Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

After the last update the Restore Health operation did succeed. I did also run SFC /Scannow as well which finished successfully but found no corruption. I did attempt to install a recent Cumulative update but after restarting the server it rolled back the update. I really appreciate the help so far and am hopeful that we can get the update issue resolved as well.
 

Attachments

Hi,

Provide the profile information of this server.
  • Click the Start button and in the search box, type Command Prompt
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
    Copy and paste the following commands one at a time into the command prompt and press enter after each.
    Code:
    reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /s > "%userprofile%\desktop\ProfileList.txt"
    reg query "HKEY_USERS" >> "%userprofile%\desktop\ProfileList.txt"
  • These commands will collect the System and Application logs and create ProfileList.txt on your Desktop.
  • Attach this file in your next reply.
 
Rich (BB code):
2024-08-18 14:15:02, Info                  CSI    0000066a Performing HKCU for sid: S-1-5-80-2171854989-3312009253-3132117248-1218654537-481379047
2024-08-18 14:15:02, Error                 CSI    0000066b (F) STATUS_OBJECT_NAME_NOT_FOUND #181659# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey(flg = (AllowAccessDenied), key = {provider=NULL, handle=0, name= ("null")}, da = (KEY_READ|KEY_WOW64_64KEY), oa = @0x993e07baf8->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[77]'\Registry\USER\S-1-5-80-2171854989-3312009253-3132117248-1218654537-481379047'; a:(OBJ_CASE_INSENSITIVE)}, disp = Unmapped disposition: 1040693464)[gle=0xd0000034]
2024-08-18 14:15:02, Error                 CSI    0000066c@2024/8/18:18:15:02.847 (F) onecore\base\wcp\sil\ntsystem.cpp(5348): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey expression: (null)
[gle=0x80004005]

Rich (BB code):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-80-2171854989-3312009253-3132117248-1218654537-481379047
    ProfileImagePath    REG_EXPAND_SZ    %SystemRoot%\ServiceProfiles\SqlServerExtension

It looks like the highlighted SID is the issue, is this service profile still in use?
 
Yes, this profile is still active and the corresponding service is running.
 
Are you able to schedule a maintaince moment to disable all the SQL services to update again?
 
I did try to stop all of the running SQL services and then try the Windows update but again it failed. I did not disable the service on startup though so I think may be needed and will try that after hours tonight.
 

Attachments

Okay, I would definitely disable those services as well, because the same error is reported.
 
After disabling the service the next install attempt did successfully update. Thanks for all of your help.
 
Hi,

You're welcome. Glad to hear the update installed successfully this time.. (y)
I will mark this thread as solved.
 

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

Back
Top