Permitir hosts de mensagens nativas no nível do usuário (instalados sem permissão do administrador): valor do Registro NativeMessagingUserLevelHostsUsuárioHKCU\Software\Policies\Google\Chrome

ID da política
NativeMessagingUserLevelHosts
Escopo
Configuração do Computador, Configuração do Usuário
Compatível com
Microsoft Windows 7 ou versão posterior
Fonte
Google Chrome Policy Templates (versão 156.0.8078.80)
Categoria
Google › Google Chrome › Mensagens nativas

Registro

NativeMessagingUserLevelHosts

REG_DWORDUsuárioComputador
Valor habilitado
1
Valor desabilitado
0
Aplicar com .reg · CMD · PowerShell
UsuárioConfiguração por conta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Opções (use apenas uma)
; Habilitada
"NativeMessagingUserLevelHosts"=dword:00000001
; Desabilitada
"NativeMessagingUserLevelHosts"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKCU\Software\Policies\Google\Chrome" /v "NativeMessagingUserLevelHosts" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKCU\Software\Policies\Google\Chrome" /v "NativeMessagingUserLevelHosts" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'NativeMessagingUserLevelHosts' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'NativeMessagingUserLevelHosts' -PropertyType DWord -Value 0 -Force | Out-Null
ComputadorConfiguração global do computador
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Opções (use apenas uma)
; Habilitada
"NativeMessagingUserLevelHosts"=dword:00000001
; Desabilitada
"NativeMessagingUserLevelHosts"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Habilitada
reg add "HKLM\Software\Policies\Google\Chrome" /v "NativeMessagingUserLevelHosts" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKLM\Software\Policies\Google\Chrome" /v "NativeMessagingUserLevelHosts" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'NativeMessagingUserLevelHosts' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'NativeMessagingUserLevelHosts' -PropertyType DWord -Value 0 -Force | Out-Null