Citrix User Profile Manager Roaming OST & Search Index

As announced during synergy UPM will be introducing Roaming OST & Search Index , below on Citrix Synergy TV Session SYN231 (from 22:01 onwards) a demonstration of the feature.

With the release of Citrix App & Desktop 7.18 and updated UPM version also to 7.18 this is now a reality. Reviewing the What new section of profile management it contains the following:

This version includes the following new feature and addresses several issues to improve the user experience.

Native Outlook search experience

This new feature allows for a native Outlook search experience by automatically roaming Outlook search data along with the user profile. For details, see Enable native Outlook search experience.

Noticeably missing from the “Whats new” for Profile Management is Outlook OST is included in 7.18 which seems rather strange as it probably a bigger draw for people than Outlook search.

The following are the requirements/notable points:-

  • Software requirements:
    Microsoft Windows 10 1709 (64-bit edition) or Windows Server 2016
    Microsoft Outlook 2016 32-bit edition
  • Supported Microsoft Windows Search Service (SearchIndexer.exe) versions:
    7.0.1393.2125
    7.0.1393.1884
    7.0.1393.1770
    7.0.9600.18722
    7.0.14393.1884
    7.0.10240.17443
    7.0.15063.413
    7.0.16299.15
    7.0.16299.248
  • Concurrent sessions on multiple machines are not supported.
  • Outlook OST & Search Index are created per Operating System, so do not roam between HSD (Server 2016) and VDI (Windows 10)

As indicated by Carl Stalhood tweet, a patched 2016 server is not actually supported, but there appears to be private hotfix required to support the new Windows Search Service version but actually the roaming still works with this message appearing.

Installing Profile Management

Step 1: Install Profile Management 7.18 (Can be found on XenApp_and_XenDesktop_7_18.iso, under x64/ProfileManagement or will be installed with VDA 7.1 if profile management is already installed) by launching profilemgt_x64.exe and follow the default prompts.

If you have upgraded your VDA to 7.18 . UPM Component will automatically be upgraded 7.18 as well.

718_PM1

Step 2: Copy the templates to the Group Policy Policy folders

  • ctxprofile7.10.0.admx to C:\Windows\PolicyDefinition\en-US (Local) or %logonserver%\sysvol\%userdnsdomain%\policies\PolicyDefinitions\en-US for (Central GPO Store)
  • ctxprofile7.10.0.adml to C:\Windows\PolicyDefinition (Local) or %logonserver%\sysvol\%userdnsdomain%\policies\PolicyDefinitions\en (Central GPO Store)

718_PM2

Step 3: Edit Group Policy and browse to Computer Configuration\Administrative Templates\Citrix Components\Profile Management\Advanced Settings:-

Double Click “Enable Search Index Roaming for Outlook”

718_PM3

Step 4: Select “Enabled” to enable the feature, Click Ok

718_PM4

Step 5: Run Group policy update on the VDA Machine/Reboot

Step 6: Log in a normal user (in my case Ctxuser1)

Step 7: Reviewing the User Store for profile management and browsing to User’s (ctxuser1) folder

  •  “VHD” folder has been created

718_PM5

  • One Level down it categorised per Operating System, multiple will be created if using different OS (i.e Server 2016 & Windows 10)      718_PM6
  • Finally the two VHD for Outlook OST & Outlook Search Index appear in that folder

718_PM7

Step 8: Reviewing Computer Management/Disk Management confirm you see the two VHD’s attached.

718_PM9

Disk 1 – C:\users\%username%\appdata\local\microsoft\Outlook

718_PM11

Disk 2 – C:\users\%username%\appdata\roaming\citrix\search

718_PM10

Testing Roaming OST & Search Index

Step 1: Open Microsoft Outlook , Click Next to begin setup of profile

FSLOGIX-32

Step 2: Select Yes to setup Outlook e-mail account. Click Next

FSLOGIX-33

Step 3: Enter the appropriate details to setup the Office 365 account in outlook. Then click Next

  • Your Name: in my case WilkyIT
  • e-mail address: david@wilkyit.com
  • Password: password for the account.

