Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2003 operating systems or Windows XP Professional
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\Messenger\Client |
|---|
| Value name | PreventRun |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to prevent Windows Messenger from running.
If you enable this policy setting, Windows Messenger does not run.
If you disable or do not configure this policy setting, Windows Messenger can be used.
Note: If you enable this policy setting, Remote Assistance also cannot use Windows Messenger.
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.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Windows Messenger > Do not allow Windows Messenger to be run
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Messenger\Client' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Messenger\Client' -Name 'PreventRun' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: WindowsMessenger.admx · policy name WinMSG_NoWindowsMsg_Comp
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2003 operating systems or Windows XP Professional
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\Software\Policies\Microsoft\Messenger\Client |
|---|
| Value name | PreventRun |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
This policy setting allows you to prevent Windows Messenger from running.
If you enable this policy setting, Windows Messenger does not run.
If you disable or do not configure this policy setting, Windows Messenger can be used.
Note: If you enable this policy setting, Remote Assistance also cannot use Windows Messenger.
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.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Windows Messenger > Do not allow Windows Messenger to be run
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Messenger\Client' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Messenger\Client' -Name 'PreventRun' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: WindowsMessenger.admx · policy name WinMSG_NoWindowsMsg_User
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2003 operating systems or Windows XP Professional
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\Messenger\Client |
|---|
| Value name | PreventAutoRun |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor 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.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Windows Messenger > Do not automatically start Windows Messenger initially
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Messenger\Client' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Messenger\Client' -Name 'PreventAutoRun' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: WindowsMessenger.admx · policy name WinMSG_NoAutoStartWindowsMsg_Comp
Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2003 operating systems or Windows XP Professional
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKCU\Software\Policies\Microsoft\Messenger\Client |
|---|
| Value name | PreventAutoRun |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor 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.
Group Policy path: User Configuration > Administrative Templates > Windows Components > Windows Messenger > Do not automatically start Windows Messenger initially
PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Messenger\Client' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Messenger\Client' -Name 'PreventAutoRun' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: WindowsMessenger.admx · policy name WinMSG_NoAutoStartWindowsMsg_User