網路安全性: LDAP 用戶端簽章要求 的登錄值 LDAPClientIntegrity電腦HKLM\System\CurrentControlSet\Services\LDAP

類別
安全性設定 › 本機原則 › 安全性選項
適用範圍
電腦設定
來源
Windows 11 (版本 26H2 · 26300.9457)

登錄

LDAPClientIntegrity

REG_DWORD電腦
啟用時的值
取決於選項值
元素
網路安全性: LDAP 用戶端簽章要求
選項
項目儲存的值
無0
交涉簽章1
要求簽章2
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LDAP]

; 選項 (只使用其中一個)
; 無
"LDAPClientIntegrity"=dword:00000000
; 交涉簽章
"LDAPClientIntegrity"=dword:00000001
; 要求簽章
"LDAPClientIntegrity"=dword:00000002
CMD
:: 選項 (只使用其中一個)

:: 無
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientIntegrity" /t REG_DWORD /d 0 /f
:: 交涉簽章
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientIntegrity" /t REG_DWORD /d 1 /f
:: 要求簽章
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientIntegrity" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Force | Out-Null

# 選項 (只使用其中一個)
# 無
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientIntegrity' -PropertyType DWord -Value 0 -Force | Out-Null
# 交涉簽章
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientIntegrity' -PropertyType DWord -Value 1 -Force | Out-Null
# 要求簽章
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientIntegrity' -PropertyType DWord -Value 2 -Force | Out-Null