Saturday, May 2, 2009

Windows Update: Limit WindowsUpdate.log size

UPDATE on Mar 9, 2015:

The logfile is supposed to be maintained by the WUAgent. It's a rotating log file and should auto-rotate approximately every 30 days or at 2MB size [so NO automatic truncation needed?]
(from How to empty or reduce the size of the Windows Update Log?)


No solution found yet!

Workaround:
Create file named, for example, startup.cmd containing these commands:
net stop wuauserv
del %windir%\WindowsUpdate.log
net start wuauserv

Assign that file as Machine (computer) startup script using gpedit.msc (local) or Group Policy Management (domain)

No comments:

Post a Comment