Enable throttling for online mail indexing
Activer la limitation pour l’indexation de courrier en ligne
Explanation
When using Microsoft Office Outlook in online mode, you can enable this policy to control how fast online mail is indexed on a Microsoft Exchange server. The lower you set this policy, the lower the burden will be on the corresponding Microsoft Exchange server. The default value for this policy is 120 items per minute. To lower the burden on Microsoft Exchange servers, lower the rate of items indexed per minute. If you disable this policy, then online mail items will be indexed at the speed that the Microsoft Exchange server can support. If you set this policy to not configured, then online mail items will be indexed at the speed of 120 items per minute. This policy has no effect on mail items when using Microsoft Office Outlook in cached mode.
Si vous utilisez Microsoft Office Outlook en mode connexion, vous pouvez activer cette stratégie pour contrôler la vitesse d’indexation du courrier en ligne sur un serveur Microsoft Exchange. Plus la stratégie est lente, plus la limite sera basse sur le serveur Microsoft Exchange correspondant. La valeur par défaut de cette stratégie est de 120 éléments par minute. Pour réduire la limite sur les serveurs Microsoft Exchange, diminuez le taux d’indexation d’éléments par minute. Si vous désactivez cette stratégie, les éléments de courrier en ligne seront indexés à la vitesse prise en charge par le serveur Microsoft Exchange. Si vous définissez cette stratégie pour qu’elle ne soit pas configurée, les éléments de courrier en ligne sont indexés à la vitesse de 120 éléments par minute. Cette stratégie n’affecte pas les éléments de courrier lors de l’utilisation de Microsoft Office Outlook en mode mis en cache.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search- Value name
EnableThrottlingOnlineMailboxes
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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: Search/EnableThrottlingOnlineMailboxes
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableThrottlingOnlineMailboxes' -Value 1 -Type DWord
# Number of items per minute
Set-ItemProperty -Path $k -Name 'EnableThrottlingOnlineMailboxesValue' -Value 120 -Type DWord # between 6 and 600Disable
# Disable: Search/EnableThrottlingOnlineMailboxes
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableThrottlingOnlineMailboxes' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Search/EnableThrottlingOnlineMailboxes
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'EnableThrottlingOnlineMailboxes' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EnableThrottlingOnlineMailboxesValue' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Number of items per minuteNombre d’éléments par minuteLimitEnableThrottlingOnlineMailboxes | Numeric boxdecimal | EnableThrottlingOnlineMailboxesValue | REG_DWORD | Min: 6 · Max: 600 · Default (UI): 120 |