You can add or edit a policy rule or a rule exception in a policy. A rule defines directories or files that are not protected, and a rule exception defines entities within the scope of the rule that are protected.

When you formulate policy rules, you can use macros to assist specification of various Horizon Mirage directory paths addressed by the rules. For example, macros allow Horizon Mirage and the administrator to handle cases when some endpoints have Windows in c:\windows and some in d:\windows. Using macros and environment variables makes sure Horizon Mirage backups important files regardless of their specific location. For information about the macro specifications, see the VMware Horizon Mirage Administrator's Guide.


In the Horizon Mirage Web Manager, click the Policies tab, and select the required upload policy.


Click Edit.


Click Add next to the required Rule or Rule Exception area.


Type the directory path or select it from the drop-down menu.


Do not type a backslash (\) at the end of the path.


Specify a filter for this directory or a pattern for matching files under this directory.

For example, to add a rule not to protect Windows search index files for all the users on the desktop, add the following rule:

%anyuserprofile%\Application Data\Microsoft\Search\*

Click Save & Close.