Bloqueio Aprimorado de NTLM: valor do Registro EnhancedNtlmBlocks e mais 5ComputadorHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters

ID da política
BlockNtlm
Escopo
Configuração do Computador
Compatível com
Pelo menos Windows 11 Versão 24H2
Fonte
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versão 1.0)
Categoria
Sistema › NTLM

Registro

EnhancedNtlmBlocks

REG_DWORDComputador
Valor habilitado
1
Valor desabilitado
0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters]

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

:: Habilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 1 /f
:: Desabilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 1 -Force | Out-Null
# Desabilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 0 -Force | Out-Null

BlockDomainAccountSSO

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Bloquear NTLM para Logon Único de Contas de Domínio
Opções
ItemValor armazenado
Auditoria1
Habilitado2
Desabilitado0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters]

; Opções (use apenas uma)
; Auditoria
"BlockDomainAccountSSO"=dword:00000001
; Habilitado
"BlockDomainAccountSSO"=dword:00000002
; Desabilitado
"BlockDomainAccountSSO"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Auditoria
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 1 /f
:: Habilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 2 /f
:: Desabilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Auditoria
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 1 -Force | Out-Null
# Habilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 2 -Force | Out-Null
# Desabilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 0 -Force | Out-Null

BlockDomainControllerAuth

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Bloquear NTLM para Controladores de Domínio
Opções
ItemValor armazenado
Auditoria1
Habilitado2
Desabilitado0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters]

; Opções (use apenas uma)
; Auditoria
"BlockDomainControllerAuth"=dword:00000001
; Habilitado
"BlockDomainControllerAuth"=dword:00000002
; Desabilitado
"BlockDomainControllerAuth"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Auditoria
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 1 /f
:: Habilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 2 /f
:: Desabilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Auditoria
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 1 -Force | Out-Null
# Habilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 2 -Force | Out-Null
# Desabilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 0 -Force | Out-Null

EnforceMachineBinding

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Bloquear NTLM quando a associação do Computador falhar
Opções
ItemValor armazenado
Auditoria1
Habilitado2
Desabilitado0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters]

; Opções (use apenas uma)
; Auditoria
"EnforceMachineBinding"=dword:00000001
; Habilitado
"EnforceMachineBinding"=dword:00000002
; Desabilitado
"EnforceMachineBinding"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Auditoria
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 1 /f
:: Habilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 2 /f
:: Desabilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Auditoria
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 1 -Force | Out-Null
# Habilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 2 -Force | Out-Null
# Desabilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 0 -Force | Out-Null

BlockAll

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Bloquear toda a autenticação NTLM
Opções
ItemValor armazenado
Auditoria1
Habilitado2
Desabilitado0
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters]

; Opções (use apenas uma)
; Auditoria
"BlockAll"=dword:00000001
; Habilitado
"BlockAll"=dword:00000002
; Desabilitado
"BlockAll"=dword:00000000
CMD
:: Opções (use apenas uma)

:: Auditoria
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 1 /f
:: Habilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 2 /f
:: Desabilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 0 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opções (use apenas uma)
# Auditoria
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 1 -Force | Out-Null
# Habilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 2 -Force | Out-Null
# Desabilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 0 -Force | Out-Null

EnhancedMachineBlockingAllowList

REG_MULTI_SZComputador
Valor habilitado
Depende do valor da opção
Elemento
Especifique a lista de permissões para políticas de bloqueio aprimoradas:
Tipo de valor
REG_MULTI_SZ
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters]

; Nomes e tipos de valor seguem o ADMX. Substitua <inserir valor> abaixo pelos seus próprios dados
; Dados hex(2) e hex(7) devem ser escritos em hexadecimal (UTF-16LE)
"EnhancedMachineBlockingAllowList"=hex(7):<inserir valor>
CMD
:: Nomes e tipos de valor seguem o ADMX. Substitua <inserir valor> abaixo pelos seus próprios dados

reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedMachineBlockingAllowList" /t REG_MULTI_SZ /d "<inserir valor>" /f
PowerShell
# Nomes e tipos de valor seguem o ADMX. Substitua <inserir valor> abaixo pelos seus próprios dados

New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedMachineBlockingAllowList' -PropertyType MultiString -Value '<inserir valor>' -Force | Out-Null