we try to update the windows server 2019 getting failed and we try to install manually also not working.

Anonymous
2025-01-24T10:52:46+00:00

we try to update the windows server 2019 getting failed and we try to install manually also not working.

Please find the error screenshot.

We tried below mention steps also but same issue.

SC config trustedinstaller start=auto
net stop bits
net stop wuauserv
net stop msiserver
net stop cryptsvc
net stop appidsvc
Ren %Systemroot%\SoftwareDistribution SoftwareDistribution.old
Ren %Systemroot%\System32\catroot2 catroot2.old
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
netsh winsock reset
netsh winsock reset proxy
rundll32.exe pnpclean.dll,RunDLL_PnpClean /DRIVERS /MAXCLEAN
dism /Online /Cleanup-image /ScanHealth
dism /Online /Cleanup-image /CheckHealth
dism /Online /Cleanup-image /RestoreHealth
dism /Online /Cleanup-image /StartComponentCleanup
Sfc /ScanNow
net start bits
net start wuauserv
net start msiserver
net start cryptsvc
net start appidsvc

Windows Server Performance and maintenance

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-01-27T01:53:05+00:00

    Hello,

    Thank you for posting in Microsoft Community forum.

    Based on the description, I understand your question is related to update.

    Please firstly run below command to scan some system files and check result:

    sfc /scannow
    
    Dism /Online /Cleanup-Image /restoreHealth
    

    Create folder C:\temp\cab 

    Download the update from Microsoft Update Catalog to C:\temp 

    Expand the .msu file to extract the .cab file by running below command in CMD: 

    expand -F:* C:\temp\{.msu file name with extension} C:\temp\cab
    

    You will get a .cab file from last step, use the following DISM command to add package: 

    Dism /online /add-package /packagepath:c:\temp\cab\{.cab file with extension}
    

    If there is no error, reboot the machine

    Have a nice day. 

    Best Regards,

    Molly

    1 person found this answer helpful.
    0 comments No comments