The Action - File Removal dialog box lets you specify files or directories to remove from the device.
Figure E-11 Action File Removal Dialog Box
You access this dialog box by using the following methods:
As part of the process of creating a Directive bundle by using the Section 2.1, Creating Directive Bundles.bundle category. For more information, see
In ZENworks Control Center, click thetab, click the underlined link of a bundle in the column of the list, click the tab, click one of the action set tabs (Install, Launch, Verify, Uninstall, Terminate, or Preboot), click the drop-down list, then select an available action.
You can use this action to perform an automated system cleanup. For example, you can specify that the c:\windows\Temp\Temporary Internet Files directory and all files matching c:\windows\Temp\*.log in are removed from the device.
You cannot remove read-only files. If you specify a directory that contains several files (including some read-only files), the directory and the read-only files are not removed when the File Removal action runs. The files that are not read-only, however, are removed from the device.
Full Path to Source Files/Directories: Specify the full path to the file or directory that you want to remove, then clickto add the file or directory to the list. You can use wildcard characters. If you use a mapped network drive to specify the path, you must select from the list.
Include System Files: Select this option to remove system files. If you specify a directory for removal that includes both system and non-system files, only non-system files are deleted, unless you specify this option.
Delete Folder Only if Empty: Select this option if you want to remove the specified folders only if they are empty.
When a File is Locked, Retry _Times, Every _Seconds: If a file is locked when the action is performed, the file cannot be removed. Select the check box and then specify the number of retry attempts and the time interval between attempts. By default, the action is retried 3 times with 5 seconds between each attempt.
Run Action As: Specify(the default) or from the list. Specify if removing files requires access to all areas of the device’s file system. If you use mapped network drives to specify files and directories, you must run the action as , else the action fails because system users do not have access to user mapped drive