Is it possible to configure location of log files in windows/logs/CBS folder on a different disk other than C drive?

BlueDogVIP 21 Reputation points
2021-09-30T17:04:12.777+00:00

Our C drive is building up on log files from windows/logs/CBS folder. Is there an environment variable that allows the folder for the log files to be pointing to another location?

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

1 answer

Sort by: Most helpful
  1. MotoX80 36,291 Reputation points
    2021-09-30T19:08:54.537+00:00

    Do you periodically run disk cleanup (cleanmgr.exe) to purge temp files and Windows update logs? I would think that a better solution would be to just purge old log files.

    https://commons.lbl.gov/display/itdivision/2017/10/04/Windows+CBS+Log+File+Eating+Up+Disk+Space

    What OS are you running? Are you having problems applying patches? Run a dism test.

    Dism.exe /Online /Cleanup-Image /ScanHealth
    

    https://win10.guru/dism-whats-the-difference-between-scanhealth-and-checkhealth/

    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.