> Automation > Policies > Maintenance > Clean Windows Update Folder

Clean Windows Update Folder

Quick Description This Automation Policy will erase the contents of the Windows installation cache folder in order 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. In order to delete the C:\Windows\SoftwareDistribution\Download folder, this Automation Policy will stop the wuauserv Windows Service to release the locking of the C:\Windows\SoftwareDistribution\Download folder so that it can be renamed to C:\Windows\SoftwareDistribution\Download_OLD. The wuauserv Windows Service will be started 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. Please use this Automation Policy at your own risk.

Input Parameters

No input parameters required.

Automation Policy

Outcome

This Automation Policy can be used to free disk space on a drive.