Blocage NTLM amélioré : valeur de Registre EnhancedNtlmBlocks et 5 autresOrdinateurHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters

ID de stratégie
BlockNtlm
Étendue
Configuration ordinateur
Pris en charge sur
Au moins Windows 11 version 24H2
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Système › NTLM

Registre

EnhancedNtlmBlocks

REG_DWORDOrdinateur
Valeur si activée
1
Valeur si désactivée
0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Activé
"EnhancedNtlmBlocks"=dword:00000001
; Désactivé
"EnhancedNtlmBlocks"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Activé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 1 /f
:: Désactivé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 1 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 0 -Force | Out-Null

BlockDomainAccountSSO

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Bloquer NTLM pour l’authentification unique des comptes de domaine
Options
EntréeValeur stockée
Auditer1
Activé2
Désactivé0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Auditer
"BlockDomainAccountSSO"=dword:00000001
; Activé
"BlockDomainAccountSSO"=dword:00000002
; Désactivé
"BlockDomainAccountSSO"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Auditer
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 1 /f
:: Activé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 2 /f
:: Désactivé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Options (en utiliser une seule)
# Auditer
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 1 -Force | Out-Null
# Activé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 2 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 0 -Force | Out-Null

BlockDomainControllerAuth

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Bloquer NTLM pour les contrôleurs de domaine
Options
EntréeValeur stockée
Auditer1
Activé2
Désactivé0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Auditer
"BlockDomainControllerAuth"=dword:00000001
; Activé
"BlockDomainControllerAuth"=dword:00000002
; Désactivé
"BlockDomainControllerAuth"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Auditer
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 1 /f
:: Activé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 2 /f
:: Désactivé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Options (en utiliser une seule)
# Auditer
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 1 -Force | Out-Null
# Activé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 2 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 0 -Force | Out-Null

EnforceMachineBinding

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Bloquer NTLM lorsque la liaison de la machine échoue
Options
EntréeValeur stockée
Auditer1
Activé2
Désactivé0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Auditer
"EnforceMachineBinding"=dword:00000001
; Activé
"EnforceMachineBinding"=dword:00000002
; Désactivé
"EnforceMachineBinding"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Auditer
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 1 /f
:: Activé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 2 /f
:: Désactivé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Options (en utiliser une seule)
# Auditer
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 1 -Force | Out-Null
# Activé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 2 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 0 -Force | Out-Null

BlockAll

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Bloquer toute l’authentification NTLM
Options
EntréeValeur stockée
Auditer1
Activé2
Désactivé0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Auditer
"BlockAll"=dword:00000001
; Activé
"BlockAll"=dword:00000002
; Désactivé
"BlockAll"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Auditer
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 1 /f
:: Activé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 2 /f
:: Désactivé
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null

# Options (en utiliser une seule)
# Auditer
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 1 -Force | Out-Null
# Activé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 2 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 0 -Force | Out-Null

EnhancedMachineBlockingAllowList

REG_MULTI_SZOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Spécifiez la liste verte pour les stratégies de blocage améliorées :
Type de valeur
REG_MULTI_SZ
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données
; Les données hex(2) et hex(7) doivent être écrites en hexadécimal (UTF-16LE)
"EnhancedMachineBlockingAllowList"=hex(7):<saisir la valeur>
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données

reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedMachineBlockingAllowList" /t REG_MULTI_SZ /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données

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 '<saisir la valeur>' -Force | Out-Null