Specify a path and file name to delete when a trigger
and/or condition is satisfied. For example, this condition could be used
to delete a file containing sensitive information, when any user without
Administrator rights logs on.
Select the
Policy
Configuration
navigation button.
Select a node or condition.
In the Actions ribbon,
select
File & Folder
>
Delete File
.
The Delete File dialog displays showing the Select File tab.
Click
Add
.
In the Source
field, click the ellipsis (
...
) and navigate to the file you want to delete.
If required, select
the
Force delete
checkbox.
ignores the Read-only attribute enabling the file to be deleted.
If this option is not selected, read-only files are not deleted.
Select the
Condition
tab.
Select
Use file conditions
.
The condition options in the dialog become active.
In the Property drop-down, select
Last Modified Time
.
In the When drop-down, select
Is Older Than
.
The Date/Time boxes become inactive.
In the Days spinbox, enter a time period in whole days, in this case 365.
You can enter between 1 - 999 days. You cannot enter fractions of days.
Click
OK
.
The action is added to the selected node.
Save the configuration.
and Folder actions