Might give this a go.
https://www.stephenwagner.com/2020/01/31/disk-cleanup-on-windows-server-2019-server-core-edition/
--please don't forget to Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We have a large number of server 2019 core servers where the C:\Windows\Servicing\LCU folder is >6GB in size. I've done some research and found that this can be cleared with the Update Cleanup portion of the Disk Cleanup Manager, but of course that's not an option on server core. Has anyone found a good way to deal with sudden bloat in these folders?
Might give this a go.
https://www.stephenwagner.com/2020/01/31/disk-cleanup-on-windows-server-2019-server-core-edition/
--please don't forget to Accept as answer
if the reply is helpful--
@Lucas Lichte
Hi,
LCU stands for Last Cumulative Update. It seems it's just a backup folder in case you may want to uninstall latest CU.
Some users manually deleted the folders, looks like no noticeable side-effects so far.
You could refer to the following link for reference:
https://www.tenforums.com/general-support/154731-lcu-folder-large-but-what.html
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Hope above information can help you.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
No, I Googled too, and found that. I've tried doing a gci -recurse | remove-item -recurse, but it only partially cleans it - it fails as "unable to find" a bunch of the files, and I'm still seeing 2GB left in it. And of course, most people suggest disk cleanup, but as I've said previously, that's not an option on Server Core. So thanks, but that's not a ton of help.
Might try bypassing the recycle bin, I had issues with a long file name limitation.
--please don't forget to Accept as answer if the reply is helpful--