Configure the refresh interval for Server Manager
Configurer l’intervalle d’actualisation pour le Gestionnaire de serveur
Explanation
This policy setting allows you to set the refresh interval for Server Manager. Each refresh provides Server Manager with updated information about which roles and features are installed on servers that you are managing by using Server Manager. Server Manager also monitors the status of roles and features installed on managed servers.
If you enable this policy setting, Server Manager uses the refresh interval specified in the policy setting instead of the “Configure Refresh Interval” setting (in Windows Server 2008 and Windows Server 2008 R2), or the “Refresh the data shown in Server Manager every [x] [minutes/hours/days]” setting (in Windows Server 2012) that is configured in the Server Manager console.
If you disable this policy setting, Server Manager does not refresh automatically. If you do not configure this policy setting, Server Manager uses the refresh interval settings that are specified in the Server Manager console.
Note: The default refresh interval for Server Manager is two minutes in Windows Server 2008 and Windows Server 2008 R2, or 10 minutes in Windows Server 2012.
Ce paramètre de stratégie vous permet de définir l’intervalle d’actualisation pour le Gestionnaire de serveur. Chaque actualisation fournit au Gestionnaire de serveur des informations à jour sur les rôles et les fonctionnalités installés sur les serveurs que vous gérez via le Gestionnaire de serveur. Le Gestionnaire de serveur contrôle également l’état des rôles et des fonctionnalités installés sur les serveurs gérés.
Si vous activez ce paramètre de stratégie, le Gestionnaire de serveur utilise l’intervalle d’actualisation spécifié dans le paramètre de stratégie plutôt que le paramètre « Configurer l’intervalle d’actualisation » (dans Windows Server 2008 et Windows Server 2008 R2) ou le paramètre « Actualiser les données du Gestionnaire de serveur toutes les [x] [minutes/heures/jours] » (dans Windows Server 2012) qui est configuré dans la console du Gestionnaire de serveur.
Si vous désactivez ce paramètre de stratégie, le Gestionnaire de serveur ne s’actualise pas automatiquement. Si vous ne configurez pas ce paramètre de stratégie, le Gestionnaire de serveur utilise les paramètres d’intervalle d’actualisation spécifiés dans la console du Gestionnaire de serveur.
Remarque : l’intervalle d’actualisation par défaut du Gestionnaire de serveur est de deux minutes dans Windows Server 2008 et Windows Server 2008 R2 ou 10 minutes dans Windows Server 2012.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Server\ServerManager- Value name
RefreshIntervalEnabled
| 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: ServerManager/ServerManagerAutoRefreshRate
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Server\ServerManager'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RefreshIntervalEnabled' -Value 1 -Type DWord
# Minutes
Set-ItemProperty -Path $k -Name 'RefreshInterval' -Value 2 -Type DWord # between 1 and 34560Disable
# Disable: ServerManager/ServerManagerAutoRefreshRate
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Server\ServerManager'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RefreshIntervalEnabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ServerManager/ServerManagerAutoRefreshRate
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Server\ServerManager'
Remove-ItemProperty -Path $k -Name 'RefreshIntervalEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'RefreshInterval' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Minutes:Minutes :RefreshRate | Numeric boxdecimal | RefreshInterval | REG_DWORD | Required · Min: 1 · Max: 34560 · Default (UI): 2 |