[SOLVED] Windows Updates are failing on Windows Server 2022- CBS folder is missing log files.

syslog232

Contributor
Joined
Dec 5, 2024
Posts
27
Good Mroning,

We have a Windows server 2022 with SQL server 2019 standard installed. Windows updates including SQL updates are failing on the server.
When we tried to look into CBS folder it is completely empty. There are no log files in CBS folder under c:\windows\logs\.
We have run sfc scannow and DISM commands, reset windows updates components but still the same issue, CBS is still missing files and updates are failing.
Any idea what is wrong?
 
Hi @syslog232,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
Hi, just an update. We are building a new server to replace the SQL server with windows updates failing. I still like to know why CBS folder is empty , why the log CBS.log file is not being created.
 
Hi,

Have you checked the permissions on that folder? icacls C:\Windows\Logs\CBS.
And was it only the CBS log(s) or the DISM logs as well in this DIR: C:\Windows\Logs\DISM?
 
Hi,

yes and the user administrator has full access. Actually, there was no CBS folder under C:\Windows\Logs we manually created it hoping that
it would start creating cbs log files but that did not work. If there is there is nothing very obvious, we missed then we can close this case.
We built a new Server for the customer, and they are in the process of migrating database from the old (problem) server to the new one.
I was just curious to know why the CBS folder was not there and cbs logs were not being created.
Thanks for your response. I really appreciate your support.
 
When the CBS folder was accidentally deleted, Windows will recreate that folder automatically when you run SFC /Scannow. So I don't know what happened on this server, although it looks like a permissions issue. Maybe the the following command would help to resolve this isssue.
Code:
icacls "C:\Windows\Logs\*" /t /q /c /reset
or:
Code:
icacls "C:\Windows\Logs\CBS" /t /q /c /reset
 
sorry for late response. Since we are not working on the server any more, I won't be able to try the commands but I will make a note of it for future use.
You can consider this case closed. Thanks for your reply and support.
 

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

Back
Top