Forum Discussion
Exchange Outlook Cache mode
Hi ladies and gents,
We have a requirement to set Outlook cache mode set to download 3 months of emails.
The environment consists of Exchange Online, Intune and M365 and the devices are cloud native Win 11.
Could you please advise the best way to achieve this. GPO is not an option, and Intune does not have a policy for this.
1 Reply
- Walid_91Copper Contributor
Hello ER2025,
You can achieve this with a script powershell deployed via Intune, you just need to change a registry key and this will set the cache mode to 3 months, here is the step to do it:
Here is the path and the key that needs to be modified or created if needed :
Registry Key to Set Cached Mode to 3 Months
Path: HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\Cached Mode
Key: SyncWindowSettingDays
Type: DWORD
Value: 90 (for 3 months)
Here is the Powershell script:
New-Item -Path "HKCU:\Software\Policies\Microsoft\Office\16.0\Outlook\Cached Mode" -Force
Set-ItemProperty -Path "HKCU:\Software\Policies\Microsoft\Office\16.0\Outlook\Cached Mode" -Name "SyncWindowSettingDays" -Value 90 -Type DWordMake sure first to test before deploying to everyone.
Good luck,
Walid