Open in the explorer

Remove Boot / Shutdown / Logon / Logoff status messages

Supprimer les messages d’état de Démarrage / Arrêt / Ouverture de session /Fermeture de session

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système
Supported on
Windows Server 2003, Windows XP, and Windows 2000 only FR: Windows Server 2003, Windows XP et Windows 2000 uniquement
ADMX file
Logon.admx
Internal name
Logon/DisableStatusMessages

Explanation

This policy setting suppresses system status messages.

If you enable this setting, the system does not display a message reminding users to wait while their system starts or shuts down, or while users log on or off.

If you disable or do not configure this policy setting, the system displays the message reminding users to wait while their system starts or shuts down, or while users log on or off.

French text from Windows 11 26H2

Ce paramètre de stratégie supprime les messages sur l’état du système.

Si vous activez ce paramètre, le système n’affiche pas de message pour rappeler aux utilisateurs qu’ils doivent attendre pendant le démarrage ou l’arrêt du système ou pendant l’ouverture ou la fermeture d’une session.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le système affiche le message qui rappelle aux utilisateurs qu’ils doivent attendre pendant le démarrage ou l’arrêt du système, ou pendant l’ouverture ou la fermeture d’une session.

Registry

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
Value name
DisableStatusMessages
StateValue written
Enablednot defined in the ADMX
Disablednot defined in the ADMX

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

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: Logon/DisableStatusMessages
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'DisableStatusMessages' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: Logon/DisableStatusMessages
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'DisableStatusMessages' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Logon/DisableStatusMessages
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System'
Remove-ItemProperty -Path $k -Name 'DisableStatusMessages' -ErrorAction SilentlyContinue

Availability