NTLM Enhanced Blocking: registry value EnhancedNtlmBlocks and 5 moreComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters
- Policy ID
- BlockNtlm
- Scope
- Computer Configuration
- Supported on
- At least Windows 11 Version 24H2
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- System › NTLM
Registry
EnhancedNtlmBlocks
REG_DWORDComputer- Enabled value
- 1
- Disabled value
- 0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Options (use only one) ; Enabled "EnhancedNtlmBlocks"=dword:00000001 ; Disabled "EnhancedNtlmBlocks"=dword:00000000
CMD
:: Options (use only one) :: Enabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 1 /f :: Disabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedNtlmBlocks" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 1 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnhancedNtlmBlocks' -PropertyType DWord -Value 0 -Force | Out-Null
BlockDomainAccountSSO
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Block NTLM for Domain Accounts Single Sign-On
| Item | Stored value |
|---|---|
| Audit | 1 |
| Enabled | 2 |
| Disabled | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Options (use only one) ; Audit "BlockDomainAccountSSO"=dword:00000001 ; Enabled "BlockDomainAccountSSO"=dword:00000002 ; Disabled "BlockDomainAccountSSO"=dword:00000000
CMD
:: Options (use only one) :: Audit reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 1 /f :: Enabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 2 /f :: Disabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainAccountSSO" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Options (use only one) # Audit New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 1 -Force | Out-Null # Enabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 2 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainAccountSSO' -PropertyType DWord -Value 0 -Force | Out-Null
BlockDomainControllerAuth
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Block NTLM for Domain Controllers
| Item | Stored value |
|---|---|
| Audit | 1 |
| Enabled | 2 |
| Disabled | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Options (use only one) ; Audit "BlockDomainControllerAuth"=dword:00000001 ; Enabled "BlockDomainControllerAuth"=dword:00000002 ; Disabled "BlockDomainControllerAuth"=dword:00000000
CMD
:: Options (use only one) :: Audit reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 1 /f :: Enabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 2 /f :: Disabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockDomainControllerAuth" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Options (use only one) # Audit New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 1 -Force | Out-Null # Enabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 2 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockDomainControllerAuth' -PropertyType DWord -Value 0 -Force | Out-Null
EnforceMachineBinding
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Block NTLM when Machine binding fails
| Item | Stored value |
|---|---|
| Audit | 1 |
| Enabled | 2 |
| Disabled | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Options (use only one) ; Audit "EnforceMachineBinding"=dword:00000001 ; Enabled "EnforceMachineBinding"=dword:00000002 ; Disabled "EnforceMachineBinding"=dword:00000000
CMD
:: Options (use only one) :: Audit reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 1 /f :: Enabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 2 /f :: Disabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnforceMachineBinding" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Options (use only one) # Audit New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 1 -Force | Out-Null # Enabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 2 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'EnforceMachineBinding' -PropertyType DWord -Value 0 -Force | Out-Null
BlockAll
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Block all NTLM authentication
| Item | Stored value |
|---|---|
| Audit | 1 |
| Enabled | 2 |
| Disabled | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Options (use only one) ; Audit "BlockAll"=dword:00000001 ; Enabled "BlockAll"=dword:00000002 ; Disabled "BlockAll"=dword:00000000
CMD
:: Options (use only one) :: Audit reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 1 /f :: Enabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 2 /f :: Disabled reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "BlockAll" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Force | Out-Null # Options (use only one) # Audit New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 1 -Force | Out-Null # Enabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 2 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters' -Name 'BlockAll' -PropertyType DWord -Value 0 -Force | Out-Null
EnhancedMachineBlockingAllowList
REG_MULTI_SZComputer- Enabled value
- Depends on the option value
- Element
- Specify the allow list for enhanced blocking policies:
- Value type
- REG_MULTI_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters] ; Value names and types follow the ADMX. Replace <enter value> below with your own data ; hex(2) and hex(7) data must be written as hexadecimal (UTF-16LE) "EnhancedMachineBlockingAllowList"=hex(7):<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\NTLM\Parameters" /v "EnhancedMachineBlockingAllowList" /t REG_MULTI_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data 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 '<enter value>' -Force | Out-Null