Forum Discussion
SamirAbdouCloud
Jan 22, 2021Copper Contributor
How to cache ALL emails in Outlook in Session Host.
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 se...
- Jan 23, 2021
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.
Ronald van Ackooij
Sep 10, 2021Brass Contributor
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.
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.
Micro90
Mar 30, 2022Copper Contributor
which reg keys did you change? I am having this issue as well
- heroviperJan 01, 2023Copper ContributorThere are two ways to solve this.
For existing user
Change registry value at
HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\outlook\cached mode\
Find value syncwindowsetting
Change it to the value you want by referring to this document (You need to change based on decimal to make it work, and the user must have administrator permission to be able to change)
https://support.microsoft.com/en-us/topic/update-allows-administrators-to-set-additional-default-mail-and-calendar-synchronization-windows-for-new-exchange-accounts-in-outlook-2016-f56b88ff-0f5f-71c3-f75c-ab30d8ffee79
For new user, make sure you have following registry value created before you setup a new user with new outlook profile.
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\office\16.0\outlook\
Create key outlook
and underneath it
Create key cached mode
And create DWORD value (Decimal)
The value input just references the document I mentioned above
Hopefully this helps.