Windows Server 2008R2 disk cleanup with limited space

Chris 1 Reputation point
2020-09-30T11:03:36.567+00:00

I have a physical server with 60Gb system drive but the winsxs folder contains over 30Gb of updates. Running Disk Cleanup finds these updates and wants to clear them out but the task doesn't complete.

Instead the CBS.log file fills up (grows to over 1Gb) and fills the remaining space on the system drive.

Is there a way to run the Disk Cleanup without creating the CBS.log or relocating this file to another drive so not to fill up the system drive?

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

3 answers

Sort by: Most helpful
  1. Jenny Feng 14,246 Reputation points
    2020-10-01T03:18:28.347+00:00

    @Chris
    Hi,
    You could use the following extra ways to free up disk space in Windows Server:
    https://www.saotn.org/5-extra-ways-to-clean-up-disk-space-in-windows-server/

    You can also move the Windows SoftwareDistribution folder to a different partition.
    https://www.saotn.org/windows-server-disk-cleanup/#move-windows-server-softwaredistribution-folder
    Please note: The given technical support contact information belongs to a third party and may vary without notice. Microsoft does not guarantee the information accuracy.
    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.

    1 person found this answer helpful.
    0 comments No comments

  2. Leon Laude 86,031 Reputation points
    2020-09-30T11:06:01.987+00:00

    Hi @Chris ,

    Something here might help:

    Clean Up the WinSxS Folder
    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/clean-up-the-winsxs-folder

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    0 comments No comments

  3. Chris 1 Reputation point
    2020-09-30T11:09:59.717+00:00

    Thanks @Leon Laude but that looks like it relates to Windows 10/Server 2016 rather than 2K8R2.

    I've tried the DISM commands, in particular the /SpSuperceded switch but it finishes with a message about not finding a service pack installed (or something similar). The server has SP1 installed but I think the 30Gb+ is an accumulation of updates since SP1.


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.