Supprime les notifications de redémarrage
Suppresses reboot notifications
Explication
Ce paramètre de stratégie permet à l'utilisateur de supprimer les notifications de redémarrage en mode IU uniquement (lorsque l'IU ne peut pas être en mode de verrouillage).
Si vous activez ce paramètre, l'interface utilisateur du logiciel anti-programme malveillant n'affiche pas les notifications de redémarrage.
This policy setting allows user to supress reboot notifications in UI only mode (for cases where UI can't be in lockdown mode).
If you enable this setting AM UI won't show reboot notifications.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\UX Configuration- Nom de la valeur
SuppressRebootNotification
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : WindowsDefender/UX_Configuration_SuppressRebootNotification
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SuppressRebootNotification' -Value 1 -Type DWordDésactiver
# Désactiver : WindowsDefender/UX_Configuration_SuppressRebootNotification
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SuppressRebootNotification' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : WindowsDefender/UX_Configuration_SuppressRebootNotification
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\UX Configuration'
Remove-ItemProperty -Path $k -Name 'SuppressRebootNotification' -ErrorAction SilentlyContinue