Windows Update Event Cache Folder

Joseph Boban 1 Reputation point
2021-03-16T16:20:05.927+00:00

Hello

How the content of this folder gets cleared automatically?

C:\Windows\SoftwareDistribution\EventCache.v2\? a lot of bin files with 1KB size and few with 359 KB (every 4-10 mins apprx ,a bin file is getting created)

I see machines where in the contents does not get cleared and they stop status reporting to WSUS.

Thanks and Regards

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,704 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Teemo Tang 11,351 Reputation points
    2021-03-17T02:33:10.167+00:00

    You might want to put some timers in the following script so the commands don't overrun each other.

    net stop wuauserv
    del c:\windows\SoftwareDistribution\EventCache.v2 /q /s
    net start wuauserv
    set it as a scheduled task that runs every quarter or bi-annually.

    source:
    Windows\SoftwareDistribution Folder Cleanup Automation
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/f5744a18-d4ca-4631-8324-878b9225251d/windowssoftwaredistribution-folder-cleanup-automation?forum=winserverwsus

    -------------------------------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
    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.