Clean Windows Update Folder

Quick Description This Automation Policy erases the contents of the Windows installation cache folder to make more storage space available on the target drive.
Applies To N-central 9.5.x
Last Revised April 10, 2014

Overview

When the common Disk Cleanup process does not free enough disk space on a drive, deleting the C:\Windows\SoftwareDistribution\Download folder which contains the setup files of downloaded Windows updates can free additional disk space. To delete the C:\Windows\SoftwareDistribution\Download folder, this Automation Policy stops the wuauserv Windows Service to release the locking of the C:\Windows\SoftwareDistribution\Download folder so to rename it to C:\Windows\SoftwareDistribution\Download_OLD. The wuauserv Windows Service starts which creates the C:\Windows\SoftwareDistribution\Download folder on the device and C:\Windows\SoftwareDistribution\Download_OLD will only be deleted if the C:\Windows\SoftwareDistribution\Download folder has been successfully recreated on the device.

Deleting the setup files of Windows Updates contained within the C:\Windows\SoftwareDistribution\Download can prevent you from rolling back updates on the device.

Input parameters

There are no input parameters required.

Automation policy

Outcome

The policy frees up disk space on a drive.