Segurança de rede: Restringir NTLM: Tráfego NTLM de entrada: valor do Registro RestrictReceivingNTLMTrafficComputadorHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0
- Categoria
- Configurações de segurança › Políticas locais › Opções de segurança
- Escopo
- Configuração do Computador
- Fonte
- Windows 11 (versão 26H2 · 26300.9457)
Registro
RestrictReceivingNTLMTraffic
REG_DWORDComputadorHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0 Chave atual
- Valor habilitado
- Depende do valor da opção
- Elemento
- Segurança de rede: Restringir NTLM: Tráfego NTLM de entrada
| Item | Valor armazenado |
|---|---|
| Permitir tudo | 0 |
| Negar todas as contas de domínio | 1 |
| Negar todas as contas | 2 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\MSV1_0] ; Opções (use apenas uma) ; Permitir tudo "RestrictReceivingNTLMTraffic"=dword:00000000 ; Negar todas as contas de domínio "RestrictReceivingNTLMTraffic"=dword:00000001 ; Negar todas as contas "RestrictReceivingNTLMTraffic"=dword:00000002
CMD
:: Opções (use apenas uma) :: Permitir tudo reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d 0 /f :: Negar todas as contas de domínio reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d 1 /f :: Negar todas as contas reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "RestrictReceivingNTLMTraffic" /t REG_DWORD /d 2 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Force | Out-Null # Opções (use apenas uma) # Permitir tudo New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictReceivingNTLMTraffic' -PropertyType DWord -Value 0 -Force | Out-Null # Negar todas as contas de domínio New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictReceivingNTLMTraffic' -PropertyType DWord -Value 1 -Force | Out-Null # Negar todas as contas New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'RestrictReceivingNTLMTraffic' -PropertyType DWord -Value 2 -Force | Out-Null