SOLVED

How to cache ALL emails in Outlook in Session Host.

Occasional Contributor

Hey

 

Recently I deployed WVD for a client and costumers are calling and telling me they only see emails since 1months back.

 

I did a quick google search and found that, I can change the sync settings in regedit.

Computer\HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\outlook\cached mode

I changed all values from 1 to 12. (all this is made on session host)

 

But users still cant sync more than 1months of emails.

 

I tired logging in with my own O365 account in the admin profile and it sync ALL mails.

 

How do update the settings on my users?

7 Replies
You should also post your question to outlook forum, You may get better response from there.
Even though it's regarding RDS/WVD? i want the setting to apply to all my users
Even though it's regarding RDS/WVD? i want the setting to apply to all my users
best response confirmed by ZureliaSE (Occasional Contributor)
Solution

@ZureliaSE 

 

HKEY_CURRENT_USER hive is only for your current profile, so it wont change it for everyone.

Outlook profile settings are per user. So you will have a better luck with a GPO with the corresponding Office suite ADMX set.

Are you sure the group policy approach works? See https://techcommunity.microsoft.com/t5/windows-virtual-desktop/outlook-cached-modus-fixed/m-p/991795.... The group policy isn't working for me either.
I was struggling with this as well. The default Azure Image with M365 Apps configures the recommended registry settings as mentioned in: https://docs.microsoft.com/en-us/azure/virtual-desktop/install-office-on-wvd-master-image.

I have tried setting the syncwindowsetting to 0 with GPO and then Apply my own GPO settings for caching in Outlook for 1 year. But that still didn't work. It just changed the cache to ALL (so if that is what you are looking for ;), but not recommended).
Changing my GPO for the registry value to "DELETE" worked. This deleted the registry value and with this my Office GPO kicked in and Outlook cache for new and existing profiles is not set to 1 year.
which reg keys did you change? I am having this issue as well