Network security: LDAP client encryption requirements: registry value LDAPClientConfidentialityComputerHKLM\System\CurrentControlSet\Services\LDAP
- Category
- Security Settings › Local Policies › Security Options
- Scope
- Computer Configuration
- Source
- Windows 11 (version 26H2 · 26300.9457)
Registry
LDAPClientConfidentiality
REG_DWORDComputerHKLM\System\CurrentControlSet\Services\LDAP Current key
- Enabled value
- Depends on the option value
- Element
- Network security: LDAP client encryption requirements
| Item | Stored value |
|---|---|
| None | 0 |
| Negotiate sealing | 1 |
| Require sealing | 2 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LDAP] ; Options (use only one) ; None "LDAPClientConfidentiality"=dword:00000000 ; Negotiate sealing "LDAPClientConfidentiality"=dword:00000001 ; Require sealing "LDAPClientConfidentiality"=dword:00000002
CMD
:: Options (use only one) :: None reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientConfidentiality" /t REG_DWORD /d 0 /f :: Negotiate sealing reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientConfidentiality" /t REG_DWORD /d 1 /f :: Require sealing reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientConfidentiality" /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 'LDAPClientConfidentiality' -PropertyType DWord -Value 0 -Force | Out-Null # Negotiate sealing New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientConfidentiality' -PropertyType DWord -Value 1 -Force | Out-Null # Require sealing New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientConfidentiality' -PropertyType DWord -Value 2 -Force | Out-Null