Profile Management

Automatic backup and restore of Outlook search index database

Profile Management provides a solution to ensure the stability of the Enable search index roaming for Outlook feature. It does so by automatically saving a backup of the last known good copy of the search index database and then reverting to the copy in case of corruption. As a result, you no longer need to manually reindex the database when it becomes corrupted.

This feature is disabled by default. To use it, you must enable search index roaming for Outlook first. For more information about search index roaming for Outlook, see Enable native Outlook search experience.

After enabling search index roaming for Outlook, complete the following steps to enable this feature:

  1. Open the Group Policy Management Editor.
  2. Under Policies > Administrative Templates: Policy definitions (ADM) > Classic Administrative Templates (ADM) > Citrix > Profile Management > Advanced settings, double-click the Outlook search index database – backup and restore policy.
  3. Select Enabled and then click OK.

For your changes to take effect, run the gpupdate /force command from the command prompt. Log off from all sessions and then log on again. For more information, see https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/gpupdate.

You can also choose to configure the Profile Management policies in Citrix Studio. To do so, complete the following steps:

  1. In the left pane of Citrix Studio, click Policies.
  2. In the Create Policy window, type the policy in the search box. For example, type “Outlook search index database – backup and restore.”
  3. Click Select to open the Outlook search index database – backup and restore policy.
  4. Select Enabled and then click OK.

How it works

If this feature is enabled, Profile Management saves a backup of the search index database each time the database is mounted successfully on logon. Profile Management deletes the previously saved backup after a new backup is saved successfully. Profile Management treats the backup as the good copy of the search index database. When an attempt to mount the search index database fails, Profile Management automatically reverts the search index database to the last known good copy.

Important:

  • Profile Management does not save a backup of the search index database after the policy takes effect the first time the search index database is created.
  • Profile Management deletes the previously saved backup after a new backup is saved successfully. The backup consumes more of the available storage space of the VHDX files.
Automatic backup and restore of Outlook search index database