Domain controller: LDAP server channel binding token requirements: registry value LdapEnforceChannelBindingComputerHKLM\System\CurrentControlSet\Services\NTDS\Parameters

Category
Security Settings › Local Policies › Security Options
Scope
Computer Configuration
Source
Windows 11 (version 26H2 · 26300.9457)

Registry

LdapEnforceChannelBinding

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Domain controller: LDAP server channel binding token requirements
Options
ItemStored value
Never0
When supported1
Always2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NTDS\Parameters]

; Options (use only one)
; Never
"LdapEnforceChannelBinding"=dword:00000000
; When supported
"LdapEnforceChannelBinding"=dword:00000001
; Always
"LdapEnforceChannelBinding"=dword:00000002
CMD
:: Options (use only one)

:: Never
reg add "HKLM\System\CurrentControlSet\Services\NTDS\Parameters" /v "LdapEnforceChannelBinding" /t REG_DWORD /d 0 /f
:: When supported
reg add "HKLM\System\CurrentControlSet\Services\NTDS\Parameters" /v "LdapEnforceChannelBinding" /t REG_DWORD /d 1 /f
:: Always
reg add "HKLM\System\CurrentControlSet\Services\NTDS\Parameters" /v "LdapEnforceChannelBinding" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\NTDS\Parameters' -Force | Out-Null

# Options (use only one)
# Never
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\NTDS\Parameters' -Name 'LdapEnforceChannelBinding' -PropertyType DWord -Value 0 -Force | Out-Null
# When supported
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\NTDS\Parameters' -Name 'LdapEnforceChannelBinding' -PropertyType DWord -Value 1 -Force | Out-Null
# Always
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\NTDS\Parameters' -Name 'LdapEnforceChannelBinding' -PropertyType DWord -Value 2 -Force | Out-Null