Serwer sieci Microsoft: próbuj uzyskać informacje o oświadczeniach przy użyciu funkcji S4U2Self: wartość rejestru EnableS4U2SelfForClaimsKomputerHKLM\System\CurrentControlSet\Services\LanManServer\Parameters

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

Rejestr

EnableS4U2SelfForClaims

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Serwer sieci Microsoft: próbuj uzyskać informacje o oświadczeniach przy użyciu funkcji S4U2Self
Opcje
PozycjaZapisana wartość
Domyślny0
Włączone1
Wyłączone2
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Domyślny
"EnableS4U2SelfForClaims"=dword:00000000
; Włączone
"EnableS4U2SelfForClaims"=dword:00000001
; Wyłączone
"EnableS4U2SelfForClaims"=dword:00000002
CMD
:: Opcje (użyj tylko jednej)

:: Domyślny
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 0 /f
:: Włączone
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 1 /f
:: Wyłączone
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 2 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Domyślny
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 0 -Force | Out-Null
# Włączone
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 1 -Force | Out-Null
# Wyłączone
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 2 -Force | Out-Null