Open in the explorer

Do not automatically start Windows Messenger initially

Ne pas démarrer initialement Windows Messenger de manière automatique

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Windows Messenger FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Windows Messenger
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional FR: Au minimum Windows Server 2003 ou Windows XP Professionnel
ADMX file
WindowsMessenger.admx
Internal name
WindowsMessenger/WinMSG_NoAutoStartWindowsMsg_User

Explanation

This policy setting prevents Windows Messenger from automatically running at logon.

If you enable this policy setting, Windows Messenger is not loaded automatically when a user logs on.

If you disable or do not configure this policy setting, Windows Messenger will be loaded automatically at logon.

Note: This policy setting simply prevents Windows Messenger from running initially. If the user invokes and uses Windows Messenger from that point on, Windows Messenger will be loaded.

The user can also configure this behavior on the Preferences tab on the Tools menu in the Windows Messenger user interface.

Note: If you do not want users to use Windows Messenger, enable the "Do not allow Windows Messenger to run" policy setting.

Note: This policy setting is available under both Computer Configuration and User Configuration. If both are present, the Computer Configuration version of this policy setting takes precedence.

French text from Windows 11 26H2

Ce paramètre de stratégie empêche Windows Messenger de s’exécuter automatiquement à l’ouverture de session.

Si vous activez ce paramètre de stratégie, Windows Messenger n’est pas chargé automatiquement lors de l’ouverture de session d’un utilisateur.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, Windows Messenger est chargé automatiquement à l’ouverture de session.

Remarque : ce paramètre de stratégie empêche simplement Windows Messenger de s’exécuter initialement. Ensuite, si l’utilisateur appelle Windows Messenger pour l’utiliser, Windows Messenger sera chargé.

L’utilisateur peut également configurer ce comportement dans l’onglet Préférences du menu Outils de l’interface utilisateur de Windows Messenger.

Remarque : si vous ne voulez pas que les utilisateurs utilisent Windows Messenger, activez le paramètre de stratégie « Ne pas autoriser l’exécution de Windows Messenger ».

Remarque : ce paramètre de stratégie est disponible à la fois sous Configuration ordinateur et Configuration utilisateur. Si les deux sont présents, la version Configuration ordinateur de ce paramètre de stratégie est prioritaire.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Messenger\Client
Value name
PreventAutoRun
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: WindowsMessenger/WinMSG_NoAutoStartWindowsMsg_User
$k = 'HKCU:\Software\Policies\Microsoft\Messenger\Client'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventAutoRun' -Value 1 -Type DWord

Disable

# Disable: WindowsMessenger/WinMSG_NoAutoStartWindowsMsg_User
$k = 'HKCU:\Software\Policies\Microsoft\Messenger\Client'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventAutoRun' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsMessenger/WinMSG_NoAutoStartWindowsMsg_User
$k = 'HKCU:\Software\Policies\Microsoft\Messenger\Client'
Remove-ItemProperty -Path $k -Name 'PreventAutoRun' -ErrorAction SilentlyContinue

Availability