Open in the explorer

Do not display 'Install Updates and Shut Down' option in Shut Down Windows dialog box

Ne pas afficher l’option « Installer les mises à jour et éteindre » dans la boîte de dialogue Arrêt de Windows

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Update › Legacy Policies User Configuration › Policies › Administrative Templates › Windows Components › Windows Update › Legacy Policies FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Update › Stratégies héritéesFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Windows Update › Stratégies héritées
Supported on
Windows 7, Windows Server 2008 R2, Windows Vista, Windows XP SP2 FR: Windows 7, Windows Server 2008 R2, Windows Vista, Windows XP SP2
ADMX file
WindowsUpdate.admx
Internal name
WindowsUpdate/AUDontShowUasPolicy

Explanation

This policy setting allows you to manage whether the 'Install Updates and Shut Down' option is displayed in the Shut Down Windows dialog box.

If you enable this policy setting, 'Install Updates and Shut Down' will not appear as a choice in the Shut Down Windows dialog box, even if updates are available for installation when the user selects the Shut Down option in the Start menu.

If you disable or do not configure this policy setting, the 'Install Updates and Shut Down' option will be available in the Shut Down Windows dialog box if updates are available when the user selects the Shut Down option in the Start menu.

French text from Windows 11 26H2

Ce paramètre de stratégie permet d’indiquer si l’option « Installer les mises à jour et éteindre » doit s’afficher dans la boîte de dialogue Arrêt de Windows.

Si vous activez ce paramètre de stratégie, l’option « Installer les mises à jour et éteindre » n’apparaîtra pas dans la boîte de dialogue Arrêt de Windows, même si des mises à jour à installer sont disponibles lorsque l’utilisateur sélectionne l’option Arrêter dans le menu Démarrer.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’option « Installer les mises à jour et éteindre » sera disponible dans la boîte de dialogue Arrêt de Windows si des mises à jour sont disponibles lorsque l’utilisateur sélectionne l’option Arrêter dans le menu Démarrer.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
Value name
NoAUShutdownOption
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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.

Computer (HKLM)

Enable

# Enable: WindowsUpdate/AUDontShowUasPolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoAUShutdownOption' -Value 1 -Type DWord

Disable

# Disable: WindowsUpdate/AUDontShowUasPolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'NoAUShutdownOption' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsUpdate/AUDontShowUasPolicy
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
Remove-ItemProperty -Path $k -Name 'NoAUShutdownOption' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability