Network security: LDAP client signing requirements: registry value LDAPClientIntegrityComputerHKLM\System\CurrentControlSet\Services\LDAP

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

Registry

LDAPClientIntegrity

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Network security: LDAP client signing requirements
Options
ItemStored value
None0
Negotiate signing1
Require signing2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LDAP]

; Options (use only one)
; None
"LDAPClientIntegrity"=dword:00000000
; Negotiate signing
"LDAPClientIntegrity"=dword:00000001
; Require signing
"LDAPClientIntegrity"=dword:00000002
CMD
:: Options (use only one)

:: None
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientIntegrity" /t REG_DWORD /d 0 /f
:: Negotiate signing
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientIntegrity" /t REG_DWORD /d 1 /f
:: Require signing
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientIntegrity" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Force | Out-Null

# Options (use only one)
# None
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientIntegrity' -PropertyType DWord -Value 0 -Force | Out-Null
# Negotiate signing
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientIntegrity' -PropertyType DWord -Value 1 -Force | Out-Null
# Require signing
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientIntegrity' -PropertyType DWord -Value 2 -Force | Out-Null