Control Calendar Sharing: registry value payloadcalendardetailspolicyUserHKCU\software\policies\microsoft\office\16.0\outlook\options\calendar

Policy ID
L_ControlCalendarSharing
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Outlook 2016 › Outlook Options › Preferences › Calendar Options

Registry

payloadcalendardetailspolicy

REG_DWORDUser
Enabled value
Depends on the option value
Element
Control Calendar Sharing
Options
ItemStored value
Prevent Calendar Sharing32768
Allow calendar sharing with 'Availability Only' detail level16384
Allow calendar sharing with 'Availability Only' and 'Limited Details' detail level8192
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\calendar]

; Options (use only one)
; Prevent Calendar Sharing
"payloadcalendardetailspolicy"=dword:00008000
; Allow calendar sharing with 'Availability Only' detail level
"payloadcalendardetailspolicy"=dword:00004000
; Allow calendar sharing with 'Availability Only' and 'Limited Details' detail level
"payloadcalendardetailspolicy"=dword:00002000
CMD
:: Options (use only one)

:: Prevent Calendar Sharing
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "payloadcalendardetailspolicy" /t REG_DWORD /d 32768 /f
:: Allow calendar sharing with 'Availability Only' detail level
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "payloadcalendardetailspolicy" /t REG_DWORD /d 16384 /f
:: Allow calendar sharing with 'Availability Only' and 'Limited Details' detail level
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\calendar" /v "payloadcalendardetailspolicy" /t REG_DWORD /d 8192 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Force | Out-Null

# Options (use only one)
# Prevent Calendar Sharing
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'payloadcalendardetailspolicy' -PropertyType DWord -Value 32768 -Force | Out-Null
# Allow calendar sharing with 'Availability Only' detail level
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'payloadcalendardetailspolicy' -PropertyType DWord -Value 16384 -Force | Out-Null
# Allow calendar sharing with 'Availability Only' and 'Limited Details' detail level
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\calendar' -Name 'payloadcalendardetailspolicy' -PropertyType DWord -Value 8192 -Force | Out-Null