Select a product
- Select a category.
Include appointments only within working hours
By default, all appointments in a calendar are included when that calendar is shared through e-mail or by using the Office.com Sharing Service. This setting allows users to publish only appointments that are within users' working hours.
Registry Information
| Vendor | Microsoft |
|---|---|
| Product | Microsoft Outlook 2016 |
| Category | Microsoft Outlook 2016 › Outlook Options › Preferences › Calendar Options |
| Applies to | User Configuration |
| Supported on | Windows7 |
| Registry Key | [HKCU]softwarepoliciesmicrosoftoffice16.0outlookoptionspubcal |
| Value Name | showworkinghoursonly |
| Type | REG_DWORD |
| Enabled value | 1 |
| Disabled value | 0 |
Registry File (.reg)
Windows Registry Editor Version 5.00
; Enable the policy
[HKEY_CURRENT_USERsoftwarepoliciesmicrosoftoffice16.0outlookoptionspubcal]
"showworkinghoursonly"=dword:00000001
; Disable the policy
[HKEY_CURRENT_USERsoftwarepoliciesmicrosoftoffice16.0outlookoptionspubcal]
"showworkinghoursonly"=dword:00000000PowerShell
# Enable the policy
Set-ItemProperty -Path "HKCU:softwarepoliciesmicrosoftoffice16.0outlookoptionspubcal" -Name "showworkinghoursonly" -Value 1 -Type DWord
# Disable the policy
Set-ItemProperty -Path "HKCU:softwarepoliciesmicrosoftoffice16.0outlookoptionspubcal" -Name "showworkinghoursonly" -Value 0 -Type DWord