Open in the explorer

Turn off calls during Quiet Hours

Désactiver les appels durant les Heures creuses

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Start Menu and Taskbar › Notifications FR: Configuration utilisateur › Stratégies › Modèles d'administration › Menu Démarrer et barre des tâches › Notifications
Supported on
Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1 only FR: Windows Server 2012 R2, Windows 8.1 ou Windows RT 8.1 uniquement
ADMX file
WPN.admx
Internal name
WPN/NoCallsDuringQuietHours

Explanation

This policy setting blocks voice and video calls during Quiet Hours.

If you enable this policy setting, voice and video calls will be blocked during the designated Quiet Hours time window each day, and users will not be able to customize any other Quiet Hours settings.

If you disable this policy setting, voice and video calls will be allowed during Quiet Hours, and users will not be able to customize this or any other Quiet Hours settings.

If you do not configure this policy setting, voice and video calls will be allowed during Quiet Hours by default. Adminstrators and users will be able to modify this setting.

French text from Windows 11 26H2

Ce paramètre de stratégie bloque les appels vocaux et vidéo durant les Heures creuses.

Si vous l’activez, les appels vocaux et vidéo sont bloqués durant la fenêtre Heures creuses désignée chaque jour et les utilisateurs ne peuvent pas personnaliser d’autres paramètres d’Heures creuses.

Si vous le désactivez, les appels vocaux et vidéo sont autorisés durant les Heures creuses et les utilisateurs ne peuvent pas personnaliser ce paramètre, ni aucun autre paramètre d’Heures creuses.

Si vous ne configurez pas ce paramètre de stratégie, les appels vocaux et vidéo sont autorisés par défaut durant les Heures creuses. Les administrateurs et utilisateurs peuvent modifier ce paramètre.

Registry

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\QuietHours
Value name
AllowCalls
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: WPN/NoCallsDuringQuietHours
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\QuietHours'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowCalls' -Value 0 -Type DWord

Disable

# Disable: WPN/NoCallsDuringQuietHours
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\QuietHours'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowCalls' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WPN/NoCallsDuringQuietHours
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\QuietHours'
Remove-ItemProperty -Path $k -Name 'AllowCalls' -ErrorAction SilentlyContinue

Availability