Do not automatically start Windows Messenger initially
Ne pas démarrer initialement Windows Messenger de manière automatique
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.
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_LOCAL_MACHINE\Software\Policies\Microsoft\Messenger\Client- Value name
PreventAutoRun
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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_Comp
$k = 'HKLM:\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 DWordDisable
# Disable: WindowsMessenger/WinMSG_NoAutoStartWindowsMsg_Comp
$k = 'HKLM:\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 DWordRevert to "Not configured"
# Revert to "Not configured": WindowsMessenger/WinMSG_NoAutoStartWindowsMsg_Comp
$k = 'HKLM:\Software\Policies\Microsoft\Messenger\Client'
Remove-ItemProperty -Path $k -Name 'PreventAutoRun' -ErrorAction SilentlyContinue