Set the policy refresh rate
Définir le taux d’actualisation de la stratégie
Explanation
This setting defines the interval, in minutes, at which the device will retry loading the policy configuration in the case that an error has occurred and the policy could not load.
Ce paramètre définit l’intervalle, en minutes, auquel l’appareil réessaiera de charger la configuration de la stratégie en cas d’erreur et si la stratégie n’a pas pu se charger.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Device Control- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: WindowsDefender/DeviceControl_PolicyRefreshFailureInterval
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set the policy refresh rate
Set-ItemProperty -Path $k -Name 'PolicyRefreshFailureInterval' -Value '<value>' -Type StringDisable
# Disable: WindowsDefender/DeviceControl_PolicyRefreshFailureInterval
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsDefender/DeviceControl_PolicyRefreshFailureInterval
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control'
Remove-ItemProperty -Path $k -Name 'PolicyRefreshFailureInterval' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Set the policy refresh rateDéfinir le taux d’actualisation de la stratégieDeviceControl_PolicyRefreshFailureInterval | Text boxtext | PolicyRefreshFailureInterval | REG_SZ |