Microsoft network server: Attempt S4U2Self to obtain claim information: registry value EnableS4U2SelfForClaimsComputerHKLM\System\CurrentControlSet\Services\LanManServer\Parameters

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

Registry

EnableS4U2SelfForClaims

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Microsoft network server: Attempt S4U2Self to obtain claim information
Options
ItemStored value
Default0
Enabled1
Disabled2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Default
"EnableS4U2SelfForClaims"=dword:00000000
; Enabled
"EnableS4U2SelfForClaims"=dword:00000001
; Disabled
"EnableS4U2SelfForClaims"=dword:00000002
CMD
:: Options (use only one)

:: Default
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 0 /f
:: Enabled
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 1 /f
:: Disabled
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "EnableS4U2SelfForClaims" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Force | Out-Null

# Options (use only one)
# Default
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 0 -Force | Out-Null
# Enabled
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabled
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'EnableS4U2SelfForClaims' -PropertyType DWord -Value 2 -Force | Out-Null