Open in the explorer

Do not adjust default option to 'Install Updates and Shut Down' in Shut Down Windows dialog box

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

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Windows Update › Legacy Policies FR: 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/AUNoUasDefaultPolicy_User

Explanation

This policy setting allows you to manage whether the 'Install Updates and Shut Down' option is allowed to be the default choice in the Shut Down Windows dialog.

If you enable this policy setting, the user's last shut down choice (Hibernate, Restart, etc.) is the default option in the Shut Down Windows dialog box, regardless of whether the 'Install Updates and Shut Down' option is available in the 'What do you want the computer to do?' list.

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

Note that this policy setting has no impact if the User Configuration\Administrative Templates\Windows Components\Windows Update\Do not display 'Install Updates and Shut Down' option in Shut Down Windows dialog box policy setting is enabled.

French text from Windows 11 26H2

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

Si vous activez ce paramètre de stratégie, la dernière option d’arrêt sélectionnée par l’utilisateur (Mettre en veille prolongée, Redémarrer, etc.) est l’option par défaut de la boîte de dialogue Arrêt de Windows, même si l’option « Installer les mises à jour et éteindre » n’est pas disponible dans la liste « Que voulez-vous faire ? ».

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

Notez que ce paramètre de stratégie n’a aucun effet si le paramètre de stratégie Configuration utilisateur\Modèles d’administration\Composants Windows\Windows Update\Ne pas afficher l’option « Installer les mises à jour et éteindre » dans la boîte de dialogue Arrêt de Windows est activé.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
Value name
NoAUAsDefaultShutdownOption
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.

Enable

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

Disable

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

Revert to "Not configured"

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

Availability