Large Servicing\LCU folder on a large number of server core servers.

Lucas Lichte 6 Reputation points
2021-03-01T18:05:15.87+00:00

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?

Windows for business | Windows Server | User experience | Other
{count} vote

9 answers

Sort by: Most helpful
  1. Anonymous
    2021-03-03T14:57:39.063+00:00

    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--

    1 person found this answer helpful.

  2. Marcin Szymanek 6 Reputation points
    2021-08-16T10:08:12.143+00:00
    1 person found this answer helpful.
    0 comments No comments

  3. Jenny Feng 14,246 Reputation points
    2021-03-02T02:35:34.803+00:00

    @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.

    0 comments No comments

  4. Lucas Lichte 6 Reputation points
    2021-03-02T22:25:58.783+00:00

    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.

    0 comments No comments

  5. Anonymous
    2021-03-02T22:54:51.477+00:00

    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--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.