Bloqueo mejorado de NTLM: valor del Registro EnhancedNtlmBlocks y 5 másEquipoHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters

Id. de directiva
BlockNtlm
Ámbito
Configuración del equipo
Compatible con
Como mínimo Windows 11 versión 24H2
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Sistema › NTLM

Registro

EnhancedNtlmBlocks

REG_DWORDEquipo
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opciones (usar solo una)
; Habilitada
"EnhancedNtlmBlocks"=dword:00000001
; Deshabilitada
"EnhancedNtlmBlocks"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 0 -Force | Out-Null

BlockDomainAccountSSO

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Bloquear el inicio de sesión único de NTLM para cuentas de dominio
Opciones
Elemento de listaValor almacenado
Auditoría1
Habilitado2
Deshabilitado0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opciones (usar solo una)
; Auditoría
"BlockDomainAccountSSO"=dword:00000001
; Habilitado
"BlockDomainAccountSSO"=dword:00000002
; Deshabilitado
"BlockDomainAccountSSO"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Auditoría
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
:: Deshabilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Auditoría
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
# Deshabilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 0 -Force | Out-Null

BlockDomainControllerAuth

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Bloquear NTLM para controladores de dominio
Opciones
Elemento de listaValor almacenado
Auditoría1
Habilitado2
Deshabilitado0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opciones (usar solo una)
; Auditoría
"BlockDomainControllerAuth"=dword:00000001
; Habilitado
"BlockDomainControllerAuth"=dword:00000002
; Deshabilitado
"BlockDomainControllerAuth"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Auditoría
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
:: Deshabilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Auditoría
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
# Deshabilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 0 -Force | Out-Null

EnforceMachineBinding

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Bloquear NTLM cuando se produce un error en el enlace de máquina
Opciones
Elemento de listaValor almacenado
Auditoría1
Habilitado2
Deshabilitado0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opciones (usar solo una)
; Auditoría
"EnforceMachineBinding"=dword:00000001
; Habilitado
"EnforceMachineBinding"=dword:00000002
; Deshabilitado
"EnforceMachineBinding"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Auditoría
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
:: Deshabilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Auditoría
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
# Deshabilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 0 -Force | Out-Null

BlockAll

REG_DWORDEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Bloquear toda la autenticación NTLM
Opciones
Elemento de listaValor almacenado
Auditoría1
Habilitado2
Deshabilitado0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opciones (usar solo una)
; Auditoría
"BlockAll"=dword:00000001
; Habilitado
"BlockAll"=dword:00000002
; Deshabilitado
"BlockAll"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Auditoría
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
:: Deshabilitado
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Opciones (usar solo una)
# Auditoría
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
# Deshabilitado
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 0 -Force | Out-Null

EnhancedMachineBlockingAllowList

REG_MULTI_SZEquipo
Valor al habilitar
Depende del valor de la opción
Elemento
Especifique la lista de permitidos para las directivas de bloqueo mejoradas:
Tipo de valor
REG_MULTI_SZ
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos
; Los datos hex(2) y hex(7) deben escribirse en hexadecimal (UTF-16LE)
"EnhancedMachineBlockingAllowList"=hex(7):<introducir valor>
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedMachineBlockingAllowList" /t REG_MULTI_SZ /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

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 '<introducir valor>' -Force | Out-Null