Zabezpieczenia sieci: wymagania podpisywania klienta LDAP: wartość rejestru LDAPClientIntegrityKomputerHKLM\System\CurrentControlSet\Services\LDAP

Kategoria
Ustawienia zabezpieczeń › Zasady lokalne › Opcje zabezpieczeń
Zakres
Konfiguracja komputera
Źródło
Windows 11 (wersja 26H2 · 26300.9457)

Rejestr

LDAPClientIntegrity

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Zabezpieczenia sieci: wymagania podpisywania klienta LDAP
Opcje
PozycjaZapisana wartość
Brak0
Negocjuj podpisywanie1
Podpisywanie wymagane2
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LDAP]

; Opcje (użyj tylko jednej)
; Brak
"LDAPClientIntegrity"=dword:00000000
; Negocjuj podpisywanie
"LDAPClientIntegrity"=dword:00000001
; Podpisywanie wymagane
"LDAPClientIntegrity"=dword:00000002
CMD
:: Opcje (użyj tylko jednej)

:: Brak
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientIntegrity" /t REG_DWORD /d 0 /f
:: Negocjuj podpisywanie
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientIntegrity" /t REG_DWORD /d 1 /f
:: Podpisywanie wymagane
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientIntegrity" /t REG_DWORD /d 2 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Brak
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientIntegrity' -PropertyType DWord -Value 0 -Force | Out-Null
# Negocjuj podpisywanie
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientIntegrity' -PropertyType DWord -Value 1 -Force | Out-Null
# Podpisywanie wymagane
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientIntegrity' -PropertyType DWord -Value 2 -Force | Out-Null