Não permitir a execução do Windows Messenger: valor do Registro PreventRun (HKLM Client)ComputadorHKLM\Software\Policies\Microsoft\Messenger\Client
- ID da política
- WinMSG_NoWindowsMsg_Comp
- Escopo
- Configuração do Computador
- Compatível com
- Sistemas operacionais Windows Server 2003 e Windows XP Professional ou posterior
- Fonte
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
- Categoria
- Componentes do Windows › Windows Messenger
Registro
PreventRun
REG_DWORDComputador- Valor habilitado
- 1
- Valor desabilitado
- 0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Messenger\Client] ; Opções (use apenas uma) ; Habilitada "PreventRun"=dword:00000001 ; Desabilitada "PreventRun"=dword:00000000
CMD
:: Opções (use apenas uma) :: Habilitada reg add "HKLM\Software\Policies\Microsoft\Messenger\Client" /v "PreventRun" /t REG_DWORD /d 1 /f :: Desabilitada reg add "HKLM\Software\Policies\Microsoft\Messenger\Client" /v "PreventRun" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Messenger\Client' -Force | Out-Null # Opções (use apenas uma) # Habilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Messenger\Client' -Name 'PreventRun' -PropertyType DWord -Value 1 -Force | Out-Null # Desabilitada New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Messenger\Client' -Name 'PreventRun' -PropertyType DWord -Value 0 -Force | Out-Null