Set the Azure AD refresh rate
Définir la fréquence d’actualisation Azure AD
Explanation
This setting defines the interval, in minutes, at which the device will query Azure AD to update related settings, configuration, and group memberships.
Ce paramètre définit l’intervalle, en minutes, auquel l’appareil interrogera Azure AD pour mettre à jour les paramètres, la configuration et les appartenances aux groupes associés.
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_AzureAdRefreshInterval
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set the Azure AD refresh rate
Set-ItemProperty -Path $k -Name 'AzureAdRefreshInterval' -Value '<value>' -Type StringDisable
# Disable: WindowsDefender/DeviceControl_AzureAdRefreshInterval
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsDefender/DeviceControl_AzureAdRefreshInterval
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Device Control'
Remove-ItemProperty -Path $k -Name 'AzureAdRefreshInterval' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Set the Azure AD refresh rateDéfinir la fréquence d’actualisation Azure ADDeviceControl_AzureAdRefreshInterval | Text boxtext | AzureAdRefreshInterval | REG_SZ |