Segurança de Rede: Restringir NTLM: Autenticação NTLM neste domínio: valor do Registro RestrictNTLMInDomainComputadorHKLM\System\CurrentControlSet\Services\Netlogon\Parameters
- 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
RestrictNTLMInDomain
REG_DWORDComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- Segurança de Rede: Restringir NTLM: Autenticação NTLM neste domínio
| Item | Valor armazenado |
|---|---|
| Desabilitar | 0 |
| Negar todas as contas de domínio para servidores do domínio | 1 |
| Negar para todas as contas de domínio | 3 |
| Negar para servidores do domínio | 5 |
| Negar todos | 7 |
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters] ; Opções (use apenas uma) ; Desabilitar "RestrictNTLMInDomain"=dword:00000000 ; Negar todas as contas de domínio para servidores do domínio "RestrictNTLMInDomain"=dword:00000001 ; Negar para todas as contas de domínio "RestrictNTLMInDomain"=dword:00000003 ; Negar para servidores do domínio "RestrictNTLMInDomain"=dword:00000005 ; Negar todos "RestrictNTLMInDomain"=dword:00000007
CMD
:: Opções (use apenas uma) :: Desabilitar reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 0 /f :: Negar todas as contas de domínio para servidores do domínio reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 1 /f :: Negar para todas as contas de domínio reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 3 /f :: Negar para servidores do domínio reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 5 /f :: Negar todos reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 7 /f
PowerShell
# Comum: criar a chave New-Item -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Force | Out-Null # Opções (use apenas uma) # Desabilitar New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 0 -Force | Out-Null # Negar todas as contas de domínio para servidores do domínio New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 1 -Force | Out-Null # Negar para todas as contas de domínio New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 3 -Force | Out-Null # Negar para servidores do domínio New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 5 -Force | Out-Null # Negar todos New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 7 -Force | Out-Null