question

JosephBoban-8202 avatar image
0 Votes"
JosephBoban-8202 asked TeemoTang-MSFT commented

Windows Update Event Cache Folder

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-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TeemoTang-MSFT avatar image
0 Votes"
TeemoTang-MSFT answered TeemoTang-MSFT commented

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.


· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Do you know hat Triggers the clearing of the contents of the EventCacheV2 folder.. is it the WindowsUpdate agent that triggers? or the WSUS server IIS or WSUS Server that triggers the clearing of the contents from EventCacheV2 on clients?

0 Votes 0 ·

Do you know what Triggers the clearing of the contents of the EventCacheV2 folder.. is it the WindowsUpdate agent that triggers? or the WSUS server IIS or WSUS Server that triggers the clearing of the contents from EventCacheV2 on clients?

0 Votes 0 ·

Sorry i don't know, if you want to do deep research on this point, i suggest to open a request ticket with Microsoft.

0 Votes 0 ·