FSLOGIX-34

Step 4: Establishing Connection, Search for the Outlook setting and logging on to the mail server will begin

FSLOGIX-35

Step 5: After successful setup, ensure “change account settings” is ticked and click Next

FSLOGIX-36

Step 6: Ensure that “Use cached exchange mode” is ticked and click Finish

FSLOGIX-37

Step 7: E-mail will begin to be downloaded into the OST file contained in %USERPROFILE%\Appdata\Local\Microsoft\Outlook. This is indicated by outlook status bar showing “updating this folder

FSLOGIX-38

Step 8: After mailbox full caching is complete , All folders are up to date will indicate this.

FSLOGIX-39

Step 9: Log off and Log into an alternative server/machine and Launch outlook. Confirm that mailbox is already populated

718_PM13

Step 10:  Open Indexing Options – Outlook -> File, Options , Search , Indexing Options and confirm Search index is not re-indexing and is already complete.

718_PM12

 has written a great article on permissions required and how the computer account is used when accessing the VHDX.

Please read this article:-

https://robertsteeghs.wordpress.com/2018/06/19/the-citrix-profile-management-could-not-mount-virtual-disk

26 comments

  1. Hello David,

    Thank you for the article. I understand that people were relying on the FSLogix containers for Outlook in the VDI environments as configuring outlook through UPM and GPO had corruption issues with big OST files.
    So will this replace the above and can be done through UPM?
    Thanks,
    Pavan

    Like

    • Yes this will help solve the outlook OST cache like fslogix although they cover additional elements of Office365 such as one drive etc. But if your looking OST then yes it will solve your issue.

      Like

  2. Hi Just downloaded UPM 7.18 and installed on a 2012R2 test machine and used the updated ADMX to configure UPM enabling the search index roaming policy setting but when creating a new Outlook profile with cached mode on the VHD folder gets created within my profile on my UPM store but the VHDs dont get created and mounted next time i log on. Does this support 2012R2 ?

    Like

  3. Well done, very nice summary, but I cannot understand the benefit of this feature. When I implement Outlook in VDI/RDSH, I disable the Cache Mode in the past. If someone is out of office an needs access to received mails when he is offline, I see the advantage, but using Citrix forces him to be online anyway and in this case I do not need the cache mode to survive. After all, why use this feature and increase complexity?

    Like

    • Hi Jean-Marc,
      This feature is relevant when Office365 is being used as cache mode is recommend due to latency between user/mailbox being increased and is reliant on internet stability. Exchange on-premise would not need the cache as it will usually be within the same data centre and very low latency.

      Many thanks,

      David Wilkinson

      Like

  4. Thanks for the blog, followed instructions and have this working for primary mailbox.. but with shared mailboxes the search index is not working? can any one confirm if this works for shared maiboxes? and if so how?

    Like

      • Apologies , i thought i had replied to the shared mailbox. You need to add an extra mailbox in Account Settings within Outlook Options. Once it is added ensure it is being cache (as by default it will be online) and another OST will be present in the LOCALAPPDATA folder where OST reside.

        Like

    • Apologies , i thought i had replied to the shared mailbox. You need to add an extra mailbox in Account Settings within Outlook Options. Once it is added ensure it is being cache (as by default it will be online) and another OST will be present in the LOCALAPPDATA folder where OST reside.

      Like

      • Thanks for that.

        So it uses the same vhdx file for all OST files? When a user logs in, it splits the vhdx file and copies them to %USERPROFILE%\Appdata\Local\Microsoft\Outlook?

        Using PVS with cache to RAM and overflow to disk, I thought I would see an increase in the cache size because it’s coping to the local C Drive, in the test environment I didn’t see any increase. Do you know why?

        Like

      • it does not copy the OST from VHDX to %USERPROFILE%\Appdata\Local\Microsoft\Outlook, this folder is redirected to VHDX using symlinks to the UPM share. This is why there is no increase in size of cache size

        Like

  5. Hey David, I’m testing and I noticed that the option to highlight search terms in the results is still greyed out. Is this meant to work now since the windows search service is installed?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.