Seguridad de red: restringir NTLM: autenticación NTLM en este dominio: valor del Registro RestrictNTLMInDomainEquipoHKLM\System\CurrentControlSet\Services\Netlogon\Parameters
- Categoría
- Configuración de seguridad › Directivas locales › Opciones de seguridad
- Ámbito
- Configuración del equipo
- Origen
- Windows 11 (versión 26H2 · 26300.9457)
Registro
RestrictNTLMInDomain
REG_DWORDEquipo- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Seguridad de red: restringir NTLM: autenticación NTLM en este dominio
| Elemento de lista | Valor almacenado |
|---|---|
| Deshabilitar | 0 |
| Denegar para cuentas de dominio en servidores de dominio | 1 |
| Denegar para cuentas de dominio | 3 |
| Denegar para servidores de dominio | 5 |
| Denegar todo | 7 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters] ; Opciones (usar solo una) ; Deshabilitar "RestrictNTLMInDomain"=dword:00000000 ; Denegar para cuentas de dominio en servidores de dominio "RestrictNTLMInDomain"=dword:00000001 ; Denegar para cuentas de dominio "RestrictNTLMInDomain"=dword:00000003 ; Denegar para servidores de dominio "RestrictNTLMInDomain"=dword:00000005 ; Denegar todo "RestrictNTLMInDomain"=dword:00000007
CMD
:: Opciones (usar solo una) :: Deshabilitar reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 0 /f :: Denegar para cuentas de dominio en servidores de dominio reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 1 /f :: Denegar para cuentas de dominio reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 3 /f :: Denegar para servidores de dominio reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 5 /f :: Denegar todo reg add "HKLM\System\CurrentControlSet\Services\Netlogon\Parameters" /v "RestrictNTLMInDomain" /t REG_DWORD /d 7 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Force | Out-Null # Opciones (usar solo una) # Deshabilitar New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 0 -Force | Out-Null # Denegar para cuentas de dominio en servidores de dominio New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 1 -Force | Out-Null # Denegar para cuentas de dominio New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 3 -Force | Out-Null # Denegar para servidores de dominio New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 5 -Force | Out-Null # Denegar todo New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\Netlogon\Parameters' -Name 'RestrictNTLMInDomain' -PropertyType DWord -Value 7 -Force | Out-Null